Skip to main content

Update User Agent Identity

PUT 

/kyc-sandbox/api/v1/users/:agent_id/repair

An endpoint for resubmit the Agent’s identity data.

Request

Path Parameters

    agent_id stringrequired

    The agent ID of the user.

Header Parameters

    Request-ID stringrequired

    A unique identifier for the request, used for tracking and troubleshooting purposes. In case of any errors, Flip can use this value to trace and investigate the specific request. The Request-ID will be formed of bigflip-{uuid}, where the “uuid” (Universally unique identifier) has to be generated on your end. Example: "Request-ID: bigflip-47EB7F57-5565-4BF0-B9DD-46C6268CEE71".

Body

    user_type integerrequired

    Input 1 for The user type is Agent

    name string

    Possible values: non-empty and <= 50 characters

    Alphanumeric Agent's full name

    identity_type string

    Type of Identity. Accept value are as follow 1 for (National Id Card/KTP), 2 is Passport

    identity_number string

    Identity number based on the identity_type chosen.

    birth_date date

    Agent's Birth Date; The format is DD-MM-YYYY

    birth_place string

    Possible values: <= 255 characters

    Agent’s birth place.

    country_id string

    Agent’s country code based on the identity chosen. Available values can be retrieved from the country list API here.

    province_id string

    Agent’s province code based on the identity chosen. Available values can be retrieved from the province list API here.

    city_id string

    Agent’s city code based on the identity chosen. Available values can be retrieved from the city list API here.

    district_id string

    Agent’s district code based on the identity chosen. Available values can be retrieved from the district list API here.

    address string

    Possible values: >= 10 characters and <= 300 characters, Value must match regular expression ^[a-zA-Z0-9\s\.\-\/\(\)]+$

    Agent’s address based on the identity chosen. Allows Alphanumeric, numbers, spaces, periods, hyphens, slashes, and parentheses.

    gender string

    Agent’s gender. Accepted value are as follows 1 for Male, 2 for Female.

    occupation string

    Agent’s job. Accepted value are as follows housewife, entrepreneur, private_employee, government_employee, foundation_board for People who work at foundation as an employee, indonesian_migrant_worker Also known as TKI, company If sender is a company, not individual, others

    phone_number string

    Agent’s phone number. It must be the one that has been verified by the company.

    user_identity_address string

    A flag to set if the current residential address of the Agent is the same as the identity address. Value 0 for false, `1`` for true

    email Agent's email address
    residence_country_id string

    Agent’s Country id code based on the Agent current residence. Available values can be retrieved from the Country Id list API

    residence_province_id string

    Agent’s Province id code based on the Agent current residence. Available values can be retrieved from the Province Id list API

    residence_city_id string

    Agent’s City Id code based on the Agent current residence. Available values can be retrieved from the City Id list API

    residence_district_id string

    Agent’s District Id code based on the Agent current residence. Available values can be retrieved from the District Id list API

    residence_address string

    Agent’s address based on the Agent current address. Allows Alphanumeric, numbers, spaces, periods, hyphens, slashes, and parentheses.

Responses

Successful KYC submission with user details

Schema

    user_id integer

    The ID of the user.

    user_type integer

    The type of user.

    name string

    The name of the user.

    birth_place string

    The birthplace of the user.

    birth_date date-time

    The birthdate of the user.

    gender integer

    The gender of the user.

    status integer

    The status of the KYC process.

    basic_data_filled boolean

    Indicates if the basic data is filled.

    identity_type integer

    The type of identity document.

    nik string

    The national identification number.

    passport_number stringnullable

    The passport number of the user (if available).

    occupation string

    The occupation of the user.

    country_id integer

    The country ID.

    province_id integer

    The province ID.

    city_id integer

    The city ID.

    district_id integer

    The district ID.

    address string

    The address of the user.

    residence_country_id integer

    The residence country ID.

    residence_province_id integer

    The residence province ID.

    residence_city_id integer

    The residence city ID.

    residence_district_id integer

    The residence district ID.

    residence_address string

    The residence address of the user.

    created_at date-time

    The timestamp when the record was created.

    updated_at date-time

    The timestamp when the record was last updated.

Loading...