AWorld APIs are in a pre-alpha stage and are being updated frequently. For integration inquiries or technical information, please contact us at server@aworld.org.
curl --location --request POST 'https://api.eu-west-1.aworld.cloud/app/v1/virtual-transactions//redeem' \
--header 'Authorization: Bearer <token>'
{
"transactions": [
{
"userId": "string",
"virtualCurrencyId": "string",
"virtualTransactionId": "string",
"virtualTransactionGroupId": "string",
"redemptionGroupId": "string",
"redemptionMode": "AUTO",
"state": "PENDING",
"direction": "CREDIT",
"initiatorType": "USER",
"initiator": "string",
"counterpartType": "USER",
"counterpart": "string",
"additionalData": {
"property1": null,
"property2": null
},
"amount": 0,
"expiresAt": "2019-08-24T14:15:22Z",
"redeemedAt": "string",
"accountId": "stringstri",
"workspaceId": "stringstri",
"sourceRegion": "us-east-1",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}
]
}