setClientBankAccounts
PUT/api/clients/:document/bank-accounts
Set bank accounts for a client
Request
Path Parameters
document stringrequired
Client document
Example: 12345678901
- application/json
Body
required
- Array [
- ]
client_bank_accounts object[]
Client bank accounts
bank_ispb bank_ispb (string)required
Bank ISPB
account_number account_number (string)required
Account number
account_branch account_branch (string)required
Account branch
Responses
- 200
- 401
- 404
- 422
- 500
Ok
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
id id (integer)
Client Bank Account id
bank_ispb bank_ispb (string)
Bank ISPB
account_number account_number (string)
Account number
account_branch account_branch (string)
Account branch
[
{
"id": "1",
"bank_ispb": "00001234",
"account_number": "123456",
"account_branch": "1234"
}
]
Unauthenticated
- application/json
- Schema
- Example (from schema)
Schema
message message (integer)
Response 401
{
"message": "Invalid x-api-key"
}
Client Not Found
- application/json
- Schema
- Example (from schema)
Schema
message message (string)
Response 404
{
"message": "Resource not found"
}
Unprocessable Entity
- application/json
- Schema
- Example (from schema)
Schema
message message (string)
Error message
errors undefined[]
Errors occurred during data validation request
{
"message": "string",
"errors": [
null
]
}
Error
Loading...