curl --request GET \
--url https://api.treasuryprime.com/counterparty \
--header 'Authorization: Basic <encoded-value>'{
"data": [
{
"ach": {
"account_number": "64141601",
"account_type": "checking",
"routing_number": "021001208"
},
"created_at": "2017-11-02T11:55:14Z",
"id": "cp_1029384756",
"name_on_account": "George Washington",
"plaid_processor_token": null,
"updated_at": "2017-11-02T11:55:14Z",
"userdata": null,
"wire": null
}
]
}curl --request GET \
--url https://api.treasuryprime.com/counterparty \
--header 'Authorization: Basic <encoded-value>'{
"data": [
{
"ach": {
"account_number": "64141601",
"account_type": "checking",
"routing_number": "021001208"
},
"created_at": "2017-11-02T11:55:14Z",
"id": "cp_1029384756",
"name_on_account": "George Washington",
"plaid_processor_token": null,
"updated_at": "2017-11-02T11:55:14Z",
"userdata": null,
"wire": null
}
]
}Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
A map containing a list of counterparty elements
Show child attributes
Account information for use with ACH transfers
Unique identifier for object
Name of the account owner. Filterable.
Plaid processor token, exchanged for an account number and routing number
Arbitrary data the user can attach to the object
Account information for use with wire transfers
Show child attributes
Bank account number for wire use (maximum of 34 characters)
Physical address associated with the account
Show child attributes
City (max 18 characters)
Country (ISO 3166-1 alpha-2). Defaults to US
Postal code (5-digit or 5+4 Zip Code for U.S. addresses)
State (max 2 characters for US, max 3 characters for other countries)
First line of the address (max 35 characters)
Optional second line of the address (max 35 characters)
Address of the bank
Show child attributes
City (max 18 characters)
A 2 character ISO country code. Required for an international counterparty
Postal code (5-digit or 5+4 Zip Code for U.S. addresses)
U.S. State (two letter abbreviation). If an international wire counterparty this is the Province or Region.
Street address (first line) (max 35 characters)
Street address (second line, if applicable) (max 35 characters)
Name of the bank
Valid 9-digit ABA routing transit number for the bank holding the account. See the Routing Number endpoint for additional information. For international wires this can be a valid BIC/SWIFT code