SenseCrypt Docs
API ReferenceAdmin Billing

Create Setup Intent

POST/v1/admin/billing/setup-intent

Create a SetupIntent for the embedded Payment Element card-add. Carries the India mandate_options (registered only for Indian cards, ignored otherwise), so saving an Indian card establishes the RBI e-mandate for off-session auto-debit; every other card is unaffected.

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Response Body

application/json

curl -X POST "https://example.com/v1/admin/billing/setup-intent"
{  "client_secret": "string",  "publishable_key": "string"}