cURL
curl --request PATCH \ --url https://app.sandbox.rio.trade/api/bank/accounts/{id} \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{ "notes": "Notes", "email": "<string>" }'
{ "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>", "advancedVerificationStatus": "initiated", "id": "6659d6bfd78151f639e74d53" }
OK
The response is of type object.
object