Escrow API
Deals whose money a regulated partner holds until confirmation.
The same operations are in the interactive API reference, and the whole contract is in the OpenAPI document.
GET/v1/escrow/deals
Read escrow deals
The escrow deals of the workspace. Needs miniself:read.
Scope escrow:read. Accepts: API key or personal access token. Open in the API reference
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
AirFone-Version | header | string | No | The API version to use, as a date. Defaults to the version the account was pinned to. |
POST/v1/escrow/deals
Add escrow deal
Proposes a deal. It can be agreed only where the pack names an escrow partner. Needs miniself:write.
Scope escrow:write. Accepts: API key or personal access token. Open in the API reference
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
AirFone-Version | header | string | No | The API version to use, as a date. Defaults to the version the account was pinned to. |
GET/v1/escrow/deals/{id}
Read escrow deal
One escrow deal. Needs miniself:read.
Scope escrow:read. Accepts: API key or personal access token. Open in the API reference
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | Yes | The id. |
AirFone-Version | header | string | No | The API version to use, as a date. Defaults to the version the account was pinned to. |
POST/v1/escrow/deals/{id}/steps
Take a step on a escrow deal
Records acceptance, what the partner reports, delivery, the buyer's confirmation, a dispute and the approval of a release or a refund by a person. Needs miniself:write.
Scope escrow:write. Accepts: API key or personal access token. Open in the API reference
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | Yes | The id. |
AirFone-Version | header | string | No | The API version to use, as a date. Defaults to the version the account was pinned to. |