APIs for Businesses (Test)
Home
Services
  • Checkout / Deeplink
  • Merchant Proxy
Home
Services
  • Checkout / Deeplink
  • Merchant Proxy
Default module
Default module
  1. Merchant Proxy
  • CHECKOUT/ DEEPLINK
    • CHECKOUT/ DEEPLINK
      • Overview
      • Webhook
      • Full Example
      • FAQ
      • MOBILE SDKS
        • Flutter SDK
        • iOS SDK
        • Android SDK
      • WEB SDKS
        • Web SDK
      • Transaction Initiation
      • Transaction Verification
      • Authorization
  • test
    • CHECKOUT/ DEEPLINK
      • Overview
      • Webhook
      • Full Example
      • FAQ
      • MOBILE SDKS
        • Flutter SDK
        • iOS SDK
        • Android SDK
      • WEB SDKS
        • Web SDK
      • Transaction Initiation
      • Transaction Verification
      • Authorization
  • Merchant Proxy
    • Merchant Proxy
      • Overview
      • Full Example
      • FAQ
      • Proxy
        POST
      • Webhook
        POST
      • test
        POST
  • Bill24 Proxy
    • Bill24 Proxy
      • Overview
      • Full Example
      • FAQ
      • Test
      • Push Customer
      • Push Bill
      • Get Queue
      • Get Queue Detail
      • Webhook
      • Create Payment
      • Get Payment
  1. Merchant Proxy

test

POST
/getitem
Bill24 query bill throught this interface to get bill/ invoice detail. This endpoint implement by Merchant side.
NOTE
Change to your best URL:https://yourdomain/proxy
Request Header mock API:
NamevalueDescription
SuccesssuccessTest case successful (default success)
FailfailTest case fail

Request

Body Params application/json
object {0}
Example
{
    
}

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 POST '/getitem' \
--header 'Content-Type: application/json' \
--data-raw '{
    
}'

Responses

🟢200Success
application/json
Body
code
integer 
required
message
string 
required
message_kh
string 
required
data
object 
required
consumer_code
string 
required
consumer_name
string 
required
consumer_name_latin
string 
required
phone
string 
required
currency
string 
required
due_amount
integer 
required
min_amount
integer 
required
max_amount
integer 
required
balance
integer 
required
description
string 
required
last_bill_date
string 
required
last_due_date
string 
required
last_pay_date
string 
required
Example
{
    "code": 0,
    "message": "Success",
    "message_kh": "",
    "data": {
        "consumer_code": "CU003035",
        "consumer_name": "ញ៉េប នីម",
        "consumer_name_latin": "Nheb Nim",
        "phone": "010888999",
        "currency": "USD",
        "due_amount": 10,
        "min_amount": -1,
        "max_amount": 5000,
        "balance": 0,
        "description": "Invoice on Feb-2024",
        "last_bill_date": "2024-2-29 10:46:33",
        "last_due_date": "2024-3-30 10:46:33",
        "last_pay_date": "2024-01-05 10:46:33"
    }
}
🟠404Record not found
🟠400Invalid input
🟢200OK
Modified at 2024-02-13 02:01:36
Previous
Webhook
Next
Overview