v1
latestOpenAPI 3.1.02026-07-228956435.8 KBCreate a payment intent
Creates a payment intent that charges a previously saved payment method, in the live or test mode of the API key used. Unlike POST /v1/payment_intents, which starts a customer-present flow completed through the Fintoc widget, this endpoint charges the payment_method directly, with no customer interaction and no widget token. This endpoint does not accept v1-only parameters such as recipient_account, customer_email, payment_type, or expires_at. The charge starts in the created status; Fintoc processes the charge asynchronously, so subscribe to webhooks to track the charge's progress. Available for organizations on API version 2026-02-01 or later.
Request body
Example request
{
"amount": 5000,
"currency": "CLP",
"payment_method": "pm_2bArifJWQ6CiZSofWxBNL1Hri2u",
"metadata": {
"order_id": "12345"
}
}Response
Payment intent created. The charge starts in the created status; Fintoc processes the charge asynchronously.
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"
}