Skip to main content
POST
Verify payment

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

paymentId
string
required

This represents the payment ID. You can retrieve it from the paymentId field in the initiate payment response, or from the redirect URL after the customer completes payment.

Body

application/json
transactionId
string

This represents the transaction ID. It is an optional field and it is mainly used by gateways that return a provider transaction ID.

Example:

123456789

Response

Success

status
boolean
Example:

true

statusCode
integer
Example:

200

message
string
Example:

"Payment already succeeded"

data
object