notifyByReturn

API Explorer
loading...
POST

Create external transaction notifying via standard return redirection.

Header Parameters

token*string

Authentication token generated using the API Key and Secret Key. Required for all API requests.

Request Body

application/json

Response Body

application/json

curl -X POST "https://example.com" \  -H "token: string" \  -H "Content-Type: application/json" \  -d '{    "merchantAuthentication": {      "merchantId": "",      "transactionReferenceId": ""    },    "transactionRequest": {      "transactionType": 1,      "amount": "",      "calculateFee": false,      "tipsInputPrompt": false,      "calculateTax": false,      "expiry": 1,      "tipAmount": "",      "feeAmount": "",      "feeLabel": "",      "lTaxAmount": "",      "lTaxLabel": "",      "gTaxAmount": "",      "gTaxLabel": "",      "txReferenceTag1": {        "tagLabel": "",        "tagValue": "",        "isTagMandate": false      },      "txReferenceTag2": {        "tagLabel": "",        "tagValue": "",        "isTagMandate": false      },      "txReferenceTag3": {        "tagLabel": "",        "tagValue": "",        "isTagMandate": false      }    },    "notificationOption": {      "failureUrl": "",      "returnUrl": "",      "notifyByRedirect": true,      "cancelUrl": ""    },    "preferences": {      "integrationType": 1,      "avsVerification": false,      "eReceipt": false,      "eReceiptInputPrompt": false,      "customerName": "",      "customerEmail": "",      "customerMobile": "",      "sendPaymentLink": false,      "requestCardToken": false,      "shortenURL": false,      "integrationVersion": ""    },    "personalization": {      "merchantName": "",      "logoUrl": "",      "themeColor": "",      "description": "",      "payNowButtonText": "",      "buttonColor": "",      "cancelButtonText": "",      "disclaimer": ""    }  }'
{
  "message": "URL generated successfully",
  "information": ""
}