A Payment Transaction is an attempt to pay the installments of any of the services offered by Zafepay, Single Payments, Subscriptions and Payment Plans.
{
"id": 10250,
"amount": 5500,
"installments": [
{
"id": "6444c8d6-7109-4812-8181-9f73b99ca4aa",
"amount": 5500,
"currency": "CLP",
"due_date": "2023-07-29",
"payment_date": "2023-07-29 10:00:00 UTC",
"status": "paid"
}
],
"payment_date": "2023-07-29 10:00:00 UTC",
"payment_method": "Webpay",
"status": "accepted"
}
Attributes
The attributes available to a Payment Transaction object are:
Name | Type | Description |
---|---|---|
id | string | Payment Transaction unique identifier. |
amount | number | Total amount of the Payment Transaction. |
payment_date | datetime | Date where the payment transaction was made. |
payment_method | string | The payment method with which the Payment Transaction was made. |
status | string | The status of the payment transaction. A Payment Transaction can have the following statuses: - accepted - rejected - reversed - pending_approval |
installments | array of json | A list with all the installments paid in the Payment Transaction. |