Corgi BankDocumentation
OpenAPI

Create a book transfer

POST/transfers/book

Book transfer between two accounts at the bank

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

amountintegerRequired

Minor units of the currency (cents for USD)

currency_codestringRequired

ISO 4217 code

descriptionstringRequired
from_account_idstringRequired

Example acct_2tVh8nqLxq4GbDe0K1F6S9zRcWm

to_account_idstringOptional

Example acct_2tVh8nqLxq4GbDe0K1F6S9zRcWm

to_account_numberstringOptional

Returns

201 Created

The Book Transfer object.

Errors

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

400401403404409412413422424429500503

to move to open esc to close