Skip to content

Bill Presentment (Beta)

The Bill Presentment API allows you to retrieve outstanding bill information for a specific account or service. This enables your application to display current bill details, send bill reminder and automate recurring payments.

Your application should dynamically populate the bill information based on the API response. If a particular piece of information (e.g., name) is not returned by the API for a biller, that label or field should not be displayed to the user.

INFO

Integrate this API across all products. This will prevent the need to reintegrate it when a new biller is added later.

Error Handling:

API Message Errordata['message']Application Response/ActionCan User Proceed ?
Account no is validDisplay relevant bill information. If a particular piece of information is not returned by API, do not display that label or field to userYes proceed to payment if applicable
Bill presentment is unavailable for this productDo not display any bill information.Yes proceed to payment
Service unavailable. Please try again laterDo not display any bill information.Yes proceed to payment
Any other errorDo not display any bill information.Yes proceed to payment
Invalid account noPrompt user with the error message displayed in response['error_message']Possible response['error_message'] valuesThe provided biller code is invalidThe provided amount is invalidInvalid account noRef-2 is requiredNo

API Endpoint

http
GET https://api.iimmpact.com/v2/bill-presentment

Request Headers

HeaderDescriptionRequired
AuthorizationID TokenNo

Query Parameters

ParameterTypeRequiredDescription
accountStringYesThe account number. For JomPAY, this is equivalent to Ref-1
productStringYesProduct code
biller_codestringNoThe JomPAY biller code. This is only used if the product is JomPAY
ref2stringNoAn optional reference field for JomPAY. For JomPAY, this is equivalent to Ref-2
amountstringNoAmount. This is only used if the product code is JomPAY

Response 200

FieldTypeDescription
dataobject
data.messagestringShort description of the result
data.BillerNamestring
data.CustomerNamestringAccount name
data.OutstandingnumberAccount outstanding
data.BalancestringAccount balance
data.DatastringAccount data balance
data.AddressstringCustomer address
data.E-BillstringA PDF version of customer bill
data.CustomFieldstring
data.DueDatestringBill due date
metadataobject
metadata.status_codenumber
metadata.product_codestring
metadata.last_updatedstring
transaction_validityboolean
transaction_messagestring
error_messagestringError label that can be use to display error message to user

Example Response:

json
{
  "data": {
    "message": "Account no is valid",
    "BillerName": "Air Kelantan",
    "CustomerName": "EN. MOHD MOKHTAR B.AWANG",
    "Outstanding": 45.94,
    "Balance": "",
    "Data": "",
    "Address": "KG. TUALANG KUDONG, 18500 LABIK, MACHANG.",
    "E-Bill": null,
    "CustomField": "",
    "DueDate": "13/06/2025"
  },
  "metadata": {
    "status_code": 200,
    "product_code": "AKSB",
    "last_updated": "19-05-2025 15:37:28"
  },
  "transaction_validity": true,
  "transaction_message": "Account validation successful with AKSB.",
  "error_message": ""
}

Response 400

FieldTypeDescription
dataobject
data.messagestring
data.CustomerNamestring
data.Outstandingnumber
data.Balancestring
data.Datastring
data.Addressstring
data.E-Billstring
data.CustomFieldstring
data.DueDatestring
metadataobject
metadata.status_codenumber
metadata.product_codestring
metadata.last_updatedstring
transaction_validityboolean
transaction_messagestring
error_messagestring

Example Response:

json
{
  "data": {
    "message": "Invalid account no",
    "CustomerName": "",
    "Outstanding": null,
    "Balance": "",
    "Data": "",
    "Address": "",
    "E-Bill": "",
    "CustomField": "",
    "DueDate": ""
  },
  "metadata": {
    "status_code": 400,
    "product_code": "JOMPAY",
    "last_updated": "21-05-2025 13:40:23"
  },
  "transaction_validity": null,
  "transaction_message": null,
  "error_message": "The provided biller code is invalid"
}

IIMMPACT API Documentation