Submit KYC

Description

Submit KYC information of your users.

Endpoint

  • REST API: POST https://live.cpayapi.com/openapi/v1/submitKYC

Parameters

Name
Type
Mandatory
Description

Content-Type

string

application/json

Body

Name
Type
Mandatory
Description

merchantId

int64

yes

unique id generated by us

data

string

yes

KYC information in JSON format

sign

string

yes

Response

Name
Type
Description

code

int64

msg

string

description of code

traceid

string

unique request id generated by us

data.count

int

quantity accepted

Example

  • Request

curl -X POST 'https://api.cpay.ltd/openapi/v1/submitKYC' \ 
-H 'Content-Type: application/json' \
-d '
{
    "merchantId": 20006051,
    "data": [
        {
            "userId": "KYC-test-01",
            "firstName": "Joe",
            "lastName": "Doe",
            "middleName": "jack",
            "birthday": "1987-05-01",
            "gender": "male",
            "country": "RU",
            "iddCode": "7",
            "personalCode": "12341234123",
            "certificateDateStart": "2008-01-01",
            "certificateDateEnd": "2038-01-01",
            "email": "[email protected]",
            "mobile": "23452345",
            "idCardUrls": [
                "http://dummyimage.com/234x60",
                "http://dummyimage.com/125x125"
            ],
            "documentUrls": [
                "http://dummyimage.com/160x600",
                "http://dummyimage.com/180x150",
                "http://dummyimage.com/160x600"
            ]
        }
    ],
    "sign": "aliquixxadipisicing"
}'
  • Response

Successful response example.

{
    "code": 0,
    "msg": "success",
    "data": {
        "count": 10
    },
    "traceid": "221117082830X664938"
}

Last updated