BankAccount GET
Exemplo de request buscando a conta de ID 2: endpoint /bank-account/2
/bank-account[/:bank_account_id]
Request
Headers
| Header | Value |
|---|---|
| Accept | application/json |
| Authorization | Bearer token |
Response
Status Codes
- 406: Not Acceptable
- 415: Unsupported Media Type
- 200: OK
- 404: Not Found
- 401: Unauthorized
- 403: Forbidden
Headers
| Header | Value |
|---|---|
| Content-Type | application/json |
| Allow | Comma-separated list of all HTTP methods allowed |
Response Body
{
"id": 123,
"account_type": "CC",
"bank_number": "260",
"bank_agency": "0001",
"account_number": "80348599",
"account_digit": "1",
"pix_key_type": null,
"pix_key": null,
"confirmed": 0,
"confirmed_at": null,
"is_default": 1,
"created_at": "2024-11-30 16:35:26",
"updated_at": "2024-11-30 16:37:15"
}