Bank accounts API
Create a bank account
API Documentation
API List
- Address API
- Bank accounts API
- Bank payments API
- Bank payouts API
- Crypto payments API
- Onboarding API
- Orders API
- Quotes API
- Users API
- Webhooks API
Bank accounts API
Create a bank account
POST
/
api
/
bank
/
accounts
curl --request POST \
--url https://app.sandbox.rio.trade/api/bank/accounts \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"userId": "66290ac8bd3903485989f82e",
"country": "MX",
"fiat": "USD",
"bankName": "Bank Name",
"accountHolderName": "Account Holder Name",
"accountNumber": "0123456789",
"routingNumber": "123456789",
"notes": "Notes",
"CCI": "00111233001112345678",
"CLABE": "012345678901234567",
"email": "<string>",
"address": {
"street1": "Street Name",
"street2": "Street Name",
"city": "City Name",
"state": "State Name",
"postalCode": "12345",
"country": "MX"
}
}'
{
"userId": "66562bc04fe8bf83c577c178",
"createdAt": "2024-05-31T13:55:11.452Z",
"bankName": "BANAMEX",
"country": "MX",
"accountHolderName": "Account holder name",
"fiat": "USD",
"accountNumber": "0123456789",
"CLABE": "0023764000000012345",
"CCI": "00111233001112345678",
"approved": true,
"notes": "Bank Account",
"email": "<string>",
"id": "6659d6bfd78151f639e74d53"
}
Requirements to consume the endpoint.
Create and modify role
The user must have the role to create and modify.
User approved
The user must be approved in at least one country.
Authorizations
Body
application/json
Response
201 - application/json
Created
The response is of type object
.
curl --request POST \
--url https://app.sandbox.rio.trade/api/bank/accounts \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"userId": "66290ac8bd3903485989f82e",
"country": "MX",
"fiat": "USD",
"bankName": "Bank Name",
"accountHolderName": "Account Holder Name",
"accountNumber": "0123456789",
"routingNumber": "123456789",
"notes": "Notes",
"CCI": "00111233001112345678",
"CLABE": "012345678901234567",
"email": "<string>",
"address": {
"street1": "Street Name",
"street2": "Street Name",
"city": "City Name",
"state": "State Name",
"postalCode": "12345",
"country": "MX"
}
}'
{
"userId": "66562bc04fe8bf83c577c178",
"createdAt": "2024-05-31T13:55:11.452Z",
"bankName": "BANAMEX",
"country": "MX",
"accountHolderName": "Account holder name",
"fiat": "USD",
"accountNumber": "0123456789",
"CLABE": "0023764000000012345",
"CCI": "00111233001112345678",
"approved": true,
"notes": "Bank Account",
"email": "<string>",
"id": "6659d6bfd78151f639e74d53"
}