We will also send you a notification when the payment confirmation message has been delivered successfully or if it fails, along with any customer replies. This will provide you with improved control and visibility into the payment process.
{
"payment":{
"id":"99a337b3-3a7d-4e0b-b5ea-7098b562d4dd",
"status":"pending",
"currency":"COP",
"amount":"180000",
"external_id":"814",
"phone": "+573155555555",
"title":"Renta PAZCNTPDG0 mes mayo",
"description":"PAZCNTPDG0",
"document_link":"https://s3.us-east-2.amazonaws.com/invoices/8b4995be-1c01-47f6-8ee2-d0d60022f746",
"allow_credit":true,
"allow_debit":true,
"created_at":"2023-07-13T15:42:12.000000Z",
"paid_at":null,
"deletable":false,
"amount_label":"$180.000",
"payment_link":"https://wa.me/+573000000000?text=Pagar ref: 99a337b3-3a7d-4e0b-b5ea-7098b562d4dd",
"message_status": "delivered",
"customer":{
"first_name":"Jhon",
"last_name":"Due",
"email": "[email protected]",
"phone":"+573000000000"
}
},
"event":{
"type":"payment.message.delivered",
"timestamp":1689262934
},
"message": {
"direction": "outbound",
"to": "+573000000000",
"event": "sent|replied|delivered|failed|read",
"pressed": "pay_now|pay_latter|report_problem"
}
}
Payment Statuses
payment.message.delivered
payment.message.failed
payment.message.replied
Message event types
sent
replied
delivered
failed
read
Passed button
It only appears when message status is replied
the possible variations can be
pay_now
pay_latter
report_problem