Skip to main content
POST
Apply a customer deposit balance to an order

Authorizations

Authorization
string
header
required

API key issued per entity via Settings > Developers > API Keys. Each key carries scopes (e.g. orders:read, products:write). Bearer token format: Authorization: Bearer ark_live_ent_ Test keys use ark_test_ent_. Both are issued per entity via Settings > Developers > API Keys.

Path Parameters

id
string<uuid>
required

Body

application/json
order_id
string<uuid>
required
amount
number | null

Optional. When omitted, applies min(deposit_balance, order_balance_due).

Response

Customer deposit applied

The response is of type object.