chatformdocs
API referenceV1

Create a Cashfree account for a business that has none

Returns the Cashfree KYC link, or `{ useOAuth: true }` when the email already has a Cashfree account.

POST
/v1/payment-accounts/cashfree/onboard

Authorization

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

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/v1/payment-accounts/cashfree/onboard" \  -H "Content-Type: application/json" \  -d '{    "email": "user@example.com",    "phone": "stringst",    "businessName": "string",    "businessType": "string"  }'
{  "onboardingUrl": "string"}