Advertisement
Dodo67

object

Mar 18th, 2022
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const obj = {
  2.   id: 'cs_test_',
  3.   object: 'checkout.session',
  4.   after_expiration: null,
  5.   allow_promotion_codes: null,
  6.   amount_subtotal: 20000,
  7.   amount_total: 20000,
  8.   automatic_tax: { enabled: false, status: null },        
  9.   billing_address_collection: null,
  10.   cancel_url: 'http://localhost:3000/fail',
  11.   client_reference_id: null,
  12.   consent: null,
  13.   consent_collection: null,
  14.   currency: 'inr',
  15.   customer: null,
  16.   customer_creation: 'always',
  17.   customer_details: null,
  18.   customer_email: null,
  19.   expires_at: 1647684939,
  20.   livemode: false,
  21.   locale: null,
  22.   metadata: {},
  23.   mode: 'subscription',
  24.   payment_intent: null,
  25.   payment_link: null,
  26.   payment_method_options: null,
  27.   payment_method_types: [ 'card' ],
  28.   payment_status: 'unpaid',
  29.   phone_number_collection: { enabled: false },
  30.   recovered_from: null,
  31.   setup_intent: null,
  32.   shipping: null,
  33.   shipping_address_collection: null,
  34.   shipping_options: [],
  35.   shipping_rate: null,
  36.   status: 'open',
  37.   submit_type: null,
  38.   subscription: null,
  39.   success_url: 'http://localhost:3000/success',
  40.   total_details: { amount_discount: 0, amount_shipping: 0, amount_tax: 0 },
  41.   url: 'https://checkout.stripe.com/pay/cs_'
  42. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement