Skip to main content
POST
Create and apply cash application
Send the deposit, the invoice allocations and the current compiled_rules from organization memory. Entendre checks eligibility and invoice balances again; a preview does not reserve funds.

Authorizations

X-API-Key
string
header
required

Your organization API key. Some operations also need a key that is associated with a user; their pages say so.

Headers

Idempotency-Key
string
required

Unique key for this operation. Retry with the same key and request body after a timeout. Keys are retained for at least 24 hours.

Required string length: 1 - 255

Body

application/json
deposit_transaction_id
string
required

Deposit transaction (txn_…).

allocations
object[]
required

Invoice allocations.

Required array length: 1 - 100 elements
compiled_rules
object[]
required

Current routing rules from organization memory. Supply [] only to explicitly use default routing.

adjustment_ledger_account_id
string

Optional lac_… for the adjustment leg. Defaults to the organization's cash-application adjustment account.

Response

Created.

data
object
required

A deposit and the invoices that it pays.