Skip to main content

POST /payments/create-setup-intent

Generates a one-time secret key to allow the web application to communicate with stripe directly Returns clientSecret token, used by @stripe/react-stripe-js components. Stripe call snippet -
Parameters description - More information about stripe SetupIntent object - link

GET /payments/payment-information

Returns customer’s billing details, balance on stripe account and card information (last 4 digits, expiration date and brand) Stripe call snippet -
Parameters description - More information about stripe Customer object - link

GET /payments/get-history

Returns a list of the customer’s charges. The charges are returned in sorted order, with the most recent charges appearing first. Query params - Stripe call snippet -
More information about stripe Charge object - link More information about stripe pagination - link