Run in Apidog
It sends a request to the IPN webhook url set via the panel, as in the example. This method is only for sending requests to your server. You must implement your own logic. The status of the transaction can be: 'created', 'pending', 'partial', 'completed', 'failed', 'cancelled'
Request Body Params application/json
{
"transactionId" : "8b8778ac-be6c-48bb-b9aa-c17731486969" ,
"merchantId" : "8b8778ac-be6c-48bb-b9aa-c17731486969" ,
"productName" : "Product Name" ,
"productCount" : 2 ,
"productPrice" : 10 ,
"productCurrency" : "USD" ,
"productTotal" : 20 ,
"totalAmountAsCoin" : "0.0002" ,
"buyerEmail" : "buyer@nullpay.net" ,
"paidAmountAsCoin" : "0.0001" ,
"estimatedPaidAmount" : "10" ,
"estimatedPaidAmountFiat" : "100" ,
"orderCreatedAt" : "2024-07-09 10:43:20.043550 +00:00" ,
"custom" : "Custom Data" ,
"status" : "partial"
}
Request samples curl --location --request POST 'https://api.nullpay.net/' \
--header 'Content-Type: application/json' \
--data-raw '{
"transactionId": "8b8778ac-be6c-48bb-b9aa-c17731486969",
"merchantId": "8b8778ac-be6c-48bb-b9aa-c17731486969",
"productName": "Product Name",
"productCount": 2,
"productPrice": 10,
"productCurrency": "USD",
"productTotal": 20,
"totalAmountAsCoin": "0.0002",
"buyerEmail": "buyer@nullpay.net",
"paidAmountAsCoin": "0.0001",
"estimatedPaidAmount": "10",
"estimatedPaidAmountFiat": "100",
"orderCreatedAt": "2024-07-09 10:43:20.043550 +00:00",
"custom": "Custom Data",
"status": "partial"
}'
Responses application/json Generate Code
Modified at 2024-07-19 09:39:03