9993
in the CSQ API. It is designed for developers testing voucher flows in the Supermarket Vouchers category, using real API methods without triggering actual transactions or contacting external suppliers.Product ID | Product Name | Behavior Summary |
---|---|---|
9993 | DummySuperMarket | Simulates supermarket voucher purchase in one step |
POST /supermarket-vouchers/purchase/{terminalId}/{operatorId}/{localReference}
{
"amountToSendX100": 5000,
"localDateTime": "2025-07-08T10:00:00Z",
"documentNumber": "AB00000000"
}
Field | Type | Description |
---|---|---|
amountToSendX100 | integer | Amount in cents (e.g. 500 = 5.00) |
localDateTime | string | ISO 8601 timestamp of the simulated purchase |
documentNumber | string | Simulated ID or passport number. |
documentNumber
SuffixEnds With | Simulated Result |
---|---|
000 | โ
Success and returns suppliertoken: FDSAGHJKLREWQTYUIO |
001 | โ
Success and returns suppliertoken: POIUYTREWQJHGFDSA |
other | โ Error 931 - invalid account |
documentNumber
field.{
"rc": 0,
"items": [
{
"finalstatus": 0,
"resultcode": "10",
"resultmessage": "Voucher purchase successful",
"supplierreference": "SUP-REF-78910",
"suppliertoken": "FDSAGHJKLREWQTYUIO",
"destinationcurrency": "EUR",
"destinationamount": 500
}
]
}
amountToSendX100
to test different denominations.documentNumber
field acts as a trigger for specific test results.resultcode
and resultmessage
in the response.