v1
latestOpenAPI 3.0.32026-07-264469137.7 KBPayments
Retrieve a payment
Retrieve a single payment by its charge ID, with the full object: amount, status, the customer, fees, the products paid for, refunds, and status history.
get/v1/payments/{payment_id}
Path parameters
payment_idstring required
Charge ID of the payment.
Response
Success - Payment retrieved
Example response
{
"reference": "order_9876",
"payment_id": "pay_1a2b3c4d5e",
"billing_reason": "purchase",
"checkout_id": "chk_6f7g8h9i0j",
"status": "succeeded",
"is_refundable": true,
"amount": "10.00",
"amount_paid": "10.00",
"amount_remaining": "0.00",
"currency": "USD",
"fee_usd": "0.59",
"merchant_bears_cost": true,
"payment_method": "card",
"channel": "checkout",
"narration": "Pro plan",
"meta": {
"order_id": "ORD-9876"
},
"message": "Successful",
"line_items": [
{
"product_id": "prod_abc123",
"product_name": "Premium Plan",
"quantity": 1,
"unit_amount": "50.00",
"currency": "USD",
"line_total": "50.00"
}
],
"invoice": {
"invoice_id": "inv_9a8b7c6d5e",
"number": "inv_9a8b7c6d5e",
"subscription_id": "sub_1a2b3c4d5e",
"period_start": "2026-04-01T00:00:00Z",
"period_end": "2026-05-01T00:00:00Z",
"kind": "cycle"
},
"refunds": [
"ref_1a2b3c4d5e"
],
"status_history": [
{
"status": "succeeded",
"occurred_at": "2026-01-24T14:35:00.000Z",
"provider_reference": "TXN_ABC123"
}
],
"created_at": "2026-04-27T12:00:00Z",
"updated_at": "2026-04-27T12:00:05Z",
"completed_at": "2026-04-27T12:00:05Z"
}