Enter your API token
Only required when performing a partial refund. For a full refund, this object can be omitted.
Amount to refund in the smallest currency unit.
x >= 112997
OK
Unique identifier for the payment generated by the system.
"pay_1234567890abcdef"
Reference passed in by the merchant for correlation.
"ORDER-12345"
Amount processed in the smallest currency unit.
12997
ISO 4217 currency code used in the payment.
"USD"
Current state of the payment.
PENDING, AUTHORIZED, CAPTURED, REFUNDED, VOIDED, FAILED "CAPTURED"
The chosen payment method details (e.g., card). Sensitive fields are masked in responses.
Determines how the payment is processed. Default: false → Authorization only (funds reserved, must capture later). If true → Sale (authorize and capture in one step).
true
Text shown on the customer's bank statement (e.g., merchant or product name).
"MyStore Online"
Type of goods being purchased: PHYSICAL = tangible items, DIGITAL = non-physical items, MIXED = combination of both.
PHYSICAL, DIGITAL, MIXED "MIXED"
List of product or service items included in this payment.
[
{
"id": "PROD-001",
"name": "Wireless Keyboard",
"quantity": 2,
"unitPrice": 4999,
"goodsType": "PHYSICAL"
},
{
"id": "PROD-002",
"name": "E-Book Subscription",
"quantity": 1,
"unitPrice": 2999,
"goodsType": "DIGITAL"
}
]Consumer details such as name, email, phone.
Billing address information.
Shipping address and recipient details.
Timestamp when the payment was created.
"2024-01-15T10:30:00Z"
Timestamp when the payment was last updated.
"2024-01-15T11:00:00Z"