Run in Apidog
Asynchronous
Request Types# This endpoint supports asynchronous requests. 💡 Important:# Before making a payment request, you must perform a lookup to retrieve the exact amount owed. This operator does not accept partial payments; the payment must match the total outstanding amount. Request Body Params application/json
{
"destination" : "+584126449434" ,
"amount" : 364.67 ,
"hash" : "2deb110b57bfac9d72c14d4ed9621146" ,
"useWebhook" : true ,
"webhookUrl" : "https://yourdomain.com/webhook"
} Request Code Samples
curl --location --request POST '/digitel/pay' \
--header 'x-api-key: {{apiKey}}' \
--header 'x-api-secret: {{apiSecret}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"destination": "+584126449434",
"amount": 364.67,
"hash": "2deb110b57bfac9d72c14d4ed9621146",
"useWebhook": true,
"webhookUrl": "https://yourdomain.com/webhook"
}' Responses application/json Generate Code
{
"success" : true ,
"message" : "OK" ,
"data" : {
"destination" : "167747625" ,
"amount" : 3215.22 ,
"hash" : "2deb110b57bfac9d72c14d4ed9621200" ,
"transactionId" : "69b4cea596cdad8fe99a7be0e53610c0" ,
"operator" : "DIGITEL POSTPAID" ,
"operatorReference" : null ,
"status" : "PENDING" ,
"useWebhook" : true ,
"webhookUrl" : "https://yourdomain.com/webhook"
}
} Modified at 2025-02-11 14:41:50