Customer Detail

The Get Customer Detail API allows you to retrieve detailed information for a specific customer. This API provides more comprehensive data, including all relevant customer attributes, which are not available through the Get Customer List API.

You can also store the customer data in your database for critical operations, so it is not always necessary for the client app or web to request this API repeatedly. Use this API when you need in-depth customer details.

Get Customer Detail

GET /customer/{detail_id}

This endpoint retrieves detailed information for a specific customer, providing comprehensive data that is not included in the Get Customer List API.

Headers

Name
Value

Accept

application/json

Authorization

Bearer <token>

Params

Name
Type
Description

client_code

string

client identifier. Mandatory.

{detail_id}

Value
Type
Description

phone

string

id may contain phone, if barcode is not sent.

barcode

string

id may contain barcode, if phone is not sent.

Response

{
    "status": "success",
    "status_code": 200,
    "data": {
        "id": 109905,
        "code": "0000000003",
        "barcode": "0000000012",
        "name": "Girein",
        "id_number": "1234567890123455",
        "profile_picture": null,
        "active": true,
        "expired_at": "2025-10-08 09:19:56",
        "total_expense": 3150000,
        "point": {
            "redeem": 10,
            "lucky_draw": 0
        },
        "referral_code": "GIRDQZJU",
        "birth_place": "Jakarta",
        "birth_date": "1995-08-09",
        "gender": "M",
        "marital_status": "Single",
        "religion": "Catholic",
        "blood": "Others",
        "crypto_address": null,
        "ig_username": null,
        "preferred_contact": "Both",
        "phone": {
            "mobile": "6281298983778",
            "home": null,
            "business": null
        },
        "facsimile": null,
        "email": "[email protected]",
        "id_type": {
            "id": 360,
            "code": "001",
            "name": "KTP"
        },
        "card_type": {
            "id": 202,
            "name": "REGULAR CARD",
            "target_amount": 0,
            "minimum_expense": 0,
            "multiplier_point": 1,
            "expired_period": 9999,
            "level_up_evaluation_days": 365,
            "level_down_evaluation_days": 365,
            "default": true,
            "active": true,
            "image": null,
            "benefits": []
        },
        "nationality": {
            "id": 1112,
            "code": "999",
            "name": "Others"
        },
        "occupation": {
            "id": 1799,
            "code": "999",
            "name": "Others"
        },
        "address": {
            "id": 93289,
            "address": "Gunung Sahari",
            "zip_code": "10610",
            "default": true,
            "country": {
                "id": 1,
                "name": "Indonesia"
            },
            "province": {
                "id": 31,
                "name": "Dki Jakarta"
            },
            "city": {
                "id": 153,
                "name": "Kab. Kepulauan Seribu"
            },
            "village": null
        }
    }
}

Last updated