Skip to content

Settlement adapter: the instructions it has not acknowledged (F-016). The adapter's principal only.

GET
/v1/settlement/instructions
curl --request GET \
--url https://example.com/v1/settlement/instructions \
--header 'Authorization: Bearer <token>'

The answer, from one consistent view (REQ-QR-2).

Media typeapplication/json
Array<object>

An instruction in the outbox, as the adapter reads it (REQ-SO-5).

object
amount
required

The exact amount: minor units, as a decimal-integer string.

string
asset
required

The asset.

string
destination
required
One of:

A plain account on the settlement layer: 32 bytes of hex.

object
account
required
string
digest
required

Its identity, which the acknowledgement names: 32 bytes of hex.

string
expiry
required

The settlement-layer height after which it can no longer take effect (REQ-SL-4).

integer format: uint64
operation_reference
required

The operation reference, which the layer’s record of the movement carries.

string
reserved
required

That a reservation exists for it: always true (INV-13).

boolean
Examplegenerated
[
{
"amount": "example",
"asset": "example",
"destination": {
"account": "example"
},
"digest": "example",
"expiry": 1,
"operation_reference": "example",
"reserved": true
}
]

Refused, with the named condition. The status is the alternative’s x-http-status.

Media typeapplication/json
One of:
ERR-NotAuthorised
object
description
required
Allowed value: The initiating principal holds no authority that covers this operation, account, asset or bound
error
required
Allowed value: ERR-NotAuthorised
Example
{
"description": "The initiating principal holds no authority that covers this operation, account, asset or bound",
"error": "ERR-NotAuthorised"
}

Refused, with the named condition. The status is the alternative’s x-http-status.

Media typeapplication/json
One of:
ERR-NotAuthorised
object
description
required
Allowed value: The initiating principal holds no authority that covers this operation, account, asset or bound
error
required
Allowed value: ERR-NotAuthorised
Example
{
"description": "The initiating principal holds no authority that covers this operation, account, asset or bound",
"error": "ERR-NotAuthorised"
}
Retry-After
integer

On ERR-DecisionUnavailable (503): seconds to wait before retrying with the same client key (DEC-27 (g)).