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 Payment Methods
  • 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
    • Get Wallet Balance
      • Get Wallet Balance
    • Settle Payment
      • Settle Payment
    • Get Bills
      • Get list bills
      • Get single bill
    • 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 Payment Methods

Get Payment Methods

GET
https://merchantapi-demo.bill24.io/instant_payment/{{customer_sync_code}}/get_payment_methods
This enpoint use to get all Payment method.
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/instant_payment/{{customer_sync_code}}/get_payment_methods' \
--header 'Content-Type:  application/json' \
--header 'Authorization:  Bearer {token get from endpoint (Authorization)}'

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 {8}] 
optional
Data object
id
string 
optional
Payment method identity number
type
string 
optional
Payment method type card , wallet , linked_account
name
string 
optional
Payment method name
sub_title
string 
optional
Payment method subtitle
sub_title_kh
string 
optional
Payment method subtitle khmer
token
string 
optional
Token for payment ( will expired in 2 hours )
is_default
boolean 
optional
Is default payment method for that customer
logo
string 
optional
payment method logo
Example
{
    "code": "000",
    "message": "Success",
    "message_kh": "ជោកជ័យ",
    "data": [
        {
            "id": "xxxxx",
            "type": "wallet",
            "name": "Kouern Deav's Wallet(KHR)",
            "sub_title": "Balance : 150.00 KHR",
            "sub_title_kh": "សមតុល្យ : 150.00 KHR",
            "token": "xxxxxx",
            "is_default": true,
            "logo": ""
        },
        {
            "id": "xxxxx",
            "type": "card",
            "name": "Kouern Deav's Visa card",
            "sub_title": "Account No : **********3234",
            "sub_title_kh": "លេខ account : **********3234",
            "token": "xxxxxx",
            "is_default": false,
            "logo": ""
        }
    ]
}
Modified at 2025-07-08 17:19:55
Previous
Create Customer
Next
Get Wallet Balance