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
  1. Bill24 Hosted
  • Bill24 Hosted
    • Overview
    • FAQ
    • Authorization
      POST
    • Import Invoice
      POST
    • Get Transaction
      GET
  1. Bill24 Hosted

Get Transaction

GET
https://merchantapi-demo.bill24.io/billflow/v1/payment
This interface allow Billers/Businesses get payments from Bill24 Hosted. Bill24 will response payments default, you can filter as well.

Request

Query Params
d1
string 
required
Start date query transaction
Example:
2024-06-01T00:00:00
d2
string 
required
End date query transaction
Example:
2024-08-30T23:59:00
consumerCode
string 
optional
paymentMethod
string 
optional
currencyId
string 
optional
Header Params
Accept
string 
required
Example:
application/json
Authorization
string 
required
Example:
Bearer
Content-Type
string 
required
Example:
application/json

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 --request GET 'https://merchantapi-demo.bill24.io/billflow/v1/payment?d1=2024-06-01T00:00:00&d2=2024-08-30T23:59:00&consumerCode&paymentMethod&currencyId' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json'

Responses

🟢200OK
application/json
Body
array of:
code
string 
optional
Status code.
consumerCode
string 
optional
Identifier for the consumer
consumerName
string 
optional
Name of the consumer.
billerCode
string 
optional
A unique identifier for the biller
description
string 
optional
A text description of the transaction.
tranDate
string 
optional
The date of the transaction.
tranId
string 
optional
Unique identifier for the transaction.
paymentMethod
number 
optional
A way that customers pay for a service
tranAmount
number 
optional
The transaction amount.
convenienceFeeAmount
number 
optional
The fee charged for the convenience of making the payment.
sponserFeeAmount
number 
optional
An additional fee, possibly related to sponsorship or a third-party charge.
totalAmount
number 
optional
The total amount including the transaction amount and any additional fees.
currencyId
string 
optional
Represents the currency in which the transaction is processed. EX: USD or KHR
overpay
number 
optional
Overpayment amount if the user paid extra.
bankRef
string 
optional
Bank reference number related to the payment.
bankName
string 
optional
The name of the bank used for the transaction.
bankId
string 
optional
Unique identifier of the bank.
bills
array [object {6}] 
optional
id
string 
optional
A unique identifier for the bill.
refId
string 
optional
A reference ID associated with the bill.
refNumber
string 
optional
Reference number for the bill.
paidAmount
number 
optional
The amount that has been paid for this specific bill in the transaction.
date
string 
optional
Bill date
dueDate
string 
optional
BIll dueDate
Example
[
  {
    "code": "834400013402",
    "consumerCode": "00013402",
    "consumerName": "Nheb Nim",
    "billerCode": "8344",
    "description": "",
    "tranDate": "2024-06-27T03:34:15.219+07:00",
    "tranId": "12012012012001",
    "paymentMethod": 1,
    "tranAmount": 4741517.54,
    "convenienceFeeAmount": 0,
    "sponserFeeAmount": 0,
    "totalAmount": 4741517.54,
    "currencyId": "KHR",
    "overpay": 0,
    "bankRef": "10010101101",
    "bankName": "AC",
    "bankId": "AC",
    "bills": [
      {
        "id": "2000000000002224807",
        "refId": "",
        "refNumber": "24062113402",
        "paidAmount": 4741517.54,
        "date": "0001-01-01T00:00:00",
        "dueDate": "0001-01-01T00:00:00"
      }
    ]
  }
]
Previous
Import Invoice