Example: Requesting an Alfamart Refund Using the REST API

Light Dark
Request
123456789101112131415161718
{""orderInformation"": { ""amountDetails"": { ""totalAmount"": ""1"", ""currency"": ""IDR"" } }, ""clientReferenceInformation"": { ""reconciliationId"": ""sale1077"", ""originalTransactionId"": ""1177494712"" }, ""paymentInformation"": { ""paymentType"": { ""name"": ""offline"", ""method"": { ""name"": ""alfamart"" } } }}
Response to a Successful Request
1234567
{"processorInformation": { "transactionId": "144491809" }, "message": "Successful", "status": "REFUNDED", "id": "6523329019126746031944", "submitTimeUtc": "2022-06-15T02:55:39Z"}