Object Structure
JSON
Object Parameters
Payin
| Field | Subfield | Type | Description |
|---|---|---|---|
| amount | number | The total amount of the payin transaction. | |
| amount_paid | number | The amount that has already been paid. | |
| billing_details | object | The billing information for the transaction. | |
| address | object | The address associated with the billing details. Address Object | |
| label | string | A label for the billing address (e.g., Home, Office). | |
| name | string | The name associated with the billing details. | |
| phone | object | The phone details associated with the billing address. (See Phone Table). | |
| cancel_url | string | The URL to redirect the user to if the transaction is canceled. | |
| cancelled_at | string(ISO timestamp) | The timestamp when the transaction was canceled, if applicable. | |
| client_token | string | The client token associated with the payin. | |
| confirm | boolean | Indicates if the transaction is confirmed. | |
| created_at | string (ISO timestamp) | The timestamp when the transaction was created. | |
| customer | string | The unique identifier for the customer. | |
| customer_details | object | The customer details related to the transaction. | |
| country | string | The country of the customer. | |
| string | The email address of the customer. | ||
| name | string | The name of the customer. | |
| phone | object | The phone details of the customer. Phone Object. | |
| holding_currency | string | The holding currency used for the transaction (e.g., INR). | |
| id | string | The unique Tazapay identifier for the payin transaction. | |
| invoice_currency | string | The invoice currency for the transaction. | |
| items | array | The list of items related to the transaction. | |
| latest_payment_attempt | string | The Tazapay ID of the latest payment attempt. | |
| latest_payment_attempt_data | object/null | Data related to the latest payment attempt, if available. | |
| metadata | object | Set of key-value pairs attached to the transaction. | |
| object | string | The type of object, which is “payin”. | |
| paid_in_excess | boolean | Indicates if the payment was made in excess. | |
| partially_paid | boolean | Indicates if the payment was partially paid. | |
| payment_attempts | array | The list of payment attempts for this transaction. | |
| payment_method_details | object | The details of the payment method used. | |
| paynow_sgd | object | Details of the paynow_sgd payment method | |
| type | string | The type of payment method used (e.g., paynow_sgd). | |
| reference_id | string | The reference ID for the transaction. | |
| shipping_details | object | Shipping information for the transaction. | |
| address | object | The address associated with the shipping details. Address object | |
| label | string | A label for the shipping address (e.g., Home, Office). | |
| name | string | The name associated with the shipping details. | |
| phone | object | The phone details associated with the shipping address. Phone Object | |
| statement_descriptor | string | The descriptor to appear on the customer’s statement. | |
| status | string | The current status of the transaction (e.g., requires_payment_method). | |
| status_description | string | A description of the transaction status, if available. | |
| success_url | string | The URL to redirect the user to upon a successful transaction. | |
| transaction_data | array | Additional data related to the transaction. | |
| transaction_description | string | A description of the transaction. | |
| transaction_documents | array | List of transaction-related documents. | |
| webhook_url | string | The URL for webhook notifications related to this transaction. |
