Payment confirmation
Once the user has completed the payment process, ProntoPaga will return the data to the URL you specified in the urlConfirmation
info
To check if a transaction was successful, you must confirm that the status 'success', you can check all the statuses at the following link Payment Status.Payment Status
Payment confirmation response
{
"uid": [string] // Transaction identifier
"status": [string] // Transaction status
"amount": [integer] // Transaction amount
"method": [string] // Payment method used
"reference": [string] // Transaction reference
"clientEmail": [string] // Client's email address
"clientDocument": [string] // Client's DNI number
"order": [string] // Payment identifier to associate
"currency": [string] // ISO currency code
"country": [string] // International country format
"method_type": [string] // Method type
"method_detail": [string] // Method detail
"hash": [string] // Security hash parameter
"sing": [string] // Signature of the parameters
}
Response options v1 or v2
Response body v1
{
"request":{
"method":"POST",
"path":"https:\/\/insobuilder.com\/kaizen\/index.php\/Demo\/webhook",
"body":{
"uid":"01GQFHSDF34FF2YTM3ZGXY6T",
"status":"success",
"amount":1000,
"method":"Paga con tu banco",
"reference":"16744849447944",
"remitterEmail":"[email protected]",
"remitterRut":"11.111.111-1",
"order":"3000001",
"currency":"CLP",
"hash":"c81ffcd43ref4f43f23f53f2d360362"
}
},
"response":{
"code":200,
"body":""
},
"date":"2023-01-23 11:45:45"
}
Response body v2
{
"request":{
"method":"POST",
"path":"http:\/\/prontopagacl.com\/api\/public\/Notification\/DepositNotify",
"body":{
"uid":"01H3EWHPEV34V4VF238JKN4D5",
"status":"success",
"amount":21000,
"method":"WebPay",
"reference":"16873481073701",
"clientEmail":"[email protected]",
"clientDocument":"1111111-1",
"order":"3002342517",
"currency":"CLP",
"country":"CL",
"method_type":"TDD",
"method_detail":"6623 VD",
"hash":"25aGF34G34H3HG34H45521",
"note":null,
"sign":"d40e7e1682v2332g23g3gss8b2727871c77eee624e9205146a72cd7f8d9"
}
},
"response":{
"code":200,
"body":""
},
"date":"2023-06-21 07:49:20"
}