/check_bank_account_capabilities
This endpoint allows you to check the capabilities of a bank account with that payment instrument uuid.
The bank account ID that is required for this endpoint can be found by calling /get_payment_methods. Look for the bank_account_id
in the bank account object.
It is also returned in the /link_account response as payment_instrument_id
.
Request
Authorization / Authentication
Use a valid access token in an Authorization: Bearer request header.
See Authenticating with an Access Token for more details.
GET /0.2/check_bank_account_capabilites HTTP/1.1
sandbox.silamoney.com
Content-Type: application/json
// if using OAuth2
Authorization: Bearer [GENERATED JWT TOKEN HERE]
// if using ECDSA
authsignature: [GENERATED AUTHSIGNATURE HEX STRING HERE]
usersignature: [GENERATED USERSIGNATURE HEX STRING HERE]
{
"header": {
"created": 1234567890, //required
"app_handle": "<your app_handle>", //required
"version": "0.2",
"reference": "<your unique id>"
},
"bank_account_id": "<bank account UUID>" //required
}
***
HTTP/1.1 200 OK
{
"success": true,
"capabilities": {
"aba_routing_number": "123456789",
"fednow": {
"credit_enabled": false,
"debit_enabled": false
},
"rtp": {
"credit_enabled": false,
"debit_enabled": false
}
},
"status": "SUCCESS",
"reference": "40740ca3-2f81-4d68-9e05-f0cc36782d13",
"response_time_ms": "2204"
}
Request Attributes
Key | Type | Description |
---|---|---|
header | JSON object | Required. Required keys: created - Unix epoch timestamp in seconds. Must not be future-dated and must not be dated more than 5 minutes in the past.app_handle - your app handleOptional keys: reference : Can be any value for your own reference. If not provided, one will be assigned.version : Cannot be null if key is present. Valid values: 0.2, v0.2, V0.2 |
bank_account_id | String | Required. UUID for the bank account to request capabilities for. Returned in /link_account response. Also can call /get_payment_methods to find this UUID. |
Responses
Status Code | Success Attribute | Description | error_code |
---|---|---|---|
200 | true | ||
400 | false |
Updated about 1 month ago