Bank Account
GET
/bank_accounts/{bank_account_id}Retrieve
Retrieve a specific bank account by ID.
Requires: Bearer token, X-Country header.
Request
Example
curl -X GET 'https://api.paycose.com/api/v1/app1/platform/wallet/bank_accounts/{{bank_account_id}}' \
-H 'X-Session-Token: {{session_token}}' \
-H 'X-Country: {{country}}' \
-H 'X-Test-Mode: {{x_test_mode}}'Headers
| Name | Value | Description |
|---|---|---|
| X-Session-Token | {{session_token}} | |
| X-Country | {{country}} | |
| X-Test-Mode | {{x_test_mode}} | true=wallet_test, false=wallet_live (default). Toggle the x_test_mode collection variable to flip every applicable request. |
Responses
200200 OK
Headers
| Name | Value |
|---|---|
| Content-Type | application/json |
Body
{
"id": "<string>",
"object": "<string>",
"livemode": false,
"created_at": null,
"updated_at": null,
"account": "<string>",
"account_holder_name": "<string>",
"account_number": "<string>",
"routing_number": "<string>",
"bank_code": "<string>",
"bank": {
"object": "<string>",
"code": "<string>",
"name": "<string>",
"slug": "<string>"
},
"branch_code": "<string>",
"account_type": "<string>",
"phone_number": "<string>",
"primary_identity_id": "<string>",
"type": "<string>",
"active": false,
"verified": false,
"reference_id": "<string>",
"provider": "<string>",
"recipients": [
{
"id": "<string>",
"provider": "<string>",
"reference_id": "<string>",
"is_default": false
}
],
"metadata": {},
"labels": "<core.Labels>"
}400400 Bad Request
Headers
| Name | Value |
|---|---|
| Content-Type | application/json |
Body
{
"object": "error",
"code": "<string>",
"key": "<string>",
"i18n_key": "<string>",
"message": "<string>",
"request_id": "<string>"
}