POST
/
paymentInquiry

Query Parameters

apiKey
string
required

The API Key of your account.

data
object
required
Key
string

Refers to the invoice number or payment ID based on the key type

Samples: 3308076 or 100325710000064334.

KeyType
string
required

The key type should be either InvoiceId or PaymentId.

test
boolean

Set this property to true to send the request to the development environment.

Response properties

IsSuccess
boolean
required

The response status.

Message
string
required

The description of the response status.

ValidationErrors
array|null
required

List of validation errors (if any).

Data
object
required
InvoiceId
integer
required

A unique integer value of the invoice.

InvoiceStatus
string
required

A string value indicates the invoice status.

Expected values: Pending, Paid, or Canceled.

InvoiceReference
string
required

Invoice reference that is generated by DashPay system.

CustomerReference
string
required

The customer reference data associated with the invoice.

CreatedDate
string
required

The creation date of the invoice.

ExpiryDate
string
required

The expiry date for the invoice.

InvoiceValue
string
required

Invoice total value with the actual base account currency.

Comments
string
required

Comments that are associated with the invoice.

CustomerName
string
required

The customer name that was save along with the invoice.

CustomerMobile
string
required

Customer mobile number.

CustomerEmail
string
required

Customer email address.

UserDefinedField
string
required

The user defined filed that was stored during the invoice creation.

InvoiceDisplayValue
string
required

Invoice value that is displayed in case of different currency from the base one.

DueDeposit
number
required

The amount that will be deposited to the vendor account.

DepositStatus
string
required

The deposit status of the invoice, if it is Deposited or Not Deposited.

InvoiceItems
array
required

Invoice items as stored in the invoice creation.

Error Codes

Here’s a list of possible error codes of this endpoint.

CodeDescription
1Missing or invalid api key
2Key is a required parameter.
3KeyType is a required parameter.
4Key is invalid.
5Unknown error.