Bearer token with marketing:read scope
Query parameters
Filter by transaction type: redemption, refund, adjustment
Number of results per page (max 100)
Number of results to skip
Response
Array of transaction objects
curl -X GET "https://api.voyantcloud.com/v1/vouchers/voucher_abc123/transactions" \
-H "Authorization: Bearer $API_KEY"
{
"data": {
"transactions": [
{
"id": "txn_abc",
"workspaceId": "ws_xyz",
"voucherId": "voucher_abc123",
"type": "refund",
"amountMinor": 5000,
"balanceAfterMinor": 7500,
"currency": "EUR",
"bookingId": "booking_789",
"customerId": "cust_456",
"relatedTransactionId": "txn_xyz",
"description": "Refund for cancelled Booking #789",
"createdAt": "2024-07-21T09:00:00Z"
},
{
"id": "txn_xyz",
"workspaceId": "ws_xyz",
"voucherId": "voucher_abc123",
"type": "redemption",
"amountMinor": -5000,
"balanceAfterMinor": 2500,
"currency": "EUR",
"bookingId": "booking_789",
"customerId": "cust_456",
"relatedTransactionId": null,
"description": "Payment for Booking #789",
"createdAt": "2024-07-20T14:30:00Z"
},
{
"id": "txn_initial",
"workspaceId": "ws_xyz",
"voucherId": "voucher_abc123",
"type": "adjustment",
"amountMinor": 10000,
"balanceAfterMinor": 10000,
"currency": "EUR",
"bookingId": null,
"customerId": null,
"relatedTransactionId": null,
"description": "Initial balance",
"createdAt": "2024-01-15T09:00:00Z"
}
],
"meta": {
"total": 3,
"limit": 50,
"offset": 0
}
}
}
Transactions are returned in reverse chronological order (newest first).