API referenceV1
Start connecting a Cashfree, Razorpay or Stripe account
Returns the gateway's consent URL. It must be opened in a browser signed in to chatform as the user who created this key; the state is single-use and expires in ten minutes. `returnTo` must be a page on the chatform app.
AuthorizationBearer <token>
A server-side secret key. Never send one from a browser — a request carrying an Origin header is refused for this reason.
In: header
Path Parameters
provider*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/payment-accounts/oauth/string/start" \ -H "Content-Type: application/json" \ -d '{ "returnTo": "string" }'{ "url": "string"}