{{customer_sync_code}}
is required to be include in the the request URL.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)}'
{
"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": ""
}
]
}