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. Customer
  • Payment Method API
    • Overview
    • Response Code
    • MOBILE SDKS
      • iOS SDK
      • Android SDK
    • Authorization
      • Authorization
    • Customer
      • Get Customer Details
        POST
      • Update Customer
        POST
      • Delete Customer
        POST
      • Create Customer
        POST
    • Get Payment Methods
      • Get Payment Methods
    • 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. Customer

Delete Customer

POST
https://merchantapi-demo.bill24.io/customer/delete
This endpoint use to Delete customer Profile at bill24 side
Allow deletion only when the wallet balance is zero.

Request

Header Params
 Content-Type
string 
required
Example:
application/json
Authorization
string 
required
Example:
Bearer {token get from endpoint (Authorization)}
Body Params application/json
sync_code
string 
required
Identity code for customer at Biller side
Example
{
    "sync_code": "C0001"
}

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 --request POST 'https://merchantapi-demo.bill24.io/customer/delete' \
--header 'Content-Type:  application/json' \
--header 'Authorization:  Bearer {token get from endpoint (Authorization)}' \
--header 'Content-Type: application/json' \
--data-raw '{
    "sync_code": "C0001"
}'

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
object 
optional
id
string 
optional
sync_code
string 
optional
name
string 
optional
name_kh
null 
optional
phone
null 
optional
email
null 
optional
wallet
array[string]
optional
Example
{
    "code": "000",
    "message": " Customer deleted successfully. ",
    "message_kh": " អតិថិជនបានលុបជោគជ័យ។ ",
    "data": {
        "id": "",
        "sync_code": "",
        "name": "",
        "name_kh": null,
        "phone": null,
        "email": null,
        "wallet": []
    }
}
Modified at 2025-07-08 17:19:55
Previous
Update Customer
Next
Create Customer