For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Dashboard
HomeAPI Reference
HomeAPI Reference
  • Overview
    • API Overview
  • Vlens API
      • GETList available product types
      • GETGet form fields for a product type
      • GETCheck user eligibility
      • POSTCreate a business request
      • GETGet current business request
      • GETList user's business requests
      • GETList business request IDs and statuses
      • GETGet business request by ID
      • POSTRequest contract activation OTP
      • POSTRe-validate liveness after location change
      • POSTValidate contract activation OTP
      • POSTConfirm payment and activate contract
      • POSTGenerate WebView signing URL
      • GETDownload contract PDF
Dashboard
LogoLogo
Vlens APIBusiness Request

Confirm payment and activate contract

||View as Markdown|
POST
https://api.vlenseg.com/api/BusinessRequest/CustomerSign/StepValidatePayment
POST
/api/BusinessRequest/CustomerSign/StepValidatePayment
$curl -X POST https://api.vlenseg.com/api/BusinessRequest/CustomerSign/StepValidatePayment \
> -H "ApiKey: <apiKey>" \
> -H "Content-Type: application/json" \
> -d '{
> "geoLocation": {
> "latitude": 30.0444,
> "longitude": 31.2357
> },
> "userDeviceUtcTime": "2025-01-15T10:32:00Z",
> "requestId": "81f404b3-d7dc-4f08-b4fe-934853c86282"
>}'
200Business Request_customerSignStepValidatePayment_example
1{
2 "data": "string",
3 "error_code": 1,
4 "error_message": "string",
5 "error_descriptions": null
6}

Final step of the contract activation flow. Confirms payment and moves the contract to Customer Signed status.

If the request type has no payment configured (hasPaymentCheckPerRequestFeature: false), this step still completes the activation without processing a charge.

Was this page helpful?
Previous

Validate contract activation OTP

Next

Generate WebView signing URL

Built with

Authentication

ApiKeystring
Static API key issued to your tenant. Obtain from the Vlens dashboard.
AuthorizationBearer

Short-lived JWT. Obtain via:

  • /api/credentials/Login for admin / service tokens
  • /api/DigitalIdentity/Register or login for end-user tokens

Request

This endpoint expects an object.
geoLocationobjectRequired
Geographic coordinates of the user's device.
userDeviceUtcTimedatetimeRequired
UTC timestamp from the user's device.
requestIdstringOptionalformat: "uuid"
The business request ID being activated.
contractStorageIdstring or nullOptionalformat: "uuid"
transactionIdstring or nullOptionalformat: "uuid"
The KYC transaction ID associated with this request.
paymentGatewaystring or nullOptional

Payment gateway name (e.g., fawry, kashier).

Response

Contract activated (status → Customer Signed).

datastring or null
error_codeinteger or null
error_messagestring or null
error_descriptionsany or null