API Documentation
  1. Customer
API Documentation
  • API Documentation Change Log
  • API Reference Guide
    • Checkout Page
    • Payin - KRW (Server to Server)
    • Purpose Code
    • Payout Payload Example
    • List of Payin Methods
    • List of Bank for Payout Methods
  • API Documentation
    • Master Data
      • Get All Country & Currency Code
    • Payout Method
      • Get All Payout Method
    • Payin Method
      • Get All Payin Method
      • Get Required Fields by Payin method
    • Payin
      • Create Payin
      • Simulate Payin
      • Retrieve Payin
      • Create Virtual Account
    • Payout
      • Create Payout
      • Simulate Payout
      • Retrieve Payout
      • Get All Payout
    • Checkout
      • Create Payment Request
      • Get All Checkout
      • Get Detail Checkout
      • Create Virtual Account [KRW]
      • Get VA Bank Information [KRW]
      • Create New Checkout
    • 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
      • Webhook PAYIN EXPIRED
    • Merchant
      • Get Balance Payout
    • 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

Update Customer

PATCH
/api/v1/customer/update
This API is used to update one or more fields in a customer profile by customer_id. To clear a field, set it to an empty string.
Each POST/PATCH Request requires a Signature in the header, you can follow the following code to create the Signature:
const crypto = require('crypto');
const signature = crypto.createHmac('sha256', signatureKey) .update(JSON.stringify(data)).digest('hex');

Request

Header Params

Body Params application/json

Example
{
    "customer_id": "string",
    "description": "string",
    "type": {},
    "organization_reference_id": "string",
    "metadata": {},
    "company": {
        "name": "string",
        "registration_number": "string",
        "incorporation_country": "string",
        "company_email": "string",
        "address_line1": "string",
        "address_line2": "string",
        "address_city": "string",
        "address_state": "string",
        "address_country": "string",
        "address_zip_code": "string",
        "phone_country_code": "string",
        "phone_number": "string",
        "authorized_user": {
            "first_name": "string",
            "email": "string",
            "last_name": "string",
            "dob": "string",
            "identification_type": "string",
            "identification_value": "string",
            "nationality": "string",
            "address_line1": "string",
            "address_line2": "string",
            "address_state": "string",
            "address_city": "string",
            "address_country": "string",
            "address_zip_code": "string",
            "country_of_residence": "string",
            "phone_country_code": "string",
            "phone_number": "string"
        }
    },
    "individual": {
        "first_name": "string",
        "last_name": "string",
        "dob": "string",
        "email": "string",
        "identification_type": "string",
        "identification_value": "string",
        "address_line1": "string",
        "address_line2": "string",
        "address_city": "string",
        "address_state": "string",
        "address_country": "string",
        "address_zip_code": "string",
        "country_of_residence": "string",
        "nationality": "string",
        "phone_country_code": "string",
        "phone_number": "string"
    }
}

Request Code 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 PATCH 'https://api.paycombat.com/api/v1/customer/update' \
--header 'X-token;' \
--header 'signature;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "customer_id": "string",
    "description": "string",
    "type": {},
    "organization_reference_id": "string",
    "metadata": {},
    "company": {
        "name": "string",
        "registration_number": "string",
        "incorporation_country": "string",
        "company_email": "string",
        "address_line1": "string",
        "address_line2": "string",
        "address_city": "string",
        "address_state": "string",
        "address_country": "string",
        "address_zip_code": "string",
        "phone_country_code": "string",
        "phone_number": "string",
        "authorized_user": {
            "first_name": "string",
            "email": "string",
            "last_name": "string",
            "dob": "string",
            "identification_type": "string",
            "identification_value": "string",
            "nationality": "string",
            "address_line1": "string",
            "address_line2": "string",
            "address_state": "string",
            "address_city": "string",
            "address_country": "string",
            "address_zip_code": "string",
            "country_of_residence": "string",
            "phone_country_code": "string",
            "phone_number": "string"
        }
    },
    "individual": {
        "first_name": "string",
        "last_name": "string",
        "dob": "string",
        "email": "string",
        "identification_type": "string",
        "identification_value": "string",
        "address_line1": "string",
        "address_line2": "string",
        "address_city": "string",
        "address_state": "string",
        "address_country": "string",
        "address_zip_code": "string",
        "country_of_residence": "string",
        "nationality": "string",
        "phone_country_code": "string",
        "phone_number": "string"
    }
}'

Responses

🟢200Success
application/json
Body

Example
{
    "data": {
        "company": {
            "company_domain": {},
            "name": "string",
            "registration_number": "string",
            "incorporation_country": "string",
            "address_country": "string",
            "address_state": "string",
            "address_city": "string",
            "address_line1": "string",
            "address_line2": {},
            "address_zip_code": "string",
            "phone_number": "string",
            "phone_country_code": "string",
            "phone_number_e164": "string",
            "email": "string",
            "authorized_user": {
                "first_name": "string",
                "last_name": "string",
                "dob": "string",
                "email": "string",
                "nationality": "string",
                "address_country": "string",
                "address_state": "string",
                "address_city": "string",
                "address_line1": "string",
                "address_line2": {},
                "address_zip_code": "string",
                "country_of_residence": "string",
                "phone_number": "string",
                "phone_country_code": "string",
                "phone_number_e164": "string",
                "identification_type": "string",
                "identification_custom_type": {},
                "identification_value": "string"
            }
        },
        "created_at": "string",
        "created_by": "string",
        "customer_id": "string",
        "description": "string",
        "gca_activated_at": "string",
        "gca_activation_status": "string",
        "is_active": true,
        "is_gca_enabled": true,
        "is_wallet_ready": true,
        "metadata": {},
        "org_id": "string",
        "organization_reference_id": "string",
        "type": "string",
        "updated_at": "string",
        "webhook_url": "string"
    },
    "request_id": "string",
    "request_time": "string",
    "status_code": 0,
    "status_text": "string",
    "success": true
}
🟠400Bad Request
Modified at 2025-05-08 08:12:42
Previous
Create Customer
Next
Get All Customer