Skip to main content
POST
cURL
Creates a new bank account for a user. Required fields vary by country — see the Off-Ramp bank requirements for details. The response returns accountNumber masked: every character except the last 4 is replaced with *. This is intended; List Bank Accounts returns the full value.

Error Codes

These are the errors this endpoint returns most often. Branch on code, not message, and handle codes you don’t recognize by their HTTP status. See Error Codes for the complete list.

Common Errors

User Ownership Errors

Endpoint-Specific Errors

Authorizations

partner-api-key
string
header
required

API key for the affiliated partner performing the request.

Path Parameters

userId
string
required

The user ID to create bank info for

Example:

"8374f327-38bd-4b0b-b8a7-2524599eb903"

Body

application/json
accountIdentifier
string
required

Unique identifier for bank account. CLABE if country=MX.

Example:

"014680260346007120"

country
enum<string>
required

Country code. Determines validation rules.

Available options:
MX,
DO,
US,
AT,
BE,
BG,
HR,
CY,
CZ,
DK,
EE,
FI,
FR,
DE,
GR,
HU,
IE,
IT,
LV,
LT,
LU,
MT,
NL,
PL,
PT,
RO,
SK,
SI,
ES,
SE,
IS,
LI,
NO,
CH,
GB,
MC,
SM,
AD,
VA,
CN
Example:

"MX"

accountType
enum<string>

Account type. Required for DO.

Available options:
SAVINGS,
CHECKING
bankName
string

Bank name. Required for DO / US / SEPA. Not allowed for MX.

documentIdentifier
string

Document identifier. Required for DO, optional for MX.

documentType
enum<string>

Document type. Required for DO.

Available options:
PASSPORT,
CEDULA,
RNC
routingNumber
string

ABA routing number. Required for US.

address
object

Address. Required for US.

accountHolder
object

Account holder info. Required for US & SEPA.

bic
string

BIC code. Required for SEPA.

iban
string

IBAN. Required for SEPA.

alias
string

Optional friendly label for the bank account.

Example:

"My savings"

Response

Creates a new bank account for a user by userId.

success
boolean
Example:

true

data
object