name
currency
{ "sync_code": "C0001", "name": "Customer A", "name_kh": "អតិថិជន ក", "phone": "010 795 790", "email": "Sample@gmail.com", "wallet": [ { "name": "Customer A Wallet", "currency": "KHR" } ] }
curl --location --request POST 'https://merchantapi-demo.bill24.io/customer/create' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer {token get from endpoint (Authorization)}' \ --header 'Content-Type: application/json' \ --data-raw '{ "sync_code": "C0001", "name": "Customer A", "name_kh": "អតិថិជន ក", "phone": "010 795 790", "email": "Sample@gmail.com", "wallet": [ { "name": "Customer A Wallet", "currency": "KHR" } ] }'
{ "code": "000", "message": "Success", "message_kh": "ជោគជ័យ", "data": { "id": "5a736f6c-df75-4598-a1ed-bc1850482a0d", "sync_code": "C0001", "name": "Customer A", "name_kh": "អតិថិជន ក", "phone": "010 795 790", "email": "Sample@gmail.com", "wallet": [ { "name": "Customer A Wallet", "currency": "KHR" } ] } }