A transaction represents a completed or attempted payment through a payment page. Includes payment details, customer information, and custom field responses.
Unique identifier for the transaction
"pt_9N2a38DJQWPL8K4X"
ID of the payment page used for this transaction
"pp_EVT9283NAKSD8234SKJD"
Status of a payment transaction
succeeded, failed "succeeded"
The amount to be charged in the smallest currency unit. For example, 20.00 ZAR is represented as 2000 cents. Learn more about minor units.
1000
The ISO 4217 currency code for the payment.
"ZAR"
Customer information collected on the Payment Page. This is omitted if requires_customer_details is set to false.
Customer responses to custom fields if provided.
{
"session_choice": "Morning (8AM–12PM)",
"dietary_restrictions": "Vegan",
"referral_code": "FITWELL100"
}Internal payment object linked to the transaction
"p_xyz789abc123def456"
List of purchased products in this transaction
[
{
"product_id": "product_123123",
"product_name": "sample product",
"qty": 123,
"price": 1123,
"currency": "ZAR",
"description": "testing product desc"
}
]ID of the checkout session that processed this transaction
"chk_456789abc123def"
Delivery/shipping address provided by the customer Customer delivery/shipping address
{
"line1": "123 Main Street",
"line2": "Apt 4B",
"city": "Cape Town",
"state": "Western Cape",
"country": "ZA",
"pin": "8001"
}Custom key-value metadata for reconciliation
{ "event_id": "wellness_nairobi_2025" }ISO timestamp of when the transaction was initiated
"2025-06-18T08:45:00Z"
ISO timestamp of the last status update
"2025-06-18T08:45:10Z"

