Retrieve a Payment
Returns a payment
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
The ID of the Payment, which will look like pay_*************
Response
The ID of the payment, which will look like pay_*************
The ID of the membership, which will look like mem_*************
The ID of the product, which will look like prod_*************
The ID of the user, which will look like user_*************
The ID of the plan, which will look like plan_*************
The ID of the company, which will look like biz_*************
The line item this receipt was purchased with. This is for in-app purchases.
The time at which the Payment was created. Measured in seconds since the Unix epoch. Does not necessarily reflect the time the Payment was successful.
The time at which the Payment was successful. Measured in seconds since the Unix epoch.
The time at which the Payment was refunded. Measured in seconds since the Unix epoch.
The UTC timestamp of the last time the Payment was attempted
The UTC timestamp of the next time the Payment will be attempted
The status of the payment
paid
, open
, void
, draft
, uncollectible
The amount paid by the User, before any discounts or taxes
The total amount paid by the User, including any discounts or taxes
The three letter currency the Payment was made in
usd
, sgd
, inr
, aud
, brl
, cad
, dkk
, eur
, nok
, gbp
, sek
, chf
, hkd
, huf
, jpy
, mxn
, myr
, pln
, czk
, nzd
, aed
, cop
, ron
, thb
, eth
The amount that was refunded to the User (if applicable)
The number of times the Payment has failed
The ID of the checkout used to execute this payment, if applicable.
If the payment was made with a credit/debit card, the brand of the card.
The last 4 digits of the debit/credit card used to make the payment, if applicable.
The funding method of the payment, if applicable.
credit
, debit
, prepaid
, unknown
The wallet type of the payment, if applicable.
apple_pay
, google_pay
, paypal
, venmo
The statement descriptor that appears on the customer's bank statement for the payment, if applicable.
The IIN/BIN of the payment, if applicable.
The ID of the company that made the payment. (For example, they installed an app). Looks like biz_*************
Was this page helpful?