cURL
curl --request PATCH \
--url https://sandbox.onconsul.com/v1/bank_accounts/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>"
}
'{
"created_at": "2023-11-07T05:31:56Z",
"id": "<string>",
"name": "<string>",
"ars_transfers": {
"account_value": "<string>",
"beneficiary_name": "<string>"
},
"brl_pix": {
"pix_key": "<string>"
},
"cad_eft": {
"account_number": "<string>",
"institution_number": "<string>",
"transit_number": "<string>",
"owner_business_name": "<string>",
"owner_first_name": "<string>",
"owner_last_name": "<string>"
},
"cop_ach": {
"bank_account": "<string>",
"bank_code": "<string>",
"beneficiary_first_name": "<string>",
"beneficiary_last_name": "<string>",
"document_id": "<string>",
"email": "<string>"
},
"eur_sepa": {
"iban": "<string>",
"owner_address": {
"city": "<string>",
"line1": "<string>",
"postal_code": "<string>",
"state": "<string>",
"line2": "<string>"
},
"owner_business_name": "<string>",
"owner_first_name": "<string>",
"owner_last_name": "<string>"
},
"mxn_spei": {
"beneficiary_name": "<string>",
"spei_clabe": "<string>"
},
"usd_ach": {
"account_number": "<string>",
"owner_address": {
"city": "<string>",
"line1": "<string>",
"postal_code": "<string>",
"state": "<string>",
"line2": "<string>"
},
"routing_number": "<string>",
"owner_business_name": "<string>",
"owner_first_name": "<string>",
"owner_last_name": "<string>"
},
"usd_domestic_wire": {
"account_number": "<string>",
"owner_address": {
"city": "<string>",
"line1": "<string>",
"postal_code": "<string>",
"state": "<string>",
"line2": "<string>"
},
"routing_number": "<string>",
"owner_business_name": "<string>",
"owner_first_name": "<string>",
"owner_last_name": "<string>"
}
}Bank Accounts
Update a Bank Account
PATCH
/
bank_accounts
/
{id}
cURL
curl --request PATCH \
--url https://sandbox.onconsul.com/v1/bank_accounts/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>"
}
'{
"created_at": "2023-11-07T05:31:56Z",
"id": "<string>",
"name": "<string>",
"ars_transfers": {
"account_value": "<string>",
"beneficiary_name": "<string>"
},
"brl_pix": {
"pix_key": "<string>"
},
"cad_eft": {
"account_number": "<string>",
"institution_number": "<string>",
"transit_number": "<string>",
"owner_business_name": "<string>",
"owner_first_name": "<string>",
"owner_last_name": "<string>"
},
"cop_ach": {
"bank_account": "<string>",
"bank_code": "<string>",
"beneficiary_first_name": "<string>",
"beneficiary_last_name": "<string>",
"document_id": "<string>",
"email": "<string>"
},
"eur_sepa": {
"iban": "<string>",
"owner_address": {
"city": "<string>",
"line1": "<string>",
"postal_code": "<string>",
"state": "<string>",
"line2": "<string>"
},
"owner_business_name": "<string>",
"owner_first_name": "<string>",
"owner_last_name": "<string>"
},
"mxn_spei": {
"beneficiary_name": "<string>",
"spei_clabe": "<string>"
},
"usd_ach": {
"account_number": "<string>",
"owner_address": {
"city": "<string>",
"line1": "<string>",
"postal_code": "<string>",
"state": "<string>",
"line2": "<string>"
},
"routing_number": "<string>",
"owner_business_name": "<string>",
"owner_first_name": "<string>",
"owner_last_name": "<string>"
},
"usd_domestic_wire": {
"account_number": "<string>",
"owner_address": {
"city": "<string>",
"line1": "<string>",
"postal_code": "<string>",
"state": "<string>",
"line2": "<string>"
},
"routing_number": "<string>",
"owner_business_name": "<string>",
"owner_first_name": "<string>",
"owner_last_name": "<string>"
}
}Update metadata on a bank account. Currently only the
display name can be changed.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
application/json
Required string length:
1 - 255Response
OK
Available options:
active, archived Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
⌘I

