Skip to content

5、LoanKYCAdd

5.1、LoanKYCAdd interface

URL: https://${domain}/api/pay/addUserForKYC

     Please replace ${domain} with your actual service domain name.

Type:POST

Content-Type:application/json

Description: This API is used to verify and add loan KYC information before initiating a transfer request.

Body-parameters:

ParameterTypelimitRequiredDescription
mchNostring32trueMerchant number
appIdstring32trueApplication ID
mchOrderNoString32trueMerchant order number
accountNoString32truebank account number
accountNameString256truePayee name
emailString256truePayee email
bankNameString32truebank code (Refer to item 5)
userPhoneString32truePayee’s mobile phone number
taxIdString32truePayee’s idCard number
signString256truesign
reqTimeInt11trueRequest timestamp (seconds)

Request-example:

js
{
    "mchNo": "M1735112701",
    "appId": "676bb7fefb715596544e2210",
    "mchOrderNo": "PAYOUT_TEST_0009",
    "accountNo": "1234567890",
    "accountName": "test",
    "email": "test@gmail.com",
    "bankName": "001",
    "userPhone": "0123456789",
    "phone": "0123456789",
    "sign": "B5C3EC55B093C9DE54EBB1199D0FFE7D",
    "reqTime": "1739413509"
}

5.1、LoanKYCAdd results

response format:Content-Type:application/json

Response-fields:

ParameterTypeDescription
codeIntCall result: 0 indicates success, other values ​​indicate failure
dataObjectContains specific data information
msgstringResult description
signstringSignature, used to verify the integrity and authenticity of data

data object field:

ParameterTypeDescription
namestringPayee name
bankAccountstringbank account number
taxIdLongUser ID number
bankstringBank Entry
mchOrderNostringMerchant order number
stateStringPending/Active/Failed
telNumberstringPayee’s mobile phone number

Response-example:

js
{
    "code": 0,
    "data": {
        "data": {
            "bank": "SCB",
            "bankAccount": "1681239123",
            "dateCreated": "17/10/2025 14:34:46",
            "dateModified": "17/10/2025 14:34:46",
            "id": "336481",
            "name": "sasitorn",
            "receiverType": "Individual",
            "relationship": "DefaultValue",
            "status": "Pending/Active/Failed",
            "taxId": "18238219131",
            "telNumber": "123456778"
        },
        "message": "Success",
        "status": "200"
    },
    "msg": "SUCCESS",
    "sign": "D6C8FCCB187CE946347B36B2CD8E4857"
}

TIP

•After receiving the response, be sure to validate the sign field to ensure the data has not been tampered with.

•Determine the payment status of the current order based on the value of state, and take corresponding business logic processing.

•Use HTTPS protocol to ensure the security of data transmission.