id | string | Unique identifier for the Payment Intent |
object | string | Identifier for the type of object. Its value for Payment Intents will always correspond to payment_intent |
amount | integer | Amount to pay, represented as an integer. This value must always be greater than 0 |
currency | string | Currency ISO code. For now, we only support CLP and MXN. |
widget_token | string | Temporary token to configure the widget. This attribute is only returned when creating the Payment Intent. After that, it will always be null |
status | string | Payment status. Can be either created, in_progress, succeeded, failed, pending, expired or rejected |
recipient_account | object | Object that points to the recipient account. Take a look at the Recipient Acccount object table below to learn more. If you use Fintoc Collects for payments, omit this object during payment creation for better stability. |
sender_account | object | Object that points to the sender account. Take a look at the Sender Acccount object table below to learn more.When you receive final payment status notifications, sender_account may be null if the user abandoned the payment before specifying a sender account. |
reference_id | string | Operation number from the bank of the sender account.When you receive final payment status notifications, reference_id may be null if a payment takes longer than usual to be confirmed by the bank or if the user abandoned the payment before returning an operation number. |
transaction_date | string | Date of authorization for the transaction given by the bank, using ISO 8601When you receive final payment status notifications, transaction_date may be null if the user abandoned the payment before transferring. |
metadata | hash | Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.If you create a payment without providing metadata, this field will be null when receiving notifications about the final status. |
error_reason | string | Error code explaining reason for payment intent failure if available. See Payment Intent Error Reason for a list of error reasons. |
mode | string | Indicates whether the Payment Intent is in live mode or in test mode. |
created_at | string | Payment Intent's creation date, using ISO 8601 |
customer_email | string | A customer email linked to a Payment Intent. This is used to notify a user in case of a refund. If you plan on using the refunds product, you must include this field in your requestIf you create a payment without providing a customer_email, this field will be null in the response and no emails will be sent for that Payment Intent. |