v14
latestOpenAPI 3.1.02026-08-083813925.4 MBPayments
Retrieve payment status
Retrieves how far a payment has got and what the buyer must do next, if anything. A payment is collected in the background, so poll this rather than reading the create response. Accepts either a secret key or the payment's own client_secret, so the surface collecting the payment can poll it directly.
get/payments/{payment_id}/status
Path parameters
payment_idstring required
The unique identifier of the payment.
Response
Payment status retrieved
Example response
{
"last_payment_error": {
"decline_code": "insufficient_funds"
},
"next_action": {
"type": "redirect"
},
"status": "requires_confirmation"
}