Corgi BankDocumentation
OpenAPI

Create a customer

POST/customers

Create a customer; the tax id is sealed to the record and indexed by a keyed blind index

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

addressobjectRequired
6 child attributes
citystringRequired
countrystringRequired
line1stringRequired
line2stringOptional
postal_codestringRequired
statestringRequired
date_of_birthstringOptional
emailstringRequired
formation_datestringOptional
legal_namestringRequired
phonestringOptional
tax_idstringRequired
typestringRequired

Returns

201 Created

The Customer object.

Errors

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

400401403404409412413422424429500503

to move to open esc to close