{
"id": "pay_xxxxxxxxxxxxxx",
"status": "draft",
"created_at": "2023-12-01T05:00:00.401Z",
"paid_at": "2023-12-01T05:00:00.401Z",
"currency": "usd",
"total": 6.9,
"failure_message": "<string>"
}A payment represents a completed or attempted charge. Payments track the amount, status, currency, and payment method used.
The unique identifier for the payment.
"pay_xxxxxxxxxxxxxx"
The current lifecycle state of this payment (e.g., 'draft', 'open', 'paid', 'void').
draft, open, paid, pending, uncollectible, unresolved, void The datetime the payment was created.
"2023-12-01T05:00:00.401Z"
The time at which this payment was successfully collected. Null if the payment has not yet succeeded. As a Unix timestamp.
"2023-12-01T05:00:00.401Z"
The three-letter ISO currency code for this payment (e.g., 'usd', 'eur').
usd, sgd, inr, aud, brl, cad, dkk, eur, nok, gbp, sek, chf, hkd, huf, jpy, mxn, myr, pln, czk, nzd, aed, eth, ape, cop, ron, thb, bgn, idr, dop, php, try, krw, twd, vnd, pkr, clp, uyu, ars, zar, dzd, tnd, mad, kes, kwd, jod, all, xcd, amd, bsd, bhd, bob, bam, khr, crc, xof, egp, etb, gmd, ghs, gtq, gyd, ils, jmd, mop, mga, mur, mdl, mnt, nad, ngn, mkd, omr, pyg, pen, qar, rwf, sar, rsd, lkr, tzs, ttd, uzs, rub, btc, cny, usdt The total to show to the creator (excluding buyer fees).
6.9
If the payment failed, the reason for the failure.
Was this page helpful?