Corgi BankDocumentation
OpenAPI

Propose adding or removing a jurisdiction, or a region or postal prefix of one, from a date as the verified staff member (fresh step-up); it is in force only once a second person approves it

POST/sanctioned-jurisdictions/proposals

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

actionstringRequired

Add or remove

countrystringRequired
effective_fromstring · dateRequired

A business date, YYYY-MM-DD

postal_prefixstringOptional
reasonstringRequired
regionstringOptional

Returns

201 Created

actionstringRequired

Add or remove

countrystringRequired
decided_atstring · date-time or nullOptional
decided_bystringOptional
decisionstringRequired

Seed, pending, approved, rejected, withdrawn

effective_fromstring · dateRequired

A business date, YYYY-MM-DD

idintegerOptional

0 for a seed row

notestringOptional
postal_prefixstringOptional

A postal-code prefix within the country; empty for the whole country

proposed_atstring · date-timeRequired
proposed_bystringRequired
reasonstringRequired
regionstringOptional

An ISO 3166-2 subdivision of the country; empty for the whole country

request_idstringOptional

Example req_2tVh8nqLxq4GbDe0K1F6S9zRcWm

Errors

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

400401403404409412413422424429500503

to move to open esc to close