Retrieve payment details
Documentation Index
Fetch the complete documentation index at: https://docs.zafapay.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication using access token
Transaction ID
"tx_abc123"
Success
Transaction ID
"tx_abc123"
Payment request ID
"req_xyz789"
Status
pending, requires_action, authorized, completed, failed, canceled, partially_refunded, refunded "completed"
Payment amount (string format)
"17.62"
Currency code
"usd"
Capture method
"automatic"
Merchant's order ID
"order_12345"
Payment method
"card"
Refunded amount (string format)
"0"
Original amount before currency exchange
null
Original currency before exchange
null
Exchange rate applied
null
Card brand
"visa"
Last 4 digits of card number
"4242"
Cardholder name
"John Doe"
Card expiration month (1-12)
12
Card expiration year
2028
Card issuing country (ISO 3166-1 alpha-2)
"US"
Card funding type (credit, debit, prepaid)
"credit"
Saved card ID (pmi_xxx format)
null
True for recurring payments
false
Customer ID
null
Customer email address
"customer@example.com"
Customer phone number
null
Product name
null
Unified error code for failed payments (e.g., card_declined, insufficient_funds, expired_card)
null
Refund history
Metadata
Created at
"2024-01-15T10:30:00.000Z"
Updated at
"2024-01-15T10:31:00.000Z"