Skip to main content
POST
/
createSession
cURL
curl --request POST \
  --url https://gateway.7exchange.io/kyc/1.0.0/createSession \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "verification": {
    "callback": "<string>",
    "person": {
      "firstName": "<string>",
      "lastName": "<string>",
      "dateOfBirth": "<string>",
      "gender": "<string>"
    },
    "document": {
      "type": "<string>",
      "country": "<string>"
    },
    "vendorData": "<string>"
  }
}'
{
  "reason": "<string>",
  "path": "<string>",
  "method": "<string>",
  "message": "<string>",
  "timestamp": "<string>",
  "status": 123
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
verification
object
required

Response

Internal server error

reason
string

Reason phrase

path
string

Request path

method
string

Method type of the request

message
string

Error message

timestamp
string

Timestamp of the error

status
integer

Relevant HTTP status code