v1

latestOpenAPI 3.0.12026-07-2421268219.4 KB

Generate Document Vault upload request link

post/v1/requests

Request body

referencestring required
successUrlstring required
cancelUrlstring required
errorUrlstring required
webhookEndpointstring
contextobject

Example request

{
  "reference": "20230131-0123456789",
  "successUrl": "https://example.org?success",
  "cancelUrl": "https://example.org?cancel",
  "errorUrl": "https://example.org?error",
  "webhookEndpoint": "https://example.org?webhook",
  "context": {
    "First Name": "John",
    "Last Name": "Doe",
    "Credit Card": "xxxx xxxx xxxx 4242"
  }
}

Response

Success

linkstring

URL of the public Document Vault upload page