Skip to main content

Documentation

Create Rapyd Verify Application

Create an application for Rapyd Verify where the client (applicant) provides information directly to Rapyd.

After the applicant submits the application on the hosted page, Rapyd verifies the information. When the status of the application changes, Rapyd sends Application Status Change Webhook.

The redirect_url value in the response provides the link to the hosted application.

When the customer browses to the URL, Rapyd sends an authentication code to the applicant's phone. For the sandbox, the authentication code is 111111.

The application is created upon one of the following events:

  • If you specify application_type in the request, the application is created when the hosted page is created.

  • If you do not specify application_type, the application is created when the applicant selects an application type and saves it.

Important

The redirect_url value in the response provides the link to the hosted application.

When the customer browses to the URL, Rapyd sends an authentication code to the applicant's phone. For the sandbox, the authentication code is 111111.

  • /v1/verify/applications/hosted

  • Create Rapyd Verify Application

  • curl -X post
    https://sandboxapi.rapyd.net/v1/verify/applications/hosted/
    -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'
    -d '{
        "rapyd_entity_token": "ewallet_ef84c580177dbfc4293b1cf73c73fc77",
        "client_reference_id": "1234-b",
        "phone_number": "+12125551256",
        "merchant_fallback_url": "https://rapyd.net",
        "metadata": {
            "merchant-defined": true
        },
        "country": "us"
    }
    '
    
  • {
        "status": {
            "error_code": "",
            "status": "SUCCESS",
            "message": "",
            "response_code": "",
            "operation_id": "36ded6e4-9fc2-4aff-8163-1a3ee5d7d265"
        },
        "data": {
            "token": "happ_327bc354-2b6f-41d9-90e3-74aa7fed3287",
            "rapyd_entity_token": "ewallet_ef84c580177dbfc4293b1cf73c73fc77",
            "cancel_url": null,
            "complete_url": null,
            "client_reference_id": "1234-b",
            "application_token": null,
            "phone_number": "+12125551256",
            "merchant_details": {
                "merchant_website": "https://www.net.net",
                "merchant_logo": "",
                "merchant_language": null,
                "merchant_alias": "Rapyd"
            },
            "redirect_url": "https://sandboxverify.rapyd.net/verify?token=happ_327bc354-2b6f-41d9-90e3-74aa7fed3287"
        }
    }
Related information