Paytend BaaS Core API is the core banking interface of Paytend BaaS (Banking as a Service), which provides services for various financial institutions, PSP (payment service provider), EMI (electronic money issuer), PI (payment institution), Fintech, etc. . The API is designed to simplify the provision of financial services, including bank account access and management.
Quick Internet access process: Paytend BaaS Core API can quickly help customers open Paytend IBAN accounts, simplify the Internet access process, and reduce the difficulty of Internet access.
Paytend BaaS Core API is suitable for a variety of usage scenarios, including but not limited to the following:
Detailed access and integration guide will be provided in Paytend BaaS official documentation, including information such as API endpoints, authentication, request examples, and response examples.
Communication Method
Communicate using HTTPS, the message format is JSON
Character Set
Messages are uniformly encoded in UTF-8
bizData:
Encrypted by randomly generated AES KEY.randomKey:
AES KEY is encrypted by Paytend public key.signature:
The signature source string is composed of all non-empty field contents except the signature field, sorted according to the ASCII code of the message field, and connected with the "&" symbol in the manner of "field name = field value".{
"randomKey":"qeM/mnvepEv5MFe7n77brQ==",
"requestId":"20231025102930718",
"signType":"RSA",
"bizData":{
"mobile":"13261402222",
"type":"1"
},
"partnerId":"888666000100260",
"version":"2.0"
}
The signature source string signature is as follows. The signature source string uses the partner RSA private key signature to generate the signature.
bizData={"mobile":"8613261402222","type":"1"}&partnerId=888666000100260&randomKey=gNx86vc1yttHs8ZWOf7+5g==&requestId=20231025095118321&signType=RSA&version=2.0
SHA256withRSA
.117
.128
.signature
field in the request data is generated by the Partner RSA private key signature.signature
field in the response data is generated by the Paytend RSA private key signature.randomKey
and bizData
plain text participate in the signature.Personal users:
Identity document
Face Recognition Photo
If your nationality is not in the EEA, but your residence address is in the EEA, you need to upload an EEA residence permit or EEA address certificate
Corporate users:
Legal person information:
Corporation information:
Verify mobile number
The mobile phone number is the unique identifier of the customer in the Paytend system. This step verifies the uniqueness of the mobile phone number. Paytend will send a verification code to this mobile phone number, and submit the verification code in the next step. (This step is optional.)
Create user (Create individual user/ Create corporation user)
Upload supporting documents
Paytend supports two methods of uploading files.
Questionnaire(Individual questionnaire/Corporation questionnaire)
Paytend BaaS Core API attaches great importance to data security and adopts industry-standard encryption and security measures to protect customers' sensitive information. Detailed security information will be provided in the official documentation.
request
required | object (UserInquery_BizData) |
requestId required | string = 32 characters Request serial number, globally unique. |
partnerId required | string = 15 characters Assigned by paytend. |
randomKey | string AES key |
signType required | string Fixed value RSA. |
signature | string Signed by partner RSA private key. |
version required | string Fixed value 2.0. |
respCode required | string Response code. |
respMsg | string Response message. |
object (UserResponse) | |
randomKey | string AES key. |
signType required | string Fixed value RSA. |
signature | string Signed by paytend RSA private key. |
{- "bizData": {
- "partnerUserId": "string",
- "userId": "string",
- "mobile": "stringst"
}, - "requestId": "stringstringstringstringstringst",
- "partnerId": "stringstringstr",
- "randomKey": "string",
- "signType": "string",
- "signature": "string",
- "version": "string"
}
{- "respCode": "string",
- "respMsg": "string",
- "respData": {
- "partnerUserId": "string",
- "userId": "string",
- "mobile": "string",
- "auditStatus": "string",
- "auditStatusMsg": "string",
- "userStatus": 0,
- "userStatusMsg": "string",
- "accountName": "string",
- "accountNum": "string",
- "openingDate": "string"
}, - "randomKey": "string",
- "signType": "string",
- "signature": "string"
}
request
required | object (Cities_BizData) |
requestId required | string = 32 characters Request serial number, globally unique. |
partnerId required | string = 15 characters Assigned by paytend. |
randomKey | string AES key |
signType required | string Fixed value RSA. |
signature | string Signed by partner RSA private key. |
version required | string Fixed value 2.0. |
respCode required | string Response code. |
respMsg | string Response message. |
object (CitiesResponse) | |
randomKey | string AES key. |
signType required | string Fixed value RSA. |
signature | string Signed by paytend RSA private key. |
{- "bizData": {
- "countryCode": "st",
- "start": "string",
- "maxResult": "string"
}, - "requestId": "stringstringstringstringstringst",
- "partnerId": "stringstringstr",
- "randomKey": "string",
- "signType": "string",
- "signature": "string",
- "version": "string"
}
{- "respCode": "string",
- "respMsg": "string",
- "respData": {
- "total": "string",
- "cityList": [
- {
- "code": "string",
- "codeName": "string"
}
]
}, - "randomKey": "string",
- "signType": "string",
- "signature": "string"
}
request
required | object (UserID_BizData) |
requestId required | string = 32 characters Request serial number, globally unique. |
partnerId required | string = 15 characters Assigned by paytend. |
randomKey | string AES key |
signType required | string Fixed value RSA. |
signature | string Signed by partner RSA private key. |
version required | string Fixed value 2.0. |
respCode required | string Response code. |
respMsg | string Response message. |
object (UserFeesResponse) | |
randomKey | string AES key. |
signType required | string Fixed value RSA. |
signature | string Signed by paytend RSA private key. |
{- "bizData": {
- "userId": "string"
}, - "requestId": "stringstringstringstringstringst",
- "partnerId": "stringstringstr",
- "randomKey": "string",
- "signType": "string",
- "signature": "string",
- "version": "string"
}
{- "respCode": "string",
- "respMsg": "string",
- "respData": {
- "feeList": [
- {
- "id": "string",
- "feeType": 0,
- "feeName": "string",
- "feeRate": 0,
- "minFee": 0,
- "maxFee": 0
}
]
}, - "randomKey": "string",
- "signType": "string",
- "signature": "string"
}
request
requestId required | string = 32 characters Request serial number, globally unique. |
partnerId required | string = 15 characters Assigned by paytend. |
randomKey | string AES key |
bizData | object Request business data |
signType required | string Fixed value RSA. |
signature | string Signed by partner RSA private key. |
version required | string Fixed value 2.0. |
respCode required | string Response code. |
respMsg | string Response message. |
object (UpgradeFeeResponse) | |
randomKey | string AES key. |
signType required | string Fixed value RSA. |
signature | string Signed by paytend RSA private key. |
{- "requestId": "stringstringstringstringstringst",
- "partnerId": "stringstringstr",
- "randomKey": "string",
- "bizData": { },
- "signType": "string",
- "signature": "string",
- "version": "string"
}
{- "respCode": "string",
- "respMsg": "string",
- "respData": {
- "individualFee": 0,
- "enterpriseFee": 0
}, - "randomKey": "string",
- "signType": "string",
- "signature": "string"
}
request
required | object (UserID_BizData) |
requestId required | string = 32 characters Request serial number, globally unique. |
partnerId required | string = 15 characters Assigned by paytend. |
randomKey | string AES key |
signType required | string Fixed value RSA. |
signature | string Signed by partner RSA private key. |
version required | string Fixed value 2.0. |
respCode required | string Response code. |
respMsg | string Response message. |
object (AccountsResponse) | |
randomKey | string AES key. |
signType required | string Fixed value RSA. |
signature | string Signed by paytend RSA private key. |
{- "bizData": {
- "userId": "string"
}, - "requestId": "stringstringstringstringstringst",
- "partnerId": "stringstringstr",
- "randomKey": "string",
- "signType": "string",
- "signature": "string",
- "version": "string"
}
{- "respCode": "string",
- "respMsg": "string",
- "respData": {
- "accountList": [
- {
- "userId": "string",
- "accountNum": "string",
- "accountName": "string",
- "currency": "string",
- "accountType": "string",
- "bic": "string",
- "bankName": "string",
- "bankAddress": "string",
- "openDate": "string"
}
]
}, - "randomKey": "string",
- "signType": "string",
- "signature": "string"
}
The mobile phone number is the unique identifier of the customer in the Paytend system. This step verifies the uniqueness of the mobile phone number. Paytend will send a verification code to this mobile phone number, and submit the verification code in the next step. This step is optional.
request
required | object (VerificationCode_BizData) |
requestId required | string = 32 characters Request serial number, globally unique. |
partnerId required | string = 15 characters Assigned by paytend. |
randomKey | string AES key |
signType required | string Fixed value RSA. |
signature | string Signed by partner RSA private key. |
version required | string Fixed value 2.0. |
respCode required | string Response code. |
respMsg | string Response message. |
respData | object Business data. |
randomKey | string AES key. |
signType required | string Fixed value RSA. |
signature | string Signed by paytend RSA private key. |
{- "bizData": {
- "type": "s",
- "mobile": "stringst",
- "language": "st"
}, - "requestId": "stringstringstringstringstringst",
- "partnerId": "stringstringstr",
- "randomKey": "string",
- "signType": "string",
- "signature": "string",
- "version": "string"
}
{- "respCode": "string",
- "respMsg": "string",
- "respData": { },
- "randomKey": "string",
- "signType": "string",
- "signature": "string"
}
request
required | object (Individual_BizData) |
requestId required | string = 32 characters Request serial number, globally unique. |
partnerId required | string = 15 characters Assigned by paytend. |
randomKey | string AES key |
signType required | string Fixed value RSA. |
signature | string Signed by partner RSA private key. |
version required | string Fixed value 2.0. |
respCode required | string Response code. |
respMsg | string Response message. |
object (RegisterResponse) | |
randomKey | string AES key. |
signType required | string Fixed value RSA. |
signature | string Signed by paytend RSA private key. |
{- "bizData": {
- "partnerUserId": "string",
- "mobileCountryCode": "string",
- "mobile": "stringst",
- "email": "stringst",
- "verifyCode": "string",
- "language": "st",
- "person": {
- "firstName": "string",
- "lastName": "string",
- "nativeLanguageName": "string",
- "nationalityCode": "st",
- "gender": 0,
- "birthday": "stringstri",
- "residenceAddress": {
- "addressLine": "stringstri",
- "addressLine2": "stringstri",
- "cityCode": "string",
- "state": "stringstri",
- "postcode": "string",
- "countryCode": "st"
}, - "identityList": [
- {
- "idType": 0,
- "idno": "string",
- "issueDate": "stringstri",
- "expiryDate": "stringstri"
}
]
}
}, - "requestId": "stringstringstringstringstringst",
- "partnerId": "stringstringstr",
- "randomKey": "string",
- "signType": "string",
- "signature": "string",
- "version": "string"
}
{- "respCode": "string",
- "respMsg": "string",
- "respData": {
- "userId": "string",
- "mobile": "string",
- "partnerUserId": "string"
}, - "randomKey": "string",
- "signType": "string",
- "signature": "string"
}
request
required | object (Corporation_BizData) |
requestId required | string = 32 characters Request serial number, globally unique. |
partnerId required | string = 15 characters Assigned by paytend. |
randomKey | string AES key |
signType required | string Fixed value RSA. |
signature | string Signed by partner RSA private key. |
version required | string Fixed value 2.0. |
respCode required | string Response code. |
respMsg | string Response message. |
object (RegisterResponse) | |
randomKey | string AES key. |
signType required | string Fixed value RSA. |
signature | string Signed by paytend RSA private key. |
{- "bizData": {
- "mobileCountryCode": "string",
- "partnerUserId": "string",
- "mobile": "stringst",
- "verifyCode": "string",
- "email": "stringst",
- "language": "st",
- "corporationName": "string",
- "registrationNo": "string",
- "registrationDate": "stringstri",
- "registrationAddress": {
- "addressLine": "stringstri",
- "addressLine2": "stringstri",
- "cityCode": "string",
- "state": "stringstri",
- "postcode": "string",
- "countryCode": "st"
}, - "contactName": "string",
- "contactMobile": "stringst",
- "legalPerson": {
- "firstName": "string",
- "lastName": "string",
- "nativeLanguageName": "string",
- "nationalityCode": "st",
- "gender": 0,
- "birthday": "stringstri",
- "residenceAddress": {
- "addressLine": "stringstri",
- "addressLine2": "stringstri",
- "cityCode": "string",
- "state": "stringstri",
- "postcode": "string",
- "countryCode": "st"
}, - "identityList": [
- {
- "idType": 0,
- "idno": "string",
- "issueDate": "stringstri",
- "expiryDate": "stringstri"
}
]
}, - "executiveList": [
- {
- "firstName": "string",
- "lastName": "string",
- "birthday": "stringstri",
- "idType": "s",
- "idNo": "string",
- "position": "st"
}
]
}, - "requestId": "stringstringstringstringstringst",
- "partnerId": "stringstringstr",
- "randomKey": "string",
- "signType": "string",
- "signature": "string",
- "version": "string"
}
{- "respCode": "string",
- "respMsg": "string",
- "respData": {
- "userId": "string",
- "mobile": "string",
- "partnerUserId": "string"
}, - "randomKey": "string",
- "signType": "string",
- "signature": "string"
}
Special interface, No need to sign bizData, Maximum upload supported is 2M.
request
required | object (File_BizData) |
requestId required | string = 32 characters Request serial number, globally unique. |
partnerId required | string = 15 characters Assigned by paytend. |
randomKey | string AES key |
signType required | string Fixed value RSA. |
signature | string Signed by partner RSA private key. |
version required | string Fixed value 2.0. |
respCode required | string Response code. |
respMsg | string Response message. |
respData | object Business data. |
randomKey | string AES key. |
signType required | string Fixed value RSA. |
signature | string Signed by paytend RSA private key. |
{- "bizData": {
- "userId": "string",
- "fileType": 0,
- "fileContent": "string",
- "suffix": "string",
- "fileURL": "string",
- "idNo": "string"
}, - "requestId": "stringstringstringstringstringst",
- "partnerId": "stringstringstr",
- "randomKey": "string",
- "signType": "string",
- "signature": "string",
- "version": "string"
}
{- "respCode": "string",
- "respMsg": "string",
- "respData": { },
- "randomKey": "string",
- "signType": "string",
- "signature": "string"
}
request
required | object (IndividualQuestionnaire_BizData) |
requestId required | string = 32 characters Request serial number, globally unique. |
partnerId required | string = 15 characters Assigned by paytend. |
randomKey | string AES key |
signType required | string Fixed value RSA. |
signature | string Signed by partner RSA private key. |
version required | string Fixed value 2.0. |
respCode required | string Response code. |
respMsg | string Response message. |
respData | object Business data. |
randomKey | string AES key. |
signType required | string Fixed value RSA. |
signature | string Signed by paytend RSA private key. |
{- "bizData": {
- "userId": "string",
- "emStatus": "s",
- "socialMediaPlatform": "string",
- "socialMediaAccount": "string",
- "fundingCountriesList": "string",
- "expectMonthTurnover": 0,
- "singleTransAverage": 0,
- "pep": 0,
- "openPurpose": "st"
}, - "requestId": "stringstringstringstringstringst",
- "partnerId": "stringstringstr",
- "randomKey": "string",
- "signType": "string",
- "signature": "string",
- "version": "string"
}
{- "respCode": "string",
- "respMsg": "string",
- "respData": { },
- "randomKey": "string",
- "signType": "string",
- "signature": "string"
}
request
required | object (CorporationQuestionnaire_BizData) |
requestId required | string = 32 characters Request serial number, globally unique. |
partnerId required | string = 15 characters Assigned by paytend. |
randomKey | string AES key |
signType required | string Fixed value RSA. |
signature | string Signed by partner RSA private key. |
version required | string Fixed value 2.0. |
respCode required | string Response code. |
respMsg | string Response message. |
respData | object Business data. |
randomKey | string AES key. |
signType required | string Fixed value RSA. |
signature | string Signed by paytend RSA private key. |
{- "bizData": {
- "userId": "string",
- "industry": "st",
- "socialMediaPlatform": "string",
- "socialMediaAccount": "string",
- "obtainBusiness": 1,
- "businessActivity": "string",
- "employees": 1,
- "website": "string",
- "fundingCountriesList": "string",
- "annualTurnover": 1,
- "expectMonthTurnover": 1,
- "singleTransAverage": 1,
- "pep": 1,
- "openPurpose": "string",
- "corpStructureList": [
- {
- "legalPersonName": "string",
- "nationality": "st",
- "idNo": "string",
- "shareholdingRatio": "string"
}
], - "corpPartnerList": [
- {
- "corpName": "string",
- "industry": "string",
- "countryCode": "st",
- "cityCode": "string",
- "address": "stringstri"
}
]
}, - "requestId": "stringstringstringstringstringst",
- "partnerId": "stringstringstr",
- "randomKey": "string",
- "signType": "string",
- "signature": "string",
- "version": "string"
}
{- "respCode": "string",
- "respMsg": "string",
- "respData": { },
- "randomKey": "string",
- "signType": "string",
- "signature": "string"
}
request
required | object (TransferOrderRequest_BizData) |
requestId required | string = 32 characters Request serial number, globally unique. |
partnerId required | string = 15 characters Assigned by paytend. |
randomKey | string AES key |
signType required | string Fixed value RSA. |
signature | string Signed by partner RSA private key. |
version required | string Fixed value 2.0. |
respCode required | string Response code. |
respMsg | string Response message. |
respData | object Business data. |
randomKey | string AES key. |
signType required | string Fixed value RSA. |
signature | string Signed by paytend RSA private key. |
{- "bizData": {
- "userId": "string",
- "transactionId": "string",
- "transferOrderList": [
- {
- "infoType": "string",
- "infoContent": "string"
}
]
}, - "requestId": "stringstringstringstringstringst",
- "partnerId": "stringstringstr",
- "randomKey": "string",
- "signType": "string",
- "signature": "string",
- "version": "string"
}
{- "respCode": "string",
- "respMsg": "string",
- "respData": { },
- "randomKey": "string",
- "signType": "string",
- "signature": "string"
}
Special interface, No need to sign bizData, Maximum upload supported is 2M.
request
required | object (TransferOrderFile_BizData) |
requestId required | string = 32 characters Request serial number, globally unique. |
partnerId required | string = 15 characters Assigned by paytend. |
randomKey | string AES key |
signType required | string Fixed value RSA. |
signature | string Signed by partner RSA private key. |
version required | string Fixed value 2.0. |
respCode required | string Response code. |
respMsg | string Response message. |
respData | object Business data. |
randomKey | string AES key. |
signType required | string Fixed value RSA. |
signature | string Signed by paytend RSA private key. |
{- "bizData": {
- "userId": "string",
- "transactionId": "string",
- "fileList": [
- {
- "fileType": "string",
- "fileContent": "string",
- "suffix": "string"
}
]
}, - "requestId": "stringstringstringstringstringst",
- "partnerId": "stringstringstr",
- "randomKey": "string",
- "signType": "string",
- "signature": "string",
- "version": "string"
}
{- "respCode": "string",
- "respMsg": "string",
- "respData": { },
- "randomKey": "string",
- "signType": "string",
- "signature": "string"
}
When the account is successfully opened, the partner will be notified.
The partner is required to provide a callback URL, which can be set through the interface 'Set callback URL' in 'Paytend Funding Notification API'.
The following interfaces share this URL:
This interface field 'notifyType' is fixed to 1.
notify
required | object (IBANAccount) |
partnerId required | string Assigned by paytend. |
notifyType required | string
|
randomKey | string AES key. |
signature required | string Signed by partner RSA private key. |
signType required | string Fixed value RSA. |
version required | string Fixed value 2.0. |
msg | string Business description. |
status | string Status. |
{- "content": {
- "userId": "string",
- "accountNum": "string",
- "accountName": "string",
- "currency": "string",
- "accountType": "string",
- "bic": "string",
- "bankName": "string",
- "bankAddress": "string",
- "openDate": "string"
}, - "partnerId": "string",
- "notifyType": "string",
- "randomKey": "string",
- "signature": "string",
- "signType": "string",
- "version": "string"
}
{- "msg": "string",
- "status": "string"
}
When a transaction triggers an transfer order, the partner will be notified.
The partner is required to provide a callback URL, which can be set through the interface 'Set callback URL' in 'Paytend Funding Notification API'.
The following interfaces share this URL:
This interface field 'notifyType' is fixed to 8.
notify
required | object (TransferOrderNotification_Context) |
partnerId required | string Assigned by paytend. |
notifyType required | string
|
randomKey | string AES key. |
signature required | string Signed by partner RSA private key. |
signType required | string Fixed value RSA. |
version required | string Fixed value 2.0. |
msg | string Business description. |
status | string Status. |
{- "content": {
- "userId": "string",
- "accountNum": "string",
- "transactionId": "string",
- "orderNo": "string",
- "orderStatus": 0,
- "transferOrderInfo": "string",
- "transferOrderFile": "string",
- "transferOrderDesc": "string",
- "reference": "string",
- "amount": 0
}, - "partnerId": "string",
- "notifyType": "string",
- "randomKey": "string",
- "signature": "string",
- "signType": "string",
- "version": "string"
}
{- "msg": "string",
- "status": "string"
}
When the audit status or user status changes, the partner will be notified.
The partner is required to provide a callback URL, which can be set through the interface 'Set callback URL' in 'Paytend Funding Notification API'.
The following interfaces share this URL:
This interface field 'notifyType' is fixed to 3.
notify
required | object (AccountStatusChangeNotification_Context) |
partnerId required | string Assigned by paytend. |
notifyType required | string
|
randomKey | string AES key. |
signature required | string Signed by partner RSA private key. |
signType required | string Fixed value RSA. |
version required | string Fixed value 2.0. |
msg | string Business description. |
status | string Status. |
{- "content": {
- "userId": "string",
- "accountNum": "string",
- "accountName": "string",
- "auditStatus": "string",
- "auditStatusMsg": "string",
- "userStatus": "string"
}, - "partnerId": "string",
- "notifyType": "string",
- "randomKey": "string",
- "signature": "string",
- "signType": "string",
- "version": "string"
}
{- "msg": "string",
- "status": "string"
}
When a user is upgraded from a junior user to a standard user (only a paid upgrade), the partner will be notified.
The partner is required to provide a callback URL, which can be set through the interface 'Set callback URL' in 'Paytend Funding Notification API'.
The following interfaces share this URL:
This interface field 'notifyType' is fixed to 6.
notify
required | object (AccountUpgradeNotification_Content) |
partnerId required | string Assigned by paytend. |
notifyType required | string
|
randomKey | string AES key. |
signature required | string Signed by partner RSA private key. |
signType required | string Fixed value RSA. |
version required | string Fixed value 2.0. |
msg | string Business description. |
status | string Status. |
{- "content": {
- "userId": "string",
- "accountLevel": 0,
- "upgradeDate": "string"
}, - "partnerId": "string",
- "notifyType": "string",
- "randomKey": "string",
- "signature": "string",
- "signType": "string",
- "version": "string"
}
{- "msg": "string",
- "status": "string"
}