API Documentation
  1. Customer
API Documentation
  • API Reference Guide
    • Checkout Page
    • Payin - KRW (Server to Server)
    • Purpose Code
    • Payout Payload Example
    • List of Payin Methods
  • API Documentation
    • Master Data
      • Get All Country & Currency Code
    • Payout Method
      • Get Required Fields by Payout method
      • Get All Payout Method
    • Payin Method
      • Get All Payin Method
      • Get Required Fields by Payin method
    • Payout Beneficiary
      • Create Payout Beneficiary
      • Update Payout Beneficiary
      • Get All Payout Beneficiary
      • Get Payout Beneficiary by Id
      • Validation by Id
      • Validation by Body
    • Payin
      • Create Payin
      • Retrieve Payin
      • Retrieve Payin Memo (PDF)
      • Create Virtual Account
    • Payout
      • Create Payout
      • Simulate Payout
      • Retrieve Payout Memo (PDF)
      • Retrieve Payout
      • Get All Payout
    • Checkout
      • Create Payment Request
      • Get All Checkout
      • Cancel Checkout
      • Get Detail Checkout
      • Create Virtual Account [KRW]
      • Get VA Bank Information [KRW]
      • Create New Checkout
    • Transaction
      • Find Transaction by Id
      • Get All Transaction
    • Wallet
      • Create Wallet
      • Get All Wallet
      • Get by Wallet Id
    • Customer
      • Create Customer
        POST
      • Update Customer
        PATCH
      • Get All Customer
        GET
      • Get Detail Customer by Id
        GET
      • Check Is Customer Wallet Ready
        GET
      • Enable Customer
        PATCH
      • Disable Customer
        PATCH
      • Delete Customer
        DELETE
    • Webhook
      • Webhook PAYIN SUCCESS
      • Webhook PAYOUT SUCCESS
      • Webhook PAYOUT FAILED
      • VA Register Callback
    • Get List Payment Method by Currency
      GET
  • Features Documentation
    • Dashboard
    • Transaction
      • Payin
      • Payout
      • Rolling Reserve
      • Refund Request
    • Finance
      • Settlement Report APM
      • Settlement Report CARD
      • History Balance APM
      • History Balance CARD
    • Account
      • Profile Account
      • Manage Users
    • Setting
      • Integration Details
  1. Customer

Delete Customer

DELETE
/api/v1/customer/customer/{customer_id}
This API is used to Soft-delete a customer profile using customer_id.
When a customer is deleted, their status is updated to DELETED, but their data still remains in the database. This ensures that all transactional activities can still be accessed if required.

Request

Path Params
customer_id
string 
required
Example:
customer_d4668153816c4c0c92c62b84fc5ada3f
Header Params
X-token
string 
required

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 DELETE 'https://api.paycombat.com/api/v1/customer/customer/customer_d4668153816c4c0c92c62b84fc5ada3f' \
--header 'X-token;'

Responses

🟢200Success
application/json
Body
status
boolean 
required
message
string 
required
data
object 
required
request_id
string 
required
request_time
string 
required
success
boolean 
required
status_code
integer 
required
status_text
string 
required
data
object 
required
is_wallet_ready
boolean 
required
missing_field
array[string]
required
Example
{
    "status": true,
    "message": "OK",
    "data": {
        "request_id": "badd8bdd8a3d161f71b3eb9ad9d1c6b0",
        "request_time": "2024-12-30T02:58:47.085Z",
        "success": true,
        "status_code": 200,
        "status_text": "OK",
        "data": {
            "customer_id": "customer_d4668153816c4c0c92c62b84fc5ada3f",
            "org_id": "org_59b8fb2f52254f95ac54d0e140f4e429",
            "type": "individual",
            "description": "TEST PAYIN FATUR",
            "webhook_url": null,
            "metadata": null,
            "is_active": false,
            "is_wallet_ready": false,
            "organization_reference_id": null,
            "is_gca_enabled": false,
            "gca_activation_status": "NOT_STARTED",
            "gca_activated_at": null,
            "is_sender_validation_enabled": false,
            "payin_sender_id_list": null,
            "company_domain": null,
            "individual": {
                "first_name": "Fatur",
                "last_name": "Gautama S",
                "dob": "1997-08-04",
                "email": "fatur@paycombat.com",
                "nationality": "ID",
                "address_country": "ID",
                "address_state": "CENTRAL JAVA",
                "address_city": "SEMARANG",
                "address_line1": "Grand Rudensia Blok C1",
                "address_line2": "RT 013, RW 001",
                "address_zip_code": "50272",
                "country_of_residence": "ID",
                "phone_number": "85156781165",
                "phone_country_code": "+62",
                "phone_number_e164": "+6285156781165",
                "identification_type": "NATIONAL_ID",
                "identification_custom_type": null,
                "identification_value": "3374"
            },
            "created_at": "2024-12-05T07:16:05.079Z",
            "updated_at": "2024-12-30T02:53:52.470Z"
        }
    }
}
🟠400Bad Request
Modified at 2025-05-08 08:12:33
Previous
Disable Customer
Next
Webhook PAYIN SUCCESS