Skip to main content
POST
/
v1
/
kyc
/
customers
/
{customerId}
/
kyc
Submit KYC documents
curl --request POST \
  --url https://{baasHost}/api/v1/kyc/customers/{customerId}/kyc \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "documents": [
    {
      "type": "NATIONAL_ID",
      "url": "https://storage.example.com/id-front.jpg"
    }
  ],
  "identifiers": [
    {
      "type": "nid",
      "value": "TZ-NIN-19900115-001"
    }
  ]
}
'
{
  "error": {
    "code": "UNAUTHORIZED",
    "message": "Token expired or invalid"
  }
}

Authorizations

Authorization
string
header
required

Bearer token from POST /generate-token. Expires ~1h; on 401, re-generate and retry once.

Path Parameters

customerId
string<uuid>
required

Body

application/json
documents
object[]
required
identifiers
object[]

Response

KYC submitted