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. Payment Method API
  • Payment Method API
    • Overview
    • Response Code
    • MOBILE SDKS
      • iOS SDK
      • Android SDK
    • Authorization
      POST
    • Create Customer
      POST
    • Get Payment Methods
      GET
    • Settle Payment
      POST
    • Get List bills
      GET
    • Get Wallet Balance
      POST
    • Get Transaction Detail
      POST
  • 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. Payment Method API

Get List bills

GET
https://merchantapi-demo.bill24.io/bill_payment/{{customer_sync_code}}/get_bills
This endpoint use to get list invoice of customer
The parameter {{customer_sync_code}} 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/bill_payment/{{customer_sync_code}}/get_bills' \
--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
array [object {11}] 
optional
Data object
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 code ex: KHR
total_amount
number 
optional
Total amount of Bill
customer_sync_code
string 
optional
Sync code of customer
total_tax
number 
optional
Total tax in that invoice
invoice_status
string 
optional
Status of invoice
details
array [object {7}] 
optional
Detail for this bill
payment
object 
optional
payment information
Example
{
    "code": "000",
    "message": "Success",
    "message_kh": "ជោគជ័យ",
    "data": [
        {
            "ref_id": "101",
            "date": "2024-06-22T02:41:55.350Z",
            "due_date": "2024-06-30T06:50:55.350Z",
            "description": "upload bills",
            "currency": "KHR",
            "total_amount": 10,
            "customer_sync_code": "xxxxxxxxx",
            "total_tax": 0,
            "invoice_status": "success",
            "details": [
                {
                    "item_mame": "A001",
                    "description": "Hello",
                    "quantity": 2,
                    "price": 5,
                    "amount": 10,
                    "tax_amount": 0,
                    "tax_name": "Charge tax"
                }
            ],
            "payment": {
                "checkout_link": "https://checkout-demo.bill24.io/checkoutv2/960D70FB7B9C",
                "checkout_ref": "960D70FB7B9C",
                "payment_date": "2024-06-22T02:41:55.350Z",
                "payment_ref": "12345",
                "payment_method": "wallet"
            }
        }
    ]
}
Modified at 2025-04-08 02:59:26
Previous
Settle Payment
Next
Get Wallet Balance