Skip to main content
POST
Save a bank account

Authorizations

Authorization
string
header
required

Paste your secret key as the bearer token: sk_test_… (test) or sk_live_… (live). That is all a normal API call needs. OAuth access tokens from POST /v1/oauth/token also work, but a client id/secret is only for platforms acting on another tenant's behalf, not for your own integration.

Body

application/json
bankCode
string
required
accountNumber
string
required
Pattern: ^\d{10}$
code
string
required

The 6-digit OTP from POST /v1/payouts/accounts/otp.

Pattern: ^\d{6}$
makeDefault
boolean

Response

Saved

id
string
bankCode
string
bankName
string
accountNumber
string
accountName
string
isDefault
boolean
createdAt
string