stile
PlaygroundVerification sessions

Cancel a verification session

POST
/v1/verification_sessions/{id}/cancel

Authorization

BearerAuth
AuthorizationBearer <token>

Use a secret API key as the bearer token. Keys are prefixed with vk_test_ (test mode) or vk_live_ (live mode).

In: header

Path Parameters

id*string

The verification session ID.

Response Body

application/json

application/json

curl -X POST "http://localhost:3000/v1/verification_sessions/string/cancel"
{
  "id": "string",
  "object": "verification_session",
  "status": "cancelled",
  "cancelled_at": 0
}
{
  "error": {
    "type": "invalid_request_error",
    "code": "string",
    "message": "string",
    "param": "string",
    "request_id": "string"
  }
}