POST
/
payment-method
/
ach
Add new Bank Account using aggregator token
curl --request POST \
  --url https://api.sandbox.sardine.ai/v1/payment-method/ach \
  --header 'Content-Type: application/json' \
  --data '{
  "processor_token": "<string>",
  "bank_aggregator": "plaid",
  "aggregator_data": {
    "auth_response": "<string>",
    "balance_response": "<string>",
    "identity_response": "<string>",
    "transaction_response": "<string>",
    "aggregator_type": "<string>"
  }
}'
{
  "bankAccountId": "5b26b598-a880-4e32-8c41-126aa0206857",
  "accountNumber": "98322271627",
  "name": "John Doe",
  "officialName": "JP Morgan Chase Checking account",
  "routingNumber": "322271627",
  "subtype": "checking",
  "type": "string",
  "wireRoutingNUmber": "32222171627",
  "institutionName": "JP Morgan Chase",
  "status": "connected"
}

Body

application/json
processor_token
string
bank_aggregator
enum<string>
Available options:
plaid,
yodlee,
finicity
aggregator_data
object

Response

200 - application/json

OK

bankAccountId
string<uuid>

Unique identifier for the given user.

accountNumber
string

Bank account number

Examples:

"98322271627"

name
string<email>

User set name of account

officialName
string<date>

Bank designated name of account

Examples:

"1997-10-31"

routingNumber
string<date>

The date that the user was created.

subtype
string

Subtype of account

type
string

Type of account, checking, saving etc

wireRoutingNUmber
string

Routing number for bank account

institutionName
string

Name of the bank at which the account is open

status
enum<string>
Available options:
connected,
disconnected