Object Structure
JSON
Parameters
Payment Attempt
| Parameter | Type | Description |
|---|---|---|
| id | string | The Tazapay ID of the payment attempt. |
| object | string | The object type, which is “payment_attempt”. |
| created_at | string (ISO Date) | The date and time when the payment attempt was created. |
| amount | number | The amount attempted to be paid in the charge currency. |
| balance_transaction | string | The balance transaction id associated with the payment attempt. |
| customer | string | The unique Tazapay customer id. |
| customer_details | object | Customer Details. |
| reference_id | string | Reference id attached to the payment attempt. |
| charge_currency | string | The currency in which the payment was attempted (e.g., SGD). |
| payin | string | The reference to the payin object related to the checkout transaction. |
| payment_method_details | string | The payment method details used in this attempt |
| refunded | boolean | Indicates whether the payment attempt has been refunded. |
| status | string | The status of the payment attempt (e.g., succeeded, failed). |
| status_description | string | A description providing more information about the payment attempt status |
| final_currency | string | The final currency after the payment is converted, if applicable (e.g., USD). |
| fx_transaction | object | Details about the foreign exchange transaction, if any. Check FX transaction object |
| metadata | json | Additional key value pairs related to the payment attempt (optional). |
