APIs for Businesses
Home
APIs
  • Checkout/ Deeplink
  • Merchant Proxy
  • Bill24 Hosted
  • Auto Direct Debit
  • KHQR Integration Specification for API
  • Notification API
  • On Boarding Sub Biller API
Home
APIs
  • Checkout/ Deeplink
  • Merchant Proxy
  • Bill24 Hosted
  • Auto Direct Debit
  • KHQR Integration Specification for API
  • Notification API
  • On Boarding Sub Biller API
CHECKOUT/ DEEPLINKMerchant ProxyBill24 HostedAuto Direct DebitKHQR Integration Specification for APINotification APIPayment Method
CHECKOUT/ DEEPLINKMerchant ProxyBill24 HostedAuto Direct DebitKHQR Integration Specification for APINotification APIPayment Method
  1. Get Bills
  • Payment Method API
    • Overview
    • Response Code
    • MOBILE SDKS
      • iOS SDK
      • Android SDK
    • Authorization
      • Authorization
    • Customer
      • Get Customer Details
      • Update Customer
      • Delete Customer
      • Create Customer
    • Get Payment Methods
      • Get Payment Methods
    • Get Wallet Balance
      • Get Wallet Balance
    • Settle Payment
      • Settle Payment
    • Get Bills
      • Get list bills
        GET
      • Get single bill
        GET
    • Get transaction Details
      • Get Transaction Detail
  • Activate Sub Biller API
    • Overview
    • Response Code
    • Authorization
      POST
    • Onboarding
      POST
    • Get Available Banks
      GET
    • Add Link Account
      POST
    • Verify Linked Bank Account
      POST
  1. Get Bills

Get single bill

GET
https://merchantapi-demo.bill24.io/instant_payment/get_single_bill/{{refId}}
This endpoint use to get a invoice of customer
The parameter {{refId}} is required to be include in the the request URL.

Request

Header Params
Content-Type
string 
required
Example:
application/json
Authorization
string 
required
Example:
Bearer {token get from endpoint (Authorization)}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://merchantapi-demo.bill24.io/instant_payment/get_single_bill/{{refId}}' \
--header 'Authorization:  Bearer {token get from endpoint (Authorization)}' \
--header 'Content-Type: application/json'

Responses

🟢200Success
application/json
Body
code
string 
optional
Response Code
message
string 
optional
Response message in English
message_kh
string 
optional
Response message in khmer
data
object 
optional
ref_id
string 
optional
Reference ID of bill
date
string 
optional
Bill date
due_date
string 
optional
Bill due date
description
string 
optional
description
currency
string 
optional
currency
total_amount
integer 
optional
total_amount
customer_sync_code
string 
optional
Sync code of customer
bill_status
string 
optional
Status of bill
details
array [object {5}] 
optional
Detail for this bill
payment
object 
optional
payment information
Example
{
    "code": "000",
    "message": "Success",
    "message_kh": "ជោគជ័យ",
    "data": {
        "ref_id": "QwgujSUC6O",
        "date": "2025-06-25T00:00:00",
        "due_date": "2025-07-02T00:00:00",
        "description": "tesing with CPO7",
        "currency": "KHR",
        "total_amount": 5000,
        "customer_sync_code": "98470002",
        "bill_status": "paid",
        "details": [
            {
                "item_name": "100KWh",
                "description": "for charge",
                "quantity": 1,
                "price": 5000,
                "amount": 5000
            }
        ],
        "payment": {
            "checkout_link": "https://staging.bill24.io:22034/checkoutv2/2000000000007130550",
            "checkout_ref": "2000000000007130550",
            "payment_date": "2025-06-27T18:16:10.838821",
            "payment_method": "wallet"
        }
    }
}
Modified at 2025-07-08 17:30:54
Previous
Get list bills
Next
Get Transaction Detail