v1
latestOpenAPI 3.1.02026-07-228956435.8 KBPayment intents
Get a payment intent
Retrieves the payment intent with the given id. The payment intent must belong to your organization and match the live or test mode of the API key used. Available for organizations on API version 2026-02-01 or later.
get/payment_intents/{id}
Path parameters
idstring required
Unique identifier of the payment intent to retrieve.
Response
The payment intent with the given id.
Example response
{
"id": "pi_BO381oEATXonG6bj",
"amount": 100000,
"created_at": "2021-10-15T15:23:11.474Z",
"currency": "CLP",
"customer_email": "jon.snow@example.com",
"error_reason": "insufficient_funds",
"metadata": {
"order_id": "9182"
},
"mode": "live",
"payment_method": "pm_1x7vKQ8oEATXonG6",
"payment_type": "bank_transfer",
"payment_type_options": {},
"recipient_account": {
"holder_id": "111111111",
"institution_id": "cl_banco_de_chile",
"number": "123456789",
"type": "checking_account"
},
"reference_id": "90123712",
"sender_account": {
"holder_id": "111111111",
"institution_id": "cl_banco_estado",
"number": "123456789",
"type": "checking_account"
},
"status": "succeeded",
"subscription": "sub_dJOd4hcZby9XK1Lm",
"transaction_date": "2021-10-15T15:24:15.474Z",
"widget_token": "pi_BO381oEATXonG6bj_sec_aBcDeFgHiJkLmNoP"
}