Corgi BankDocumentation
OpenAPI

Create a counterparty

POST/counterparties

Save a counterparty to pay: a bank account (ACH, instant or wire), an account at this bank (book transfer), a bank abroad named by BIC with an IBAN or account number (international wire), or an address (a mailed check)

Headers

Idempotency-KeystringOptional

Send on every write that creates or changes money or state; a replay with the same key returns the original result with 200.

Body parameters

account_numberstringOptional
account_typestringOptional

Checking (default), savings, general_ledger or loan

addressobject or nullOptional

PostalAddress is a counterparty's mailing address.

6 child attributes
citystringRequired
country_codestringRequired
line_1stringRequired
line_2stringOptional
postal_codestringOptional
statestringOptional
bank_namestringOptional

Required to wire

bicstringOptional

The counterparty's bank abroad; giving it pays the counterparty by international wire

customer_idstringRequired

Example cust_2tVh8nqLxq4GbDe0K1F6S9zRcWm

descriptionstringOptional
emailstringOptional
ibanstringOptional

The international account number, on a counterparty paid by international wire

legal_idstringOptional
legal_typestringOptional

Business, non_profit, individual or sole_proprietor

namestringRequired
pay_bystringOptional

Ach (default with a routing number), book (an account at this bank), realtime, wire, international_wire (default with a BIC) or check (no routing number)

phonestringOptional
routing_numberstringOptional
routing_number_typestringOptional

Aba

Returns

201 Created

The Counterparty object.

Errors

Every error is a problem document with a stable code. See Errors.

400401403404409412413422424429500503

to move to open esc to close