v1
latestOpenAPI 3.0.02026-07-26167441.9 MBAI Caller
Copy of Declined Payment Calls
post/smart-support/external/payments/recover
Request body
Example request
{
"settings": {
"contact_details": {
"channel": "WHATSAPP_MESSAGE",
"initial_template_message": {
"id": "HX8e7ac569f40a064c71a37e5d672bb9123",
"variables": {
"name": "Maria",
"amount": "$10.0000"
}
},
"pdf_template": {
"variables": {
"seller_name": "RAPPI",
"merchant_order_id": "MX_Verification_50708779"
}
},
"payment_methods": {
"available": [
"MERCADO_PAGO",
"NEQUI",
"CREDIT_CARD"
]
}
}
},
"additional_information": {
"seller_details": {
"name": "RAPPI",
"fallback_instructions": "Go to the application and click on the top right corner to contact a customer support agent.",
"redirection_url": "www.test.com/purchase"
},
"payment": {
"account_id": "e4c03f29-b0f6-403a-8814-9aee1a88d60e",
"id": "f1fbad16-93c1-4335-b735-2b01ec94ea9e",
"merchant_order_id": "ORDER-12345",
"country": "US",
"description": "Online store purchase",
"created_at": "2022-05-09T20:46:54.786342Z",
"declined_reason": "insufficient funds",
"payment_method": {
"type": "Credit Card",
"detail": {
"card_data": {
"expiration_month": 12,
"expiration_year": 2030,
"iin": "411111",
"lfd": "1234",
"issuer": "CHASE",
"type": "CREDIT"
}
}
},
"amount": {
"value": 149.99,
"currency": "USD"
},
"customer_payer": {
"first_name": "John",
"last_name": "Doe",
"phone": {
"country_code": "1",
"number": "5551234567"
}
}
}
}
}Response
Success
Example response
{
"id": "7c3a9c6e-9bf0-4c2c-9f67-752b16ba5dd5",
"message": "Communication processed successfully"
}