Facilitates pre-payment verification for products requiring upfront bill checks, such as PLN electricity services. The response includes comprehensive bill information and the total amount due.
PLN Prepaid Inquiry
{
"product_id": "PLN_PREPAID_50K",
"customer_number": "12345678910"
}
PLN Postpaid Inquiry
{
"product_id": "PLN_POSTPAID",
"customer_number": "22345678910"
}
Product identifier
Customer's account/service number
Additional parameters required for specific products
Successful inquiry response
PLN Prepaid Inquiry Response
{
"data": {
"business_id": "5f27a14a9bf05c73dd040bc8",
"type": "inquiry",
"id": "inq-98765",
"properties": {
"product_id": "PLN_PREPAID_50K",
"admin_amount": 3200,
"base_amount": 50000,
"total_amount": 53200,
"revenue_share_amount": 500,
"currency": "IDR",
"customer_number": "12345678910",
"customer_details": [
{
"key": "Nama Pelanggan",
"value": "John Doe"
},
{
"key": "Nomor Pelanggan",
"value": "12345678910"
}
],
"product_details": [
{
"key": "Tarif/Daya",
"value": "R2/000003500"
},
{
"key": "Denom",
"value": "100.000"
}
],
"bill_details": [
{
"key": "Admin",
"value": "3200"
}
]
}
}
}
Xendit's Business ID
Type of response, always "inquiry"
Unique inquiry identifier
Product identifier
Administrative fee amount
Base product amount
Total amount including admin fee
Partner revenue share amount
Currency of the product
Customer's account/service number
Array of customer information key-value pairs
Name of the detail field
Value of the detail field
Array of product information key-value pairs
Name of the detail field
Value of the detail field
Array of billing information key-value pairs
Name of the detail field
Value of the detail field
Inputs are failing validation. The errors field contains details about which fields are violating validation.
The provided id
does not exist. Please review the id
and try again
Conflict
Bad Gateway - Biller error
Service Unavailable - Biller maintenance
Gateway Timeout - Biller timeout