Get Current Account
Get SubAccount
GET /api/subaccount/<subaccount_id>
Get data of subaccount user.
Headers
Name
Value
x-api-key
<token>
signature
<token>
Example query parameter request
/api/subaccount/3dc81811-8cdb-49c6-8f9e-9125ea4540b0Response
{
    "message": "Subaccount found",
    "payload":
        {
            "id": "fa9c386d-5dce-4b81-a50d-769386360aff",
            "merchant_id": "df28d384-6a44-47aa-887d-5a2560fc697d",
            "suba_name": "Sandbox subaccount",
            "title": "Mr.",
            "first_name": "Sandbox",
            "last_name": "Teslastudio",
            "email": "[email protected]",
            "dob": "1989-10-20",
            "kassi_status": "ACCEPTED",
            "business_name": "Teslastudio Demo A",
            "business_or_individual": "B",
            "support_email": "[email protected]",
            "mobile_dialcode": "+61",
            "mobile": "483908899",
            "home_phone_international_dialcode": "+61",
            "home_telephone": "434343434",
            "address_data": {
                "address": "443 Sri Ayudhya Road",
                "suburb": "Bangkok",
                "state": "Ratchathewi",
                "country": "THA",
                "postcode": "10400"
            },
            "has_passed_kyc": "N/A",
            "kyc_status": "pending",
            "postback_url": "https://eobmbgwd9o1xe0t.m.pipedream.net",
            "sms_provider": "cellcast",
            "email_provider": "sendgrid",
            "created_at": "1707799593596"
        }
}{
    "message": "Get SubAccount failed",
    "error": [
        {
            "code": "SUBA101",
            "message": "SubAccount not found"
        }
    ]
}Last updated

