Payment object is used to represent a Payment from a Payment Page.
A transaction represents a completed or attempted payment through a payment page. Includes payment details, customer information, and custom field responses.
Was this page helpful?
{ "id": "pt_9N2a38DJQWPL8K4X", "payment_page_id": "pp_EVT9283NAKSD8234SKJD", "status": "succeeded", "amount": 1000, "currency": "ZAR", "customer": { "name": "John Smith", "email": "john@example.com", "phone": "+1234567890" }, "custom_fields": { "session_choice": "Morning (8AM–12PM)", "dietary_restrictions": "Vegan", "referral_code": "FITWELL100" }, "payment_id": "p_xyz789abc123def456", "checkout_session_id": "chk_456789abc123def", "metadata": { "event_id": "wellness_nairobi_2025" }, "created_at": "2025-06-18T08:45:00Z", "updated_at": "2025-06-18T08:45:10Z" }