6, Payment Status

API to get the status of a payment

API Endpoints

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

RefrenceId

Long

15-digit unique transaction number

Amount

decimal

Amount of transaction

tranDate

Integer

date of the transaction in (DDMMYY)

result

string

show the result of the transaction (CANCELED or CAPTURED)

isRefunded

bool(nullable)

true if refunded

Sample Code to post data

Last updated