notifybysms

API Explorer
loading...
POST

Create external transaction notifying via SMS.

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": "139322815010",      "transactionReferenceId": "TXNId00111223334571666"    },    "transactionRequest": {      "transactionType": 1,      "amount": "1500",      "calculateFee": false,      "tipsInputPrompt": false,      "calculateTax": false,      "expiry": 1,      "tipAmount": "",      "feeAmount": "",      "feeLabel": ""    },    "notificationOption": {      "notifyBySMS": true,      "mobileNumber": ""    },    "preferences": {      "integrationType": 1,      "avsVerification": false,      "eReceipt": false,      "eReceiptInputPrompt": false,      "customerName": "",      "customerEmail": "",      "customerMobile": "",      "sendPaymentLink": false,      "requestCardToken": false    },    "personalization": {      "merchantName": "",      "logoUrl": "",      "themeColor": "",      "description": "",      "payNowButtonText": "",      "buttonColor": "",      "cancelButtonText": "",      "disclaimer": ""    }  }'
{
  "message": "URL generated successfully",
  "information": ""
}