curl --request GET \
--url http://localhost/api/orchestration/instances/{instanceID}/stages/{number}/history \
--header 'Authorization: Bearer <token>'{
"data": [
{
"name": "<string>",
"input": {
"GetAccount": {
"id": "<string>",
"ledger": "<string>"
},
"AddAccountMetadata": {
"id": "<string>",
"ledger": "<string>",
"metadata": {}
},
"CreateTransaction": {
"ledger": "<string>",
"data": {
"metadata": {
"admin": "true"
},
"timestamp": "2023-11-07T05:31:56Z",
"postings": [
{
"amount": 100,
"asset": "COIN",
"destination": "users:002",
"source": "users:001"
}
],
"script": {
"plain": "vars {\naccount $user\n}\nsend [COIN 10] (\n\tsource = @world\n\tdestination = $user\n)\n",
"vars": {
"user": "users:042"
}
},
"reference": "ref:001"
}
},
"RevertTransaction": {
"id": "<string>",
"ledger": "<string>"
},
"StripeTransfer": {
"connectorID": "<string>",
"amount": 100,
"asset": "USD",
"destination": "acct_1Gqj58KZcSIg2N2q",
"waitingValidation": false,
"metadata": {
"order_id": "6735"
}
},
"GetPayment": {
"id": "<string>"
},
"ConfirmHold": {
"id": "<string>"
},
"CreditWallet": {
"id": "<string>",
"data": {
"amount": {
"asset": "USD/2",
"amount": 100
},
"metadata": {
"key": ""
},
"sources": []
}
},
"DebitWallet": {
"id": "<string>",
"data": {
"amount": {
"asset": "USD/2",
"amount": 100
},
"metadata": {
"key": ""
},
"pending": true
}
},
"GetWallet": {
"id": "<string>"
},
"VoidHold": {
"id": "<string>"
},
"ListWallets": {
"name": "<string>"
}
},
"terminated": true,
"startedAt": "2023-11-07T05:31:56Z",
"attempt": 123,
"output": {
"GetAccount": {
"data": {
"address": "users:001",
"metadata": {
"admin": "true"
},
"volumes": {
"USD": {
"input": 100,
"output": 10,
"balance": 90
},
"EUR": {
"input": 100,
"output": 10,
"balance": 90
}
},
"effectiveVolumes": {
"USD": {
"input": 100,
"output": 10,
"balance": 90
},
"EUR": {
"input": 100,
"output": 10,
"balance": 90
}
}
}
},
"CreateTransaction": {
"data": {
"timestamp": "2023-11-07T05:31:56Z",
"postings": [
{
"amount": 100,
"asset": "COIN",
"destination": "users:002",
"source": "users:001"
}
],
"metadata": {
"admin": "true"
},
"id": 1,
"reverted": true,
"reference": "ref:001"
}
},
"RevertTransaction": {
"data": {
"timestamp": "2023-11-07T05:31:56Z",
"postings": [
{
"amount": 100,
"asset": "COIN",
"destination": "users:002",
"source": "users:001"
}
],
"metadata": {
"admin": "true"
},
"id": 1,
"reverted": true,
"reference": "ref:001"
}
},
"GetPayment": {
"data": {
"id": "XXX",
"reference": "<string>",
"sourceAccountID": "<string>",
"destinationAccountID": "<string>",
"connectorID": "<string>",
"type": "PAY-IN",
"status": "PENDING",
"initialAmount": 100,
"scheme": "visa",
"asset": "USD",
"createdAt": "2023-11-07T05:31:56Z",
"raw": {},
"adjustments": [
{
"status": "PENDING",
"amount": 100,
"date": "2023-11-07T05:31:56Z",
"raw": {},
"absolute": true
}
],
"metadata": {
"key": "<string>"
},
"provider": "STRIPE"
}
},
"DebitWallet": {
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"walletID": "<string>",
"metadata": {},
"description": "<string>",
"destination": {
"type": "<string>",
"identifier": "<string>"
}
}
},
"GetWallet": {
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"metadata": {},
"name": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"balances": {
"main": {
"assets": {}
}
},
"ledger": "<string>"
}
},
"ListWallets": {
"cursor": {
"pageSize": 15,
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"metadata": {},
"name": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"ledger": "<string>"
}
],
"hasMore": false,
"previous": "YXVsdCBhbmQgYSBtYXhpbXVtIG1heF9yZXN1bHRzLol=",
"next": ""
}
}
},
"error": "<string>",
"terminatedAt": "2023-11-07T05:31:56Z",
"lastFailure": "<string>",
"nextExecution": "2023-11-07T05:31:56Z"
}
]
}Get a workflow instance stage history
curl --request GET \
--url http://localhost/api/orchestration/instances/{instanceID}/stages/{number}/history \
--header 'Authorization: Bearer <token>'{
"data": [
{
"name": "<string>",
"input": {
"GetAccount": {
"id": "<string>",
"ledger": "<string>"
},
"AddAccountMetadata": {
"id": "<string>",
"ledger": "<string>",
"metadata": {}
},
"CreateTransaction": {
"ledger": "<string>",
"data": {
"metadata": {
"admin": "true"
},
"timestamp": "2023-11-07T05:31:56Z",
"postings": [
{
"amount": 100,
"asset": "COIN",
"destination": "users:002",
"source": "users:001"
}
],
"script": {
"plain": "vars {\naccount $user\n}\nsend [COIN 10] (\n\tsource = @world\n\tdestination = $user\n)\n",
"vars": {
"user": "users:042"
}
},
"reference": "ref:001"
}
},
"RevertTransaction": {
"id": "<string>",
"ledger": "<string>"
},
"StripeTransfer": {
"connectorID": "<string>",
"amount": 100,
"asset": "USD",
"destination": "acct_1Gqj58KZcSIg2N2q",
"waitingValidation": false,
"metadata": {
"order_id": "6735"
}
},
"GetPayment": {
"id": "<string>"
},
"ConfirmHold": {
"id": "<string>"
},
"CreditWallet": {
"id": "<string>",
"data": {
"amount": {
"asset": "USD/2",
"amount": 100
},
"metadata": {
"key": ""
},
"sources": []
}
},
"DebitWallet": {
"id": "<string>",
"data": {
"amount": {
"asset": "USD/2",
"amount": 100
},
"metadata": {
"key": ""
},
"pending": true
}
},
"GetWallet": {
"id": "<string>"
},
"VoidHold": {
"id": "<string>"
},
"ListWallets": {
"name": "<string>"
}
},
"terminated": true,
"startedAt": "2023-11-07T05:31:56Z",
"attempt": 123,
"output": {
"GetAccount": {
"data": {
"address": "users:001",
"metadata": {
"admin": "true"
},
"volumes": {
"USD": {
"input": 100,
"output": 10,
"balance": 90
},
"EUR": {
"input": 100,
"output": 10,
"balance": 90
}
},
"effectiveVolumes": {
"USD": {
"input": 100,
"output": 10,
"balance": 90
},
"EUR": {
"input": 100,
"output": 10,
"balance": 90
}
}
}
},
"CreateTransaction": {
"data": {
"timestamp": "2023-11-07T05:31:56Z",
"postings": [
{
"amount": 100,
"asset": "COIN",
"destination": "users:002",
"source": "users:001"
}
],
"metadata": {
"admin": "true"
},
"id": 1,
"reverted": true,
"reference": "ref:001"
}
},
"RevertTransaction": {
"data": {
"timestamp": "2023-11-07T05:31:56Z",
"postings": [
{
"amount": 100,
"asset": "COIN",
"destination": "users:002",
"source": "users:001"
}
],
"metadata": {
"admin": "true"
},
"id": 1,
"reverted": true,
"reference": "ref:001"
}
},
"GetPayment": {
"data": {
"id": "XXX",
"reference": "<string>",
"sourceAccountID": "<string>",
"destinationAccountID": "<string>",
"connectorID": "<string>",
"type": "PAY-IN",
"status": "PENDING",
"initialAmount": 100,
"scheme": "visa",
"asset": "USD",
"createdAt": "2023-11-07T05:31:56Z",
"raw": {},
"adjustments": [
{
"status": "PENDING",
"amount": 100,
"date": "2023-11-07T05:31:56Z",
"raw": {},
"absolute": true
}
],
"metadata": {
"key": "<string>"
},
"provider": "STRIPE"
}
},
"DebitWallet": {
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"walletID": "<string>",
"metadata": {},
"description": "<string>",
"destination": {
"type": "<string>",
"identifier": "<string>"
}
}
},
"GetWallet": {
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"metadata": {},
"name": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"balances": {
"main": {
"assets": {}
}
},
"ledger": "<string>"
}
},
"ListWallets": {
"cursor": {
"pageSize": 15,
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"metadata": {},
"name": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"ledger": "<string>"
}
],
"hasMore": false,
"previous": "YXVsdCBhbmQgYSBtYXhpbXVtIG1heF9yZXN1bHRzLol=",
"next": ""
}
}
},
"error": "<string>",
"terminatedAt": "2023-11-07T05:31:56Z",
"lastFailure": "<string>",
"nextExecution": "2023-11-07T05:31:56Z"
}
]
}The access token received from the authorization server in the OAuth 2.0 flow.
The workflow instance stage history
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
x >= 0100
"COIN"
"users:002"
"users:001"
"ref:001"
Show child attributes
x >= 0100
"USD"
"acct_1Gqj58KZcSIg2N2q"
false
A set of key/value pairs that you can attach to a transfer object. It can be useful for storing additional information about the transfer in a structured format.
{ "order_id": "6735" }Show child attributes
Show child attributes
The balance to credit
{
"amount": { "asset": "USD/2", "amount": 100 },
"metadata": { "key": "" },
"sources": []
}Show child attributes
Show child attributes
Set to true to create a pending hold. If false, the wallet will be debited immediately.
A targeted balance (use '*' for all)
cannot be used in conjunction with pending property
{
"amount": { "asset": "USD/2", "amount": 100 },
"metadata": { "key": "" },
"pending": true
}Show child attributes
Show child attributes
Show child attributes
"users:001"
Show child attributes
{
"USD": { "input": 100, "output": 10, "balance": 90 },
"EUR": { "input": 100, "output": 10, "balance": 90 }
}Show child attributes
{ "input": 100, "output": 20, "balance": 80 }{
"USD": { "input": 100, "output": 10, "balance": 90 },
"EUR": { "input": 100, "output": 10, "balance": 90 }
}Show child attributes
Show child attributes
Show child attributes
x >= 0100
"COIN"
"users:002"
"users:001"
x >= 0"ref:001"
Show child attributes
Show child attributes
Show child attributes
x >= 0100
"COIN"
"users:002"
"users:001"
x >= 0"ref:001"
Show child attributes
Show child attributes
"XXX"
PAY-IN, PAYOUT, TRANSFER, OTHER PENDING, ACTIVE, TERMINATED, FAILED, SUCCEEDED, CANCELLED x >= 0100
visa, mastercard, amex, diners, discover, jcb, unionpay, sepa debit, sepa credit, sepa, apple pay, google pay, a2a, ach debit, ach, rtp, unknown, other "USD"
Show child attributes
PENDING, ACTIVE, TERMINATED, FAILED, SUCCEEDED, CANCELLED x >= 0100
STRIPE, DUMMY-PAY, WISE, MODULR, CURRENCY-CLOUD, BANKING-CIRCLE, MANGOPAY, MONEYCORP Show child attributes
Show child attributes
The unique ID of the hold.
The ID of the wallet the hold is associated with.
Show child attributes
Show child attributes
The unique ID of the wallet.
Show child attributes
Show child attributes
1 <= x <= 100015
Show child attributes
The unique ID of the wallet.
false
"YXVsdCBhbmQgYSBtYXhpbXVtIG1heF9yZXN1bHRzLol="
""