6. Payment Status

API to get the status of a payment

API Endpoint

Production Base URL /api/GenToken/GetStatus

Sample Request & Response

{
    "merchantCode":"xxxxx",
    "authKey":"xxxxx",
    "ReferenceID":"(15 digit number passing during the payment creation)"

}

Response Explanation

If errorCode is not "0" then check errorMessage for more details.

If errorCode is "0" then only check for Result object.

Response Parameters

Parameters
Datatype
Description

referenceID

String

15 digit unique transaction number

amount

decimal

Amount of transaction

tranDate

Integer

Date of the transaction(DDMMYY)

result

string

Shows the result of the transaction (CANCELED or CAPTURED)

isRefunded

Bool(nulable)

True if refunded

Sample code to post data

Last updated

Was this helpful?