Create setup intent
POST
/billing/v1/setup-intentCreate a Stripe setup intent for adding a payment method
Authorization
Bearer Authorization<token>
In: header
Response Body
200application/json
OK
type: unknown
{
"$ref": "#/components/schemas/billingv1.SetupIntentResponse",
"$ref-value": {
"properties": {
"client_secret": {
"type": "string"
},
"setup_intent_id": {
"type": "string"
}
},
"type": "object"
}
}curl -X POST "https://api.rixl.com/billing/v1/setup-intent"OK
application/json
{
"$ref": "#/components/schemas/billingv1.SetupIntentResponse",
"$ref-value": {
"properties": {
"client_secret": {
"type": "string"
},
"setup_intent_id": {
"type": "string"
}
},
"type": "object"
}
}