Skip to content

Sample Callback Response

When configuring your Callback URL, you will need to specify whether your endpoint expects to receive HTTP GET or HTTP POST requests.

Subsequently, when an event occurs (such as a transaction status update), IIMMPACT will send an HTTP request using your chosen method.

Below is an illustrative example of the data sent in a callback:

For these callbacks to reach your system successfully, it is essential to add IIMMPACT's IP address to your whitelist

Production IP Address18.140.170.98
Staging IP Address3.1.120.89
Parameter NameDescription
statusCodeStatus Code. Refer here
statusOutcome of the request (Processing, Succesful, Failed)
accountAccount Number
productProduct Code
amountAmount
snSerial number/identifier generated from the provider/operator
pinPin number for vouchers, gift cards, etc
expiryExpiration date of the voucher (yyyymmdd)
costThe price paid for the product
remarksAny additional comments or notes about the transaction
refidUnique reference ID for tracking this specific transaction
timestampThe timestamp of this transaction
noteImportant instructions or information for the user regarding the product
voucherlinkA web link to access or redeem the voucher

Sample HTTP POST Callback

json
{
  "data": {
    "statusCode": 20,
    "status": "Succesful",
    "account": "0123456789",
    "product": "GC",
    "productName": "Grab Gift Code",
    "amount": 5,
    "sn": "106648697",
    "pin": "MPHE39G3WL",
    "expiry": "20251116",
    "cost": 5,
    "balance": 50.54,
    "remarks": "",
    "refid": "321479-0-30f4f209-ee",
    "timestamp": "2025-05-20 13:09:34",
    "note": "Insert voucher code into Use Grab Gifts under Use Offers section upon check out",
    "voucherlink": "https://api.grab.com/gifts/v2/go?id=7464957319334bb0afbd5980738a2b50"
  }
}

Sample HTTP GET Callback

html
https://yourdomain.com?refid=1234t&status=48&price=9.73&message=%7B%22statusCode%22%3A48%2C%22status%22%3A%22Failed%22%2C%22account%22%3A%220123456789%22%2C%22product%22%3A%22C%22%2C%22amount%22%3A10%2C%22sn%22%3A%22%22%2C%22pin%22%3A%22%22%2C%22expiry%22%3A%22%22%2C%22cost%22%3A9.73%2C%22remarks%22%3A%22HC%22%2C%22refid%22%3A%221234t%22%2C%22timestamp%22%3A%222025-05-21+14%3A29%3A31.710%22%2C%22note%22%3A%22%22%2C%22voucherlink%22%3A%22%22%7D

IIMMPACT API Documentation