Skip to main content

Documentation

Change Application Type

This POST method is required only in cases where there is a need to change the application type.

    • app_token

    • The application token identifier. String that starts with app_.

    • app_type

    • The revised application type. String that starts with typ_.

    • business_industry

    • The revised business industry of the company as determined in step 1.

    • sell_type

    • The revised sell type of the company as determined in step 1.

Note

Due to the length of the response, in this example on the right side of this page, a shortened version of the response is displayed.

The response includes the updated type and sections of the application.

  • {base_uri}/verify/api/applications/:app_token/types/:app_type/switch

  • Change Application Type

  • curl -X POST {base_uri}/verify/api/applications/app_efda05cdff0846a0b06ba22e00be8a4b/types/typ_WyJJUyIsMiwwLCJDaGFyaXR5IG9yIE5QTyJd/switch
    -H 'access_key: your-access-key-here'
    -H 'Content-Type: application/json'
    -H 'idempotency: your-idempotency-parameter-here'
    -H 'salt: your-random-string-here'
    -H 'signature: your-calculated-signature-here'
    -H 'timestamp: your-unix-timestamp-here'
    -H 'api_timestamp: your-unix-timestamp-here'
    -d '
    {
     "sell_type": "ATS-0004",
     "business_industry": "4829"
    }
    '
    
  • {
        "status": {
            "error_code": "",
            "status": "SUCCESS",
            "message": "",
            "response_code": "",
            "operation_id": "e6b8a8c2-6671-4e84-b800-137fa50e67bb"
        },
        "data": {
            "token": "app_efda05cdff0846a0b06ba22e00be8a4b",
            "rapyd_entity_token": "ewallet_dcfb1f2c6q341d7b11111011917118d11111dc161332d8a282",
            "client_reference_id": null,
            "authorized_user_email": "johndoe@rapyd.necht",
            "version": 2,
            "status": "new",
            "metadata": {},
            "entity_type": "Sole Proprietor",
            "country": "GB",
            "sections": {...}
            ...}
    ...}