Skip to content

Initiate card setup

POST
/api/users/self/stripe/cards/initiate-setup

Initiate the set-up for a new card via Stripe that can be used for future off-session payments

Request Body required

Responses

200

Response for status ok

object
success
required
boolean
setupIntent
required
string
ephemeralKey
required
string
customer
required
string
publishableKey
required
string

400

Response for status badRequest

object
success
required
boolean
message
required
string

500

Response for status internalServerError

object
success
required
boolean
message
required
string