The parameter {{customer_sync_code}} is required to be include in the the request URL.
Request
Header Params
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
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":""}]}