Authorization
default Use a public key (pk./pk_test.) for payment initialization. Use a secret key (sk./sk_test.) for sensitive operations (transfers, refunds, balance), or a restricted key (rk./rk_test.) scoped to specific permissions. The _test. variant of any key selects the sandbox environment — there is no separate sandbox URL. Never expose your secret key in client-side code.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Must be at least 0.01.
Must match an existing stored value. Must be 3 characters.
This field is required when none of <code>customer_id</code>, <code>phone</code>, and <code>customer</code> are present. Must be a valid email address. Must not be greater than 255 characters.
This field is required when none of <code>email</code>, <code>phone</code>, and <code>customer</code> are present. Must not be greater than 64 characters.
This field is required when none of <code>customer_id</code>, <code>email</code>, and <code>customer</code> are present. Must not be greater than 32 characters.
Must not be greater than 255 characters.
Must not be greater than 500 characters.
Must not be greater than 128 characters.
Must be a valid URL. Must not be greater than 2048 characters.
Must be at least 5. Must not be greater than 43200.
"merchant""customer"Response Body
application/json
application/json
application/json
application/json