Create a record
Authorizations
Headers
Optional. Send the same key when retrying a write you are not sure landed: the first response is returned again (with Idempotent-Replayed: true) instead of writing twice. A key used for a different request is refused with 422; one whose first request is still running gets 409. A refused or failed request does not use up its key. Keys are per environment and kept for 7 days.
255Body
The monetary amount in cents (e.g., 1234 = $12.34)
credit, debit Three-letter ISO 4217 currency code (e.g. USD, EUR). Optional on create — defaults to USD when omitted. Case-insensitive on input; always returned uppercase.
^[A-Za-z]{3}$Number of decimal places for this currency (2 for USD)
Response
Record created
The monetary amount in cents (e.g., 1234 = $12.34)
credit, debit Three-letter ISO 4217 currency code (e.g. USD, EUR). Optional on create — defaults to USD when omitted. Case-insensitive on input; always returned uppercase.
^[A-Za-z]{3}$Number of decimal places for this currency (2 for USD)