GET
/
v5
/
me
/
payments
/
{id}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

The ID of the Payment, which will look like pay_*************

Response

200 - application/json
id
string
required

The ID of the payment, which will look like pay_*************

membership_id
string

The ID of the membership, which will look like mem_*************

product_id
string

The ID of the product, which will look like prod_*************

user_id
string

The ID of the user, which will look like user_*************

plan_id
string

The ID of the plan, which will look like plan_*************

company_id
string
required

The ID of the company, which will look like biz_*************

line_item_id
string

The line item this receipt was purchased with. This is for in-app purchases.

created_at
number
required

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.

paid_at
number

The time at which the Payment was successful. Measured in seconds since the Unix epoch.

refunded_at
number

The time at which the Payment was refunded. Measured in seconds since the Unix epoch.

last_payment_attempt
number

The UTC timestamp of the last time the Payment was attempted

next_payment_attempt
number

The UTC timestamp of the next time the Payment will be attempted

status
enum<string>
required

The status of the payment

Available options:
paid,
open,
void,
draft,
uncollectible
subtotal
number
required

The amount paid by the User, before any discounts or taxes

final_amount
number
required

The total amount paid by the User, including any discounts or taxes

currency
enum<string>
required

The three letter currency the Payment was made in

Available options:
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
refunded_amount
number

The amount that was refunded to the User (if applicable)

payments_failed
number
required

The number of times the Payment has failed

checkout_id
string

The ID of the checkout used to execute this payment, if applicable.

card_brand
string

If the payment was made with a credit/debit card, the brand of the card.

card_last_4
string

The last 4 digits of the debit/credit card used to make the payment, if applicable.

funding_method
enum<string>

The funding method of the payment, if applicable.

Available options:
credit,
debit,
prepaid,
unknown
wallet_type
enum<string>

The wallet type of the payment, if applicable.

Available options:
apple_pay,
google_pay,
paypal,
venmo
calculated_statement_descriptor
string

The statement descriptor that appears on the customer's bank statement for the payment, if applicable.

issuer_identification_number
string

The IIN/BIN of the payment, if applicable.

billing_usage_ids
string[]
company_buyer_id
string

The ID of the company that made the payment. (For example, they installed an app). Looks like biz_*************

billing_address
object
user_email
string

The email of the user that made the payment