Adds a Bank account to Proceed with the Operation
bankCode and documentNumber are optional. documentedNumber is required when the users is not KYC'd.
POST
/rest/bank-accounts
Authorization*
curl --request POST \
--url https://api-test.koywe.com/rest/bank-accounts \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"accountNumber": "123456789",
"countryCode": "CHL",
"currencySymbol": "CLP"
}'
{
"_id": "63dd5fd9cccad469ee2408f7",
"account": "62f28c4aa05176c3dfba8e",
"accountNumber": "1234596789",
"bankCode": "SANTANDER",
"countryCode": "CHL",
"currencySymbol": "CLP",
"name": "BANCO SANTANDER"
}
Authorizations
Authorizationheaderrequired
string
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
accountNumberrequired
string
bankCode
string
countryCoderequired
string
currencySymbolrequired
string
documentNumber
string
email
string
Response
200 - application/json
_id
string
account
string
accountNumber
string
bankCode
string
countryCode
string
currencySymbol
string
name
string
curl --request POST \
--url https://api-test.koywe.com/rest/bank-accounts \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"accountNumber": "123456789",
"countryCode": "CHL",
"currencySymbol": "CLP"
}'
{
"_id": "63dd5fd9cccad469ee2408f7",
"account": "62f28c4aa05176c3dfba8e",
"accountNumber": "1234596789",
"bankCode": "SANTANDER",
"countryCode": "CHL",
"currencySymbol": "CLP",
"name": "BANCO SANTANDER"
}