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 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": ""
    }
  ]
}
Previous
Create Customer
Next
Settle Payment