Skip to content

Instantly share code, notes, and snippets.

@cjavilla-stripe
Created July 16, 2020 23:46
Show Gist options
  • Save cjavilla-stripe/49ffee1bcd75f3f579053485e32485de to your computer and use it in GitHub Desktop.
Save cjavilla-stripe/49ffee1bcd75f3f579053485e32485de to your computer and use it in GitHub Desktop.
{
"id": "cs_test_xxx",
"object": "checkout.session",
"amount_subtotal": 2100,
"amount_total": 2499,
"cancel_url": "https://example.com/cancel",
"client_reference_id": null,
"currency": "usd",
"customer": "cus_yyy",
"livemode": false,
"mode": "subscription",
"payment_method_types": [
"card"
],
"subscription": "sub_zzz",
"success_url": "https://example.com/success",
"total_details": {
"amount_discount": 0,
"amount_tax": 399
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment