Skip to main content
POST
Submit an uploaded proof of payment for a settlement

Authorizations

Authorization
string
header
required

Enter Auth0 JWT token

Headers

Zuba-Account-Id
string<uuid>

Optional. Names an owned sub-account (UUID) to act as: an order made for any other account, the master included, returns 404 NO_SETTLEMENT. Omit to act for any order of the master (tenant) and its sub-accounts. The master's own account id acts as no header. Naming an account this key does not own returns 403 not_account_owner.

Path Parameters

id
string<uuid>
required

Order id

Body

application/json
proofKey
string
required

The key returned by the upload-URL endpoint

Example:

"order-settlements/1c9e.../proof-8af2..."

Response

settlementId
string<uuid>
required

Settlement id

status
enum<string>
required

declared: funding confirmation is in progress and the order will move to funds_received once the transfer is confirmed. submitted: the proof is recorded and will be confirmed manually.

Available options:
declared,
submitted