Create a payment intent
Creates a payment intent in the live or test mode of the API key used. A payment intent represents your intention of collecting a payment from a customer, in CLP for Chilean organizations or MXN for Mexican organizations. The response includes a widget_token, only returned on creation, used to initialize the Fintoc widget so the customer can complete the payment.
Cuerpo
Rules for dividing the payment between entities. Available for organizations with splits enabled. Provide 1 to 10 entries. All entries must use the same type, and each entity_id can appear only once. When Fintoc deducts processing fees from your payouts, at least one entry must pay the processing fee. When Fintoc invoices you for processing fees, no entry can pay the fee. For flat splits, amounts must add up to amount. For percentage splits, amounts must add up to 10000 basis points (100%).
Show child attributes
Show child attributes
Respuesta
Payment intent created. The widget_token is only returned in this response.
Options specific to the payment type. For card payments, the object contains a card object. For cash payments, the object contains a cash object with the reference_number, barcode_url, voucher_url, and notification_preferences of the payment. For bank transfers, the object is empty.
Show child attributes
Show child attributes
{}
Status of the payment intent. One of created (the customer has not started the payment), in_progress (the customer is paying), succeeded (the money reached the recipient account), rejected (the institution rejected the transfer), failed (the payment could not be completed), expired (the payment intent expired before being paid), or pending (the final status is not yet known; only used if your organization has the pending status enabled).
created, failed, succeeded, rejected, in_progress, pending, expired "succeeded"
¿Esta página le ayudó?