Skip to main content
POST
Create posting

Authorizations

Authorization
string
header
required

API key as Bearer token

Headers

Reap-Version
enum<string>
required

API version (YYYY-MM-DD)

Available options:
2025-02-14
Example:

"2025-02-14"

Idempotency-Key
string
required

Unique key for safely retrying this request. Up to 255 characters; we recommend a UUIDv4. The first request executes and its response is cached; subsequent requests with the same key replay the cached response (24h retention).

Required string length: 1 - 255

Body

accountId
string<uuid>
required

Account to post against

type
enum<string>
required
  • DEPOSIT: Credit the submitted virtual asset amounts to the account balance.
  • WITHDRAWAL: Debit the submitted virtual asset amounts from the account balance. Rejected if any entry would take the balance below zero.
  • SETTLEMENT: Debit the submitted virtual asset amounts from the account balance AND apply their value to the account’s outstanding card debt. Same non-negative guard as WITHDRAWAL.
Available options:
DEPOSIT,
WITHDRAWAL,
SETTLEMENT
Example:

"DEPOSIT"

entries
object[]
required

At least one entry. Each virtualAssetId may appear only once.

Minimum array length: 1

Response

Client-driven posting against an account.

id
string<uuid>
required

Posting ID

accountId
string<uuid>
required

Account ID

type
enum<string>
required
  • DEPOSIT: Credit the submitted virtual asset amounts to the account balance.
  • WITHDRAWAL: Debit the submitted virtual asset amounts from the account balance. Rejected if any entry would take the balance below zero.
  • SETTLEMENT: Debit the submitted virtual asset amounts from the account balance AND apply their value to the account’s outstanding card debt. Same non-negative guard as WITHDRAWAL.
Available options:
DEPOSIT,
WITHDRAWAL,
SETTLEMENT
Example:

"DEPOSIT"

entries
object[]
required
settledAmount
number | null
required

USD value applied to outstanding card debt. Populated for SETTLEMENT postings, null otherwise.

createdAt
string
required

ISO 8601 creation timestamp