Paytrie Developer Documentation
API ReferenceSumsub

Post Sumsub Import User

This route is for our partners which utilize Sumsub as their KYC provider. If the reusable KYC feature is enabled in your Sumsub integration, you can use this route to send the share token to import the user into our system. (For more information on the Sumsub reusable KYC feature, please refer to the following link: https://docs.sumsub.com/docs/reusable-kyc#how-reusable-kyc-via-api-works)

POST
/sumsubImportUser

Request Body

application/json

share_token*string

This is share token that you generate with Sumsub. Please refer to this page for more information: https://docs.sumsub.com/reference/generate-share-token

Response Body

application/json

application/json

curl -X POST "https://api.paytrie.com/sumsubImportUser" \  -H "Content-Type: application/json" \  -d '{    "share_token": "_act-sbx-jwt-eyJhbGciOiJub25lIn0.eyJqdGkiOiJ....uY29tIn0."  }'
{
  "message": "User imported successfully",
  "status": "success"
}
{
  "message": "Sumsub error code: 10503, Sumsub error description: The provided share token is malformed or expired.",
  "status": "User could not be imported."
}