Callback URL - API Credit Card
3 min
About Callback URL - API Credit Card
Callback URL is a parameter used to return to the Merchant page after the payment process occurs by the Customer. Callback URL is mandatory to fill by Merchant so Merchant could get status information from every transaction that the Merchant submits to the NICEPAY.
The Callback URL format as described in the Payment - API Credit Card is as follows:
Parameter | Type | Size | Description | Example/Notes |
|---|---|---|---|---|
callBackUrl Required | ANS | 255 | Payment Result URL | https://merchant.com/callBackUrl |
Sample JSON Callback - API URL Credit Card
Here's an example of the request body for Callback URL Credit Card :
{
"resultCd":"0000",
"resultMsg":"SUCCESS",
"tXid":"IONPAYTEST01202212141112221428",
"referenceNo":"",
"payMethod":"01",
"amt":"10000",
"transDt":"20221212",
"transTm":"121212",
"description":"Testing Credit Card Transaction",
"authNo":"080623",
"issuBankCd":"OTHR"
"acquBankCd":"BMRI",
"cardNo":"453211*****1111",
"goodsNm":"Test Transaction Nicepay"
"billingNm":"John Doe",
"currency":"IDR",
"timeStamp":"20221212121212",
"merchantToken":"2035d2295d9578fffb40137186f0203474142ae3e57992d4847826c5fcaffce6",
"cardExpYymm":"2712",
"instmntMon":"1",
"instmntType":"1",
"ccTransType":"1"
}