Skip to main content
POST
cURL recipe

Authorizations

Authorization
string
header
required

Authorization: Bearer

Body

application/json
amount
required

A positive amount in shekels: a JSON number or a decimal string, with at most two decimals. Anything else, including three decimals, answers 422 invalid_amount.

Example:

125

idempotency_key
string
required

Your key for this request, unique per request you mean to make. Sending the same key and amount again answers the original request with 200; the same key with another amount answers 409 idempotency_conflict. Keys are compared without regard to case: AB and ab are the same key.

Maximum string length: 64
Pattern: ^[A-Za-z0-9._-]{1,64}$
Example:

"wd-2026-11-01-001"

Response

A repeat of an earlier request: the original, as it stands now (meta.idempotency_replay is true). Nothing new was recorded.

status
enum<string>
required
Available options:
success
status_code
integer
required
Example:

200

message
string
required
Example:

"OK"

data
object
required

One key named after the resource (products / product / states / categories / attributes / order / validation).

meta
object
required
error
object | null
required