Paytend Funding Notification API allows you to obtain transaction credit notifications of your Paytend account in real time, and you can also query the account balance to help you understand the dynamics of funds in real time. This feature is enabled by default for all Paytend business bank account customers, ensuring you don’t miss any money flow information.
The Paytend Funding Notification API provides the following main features:
Paytend Funding Notification API is suitable for a variety of usage scenarios, including but not limited to the following:
Detailed access and integration documentation will be provided on the Paytend official website, including information such as API endpoints, authentication, request examples, and response examples. Customers can access according to the documentation and customize the integration according to their needs.
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.Data security is crucial in the financial sector. Paytend Funding Notification API uses advanced security measures to ensure that customers’ account information and transaction notifications are protected and comply with financial industry security standards.
The following interfaces share this URL:
request
required | object (CallBackURL_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": "string",
- "url": "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 funds are transferred into the user's account, 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 2.
notify
required | object (IBANTransaction) |
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": {
- "transactionId": "string",
- "orderNo": "string",
- "accountNum": "string",
- "tradeType": 0,
- "tradeStatus": 0,
- "paymentType": 0,
- "currency": "string",
- "amount": 0,
- "fee": 0,
- "counterpartyAccountName": "string",
- "counterpartyAccountNum": "string",
- "counterpartyBankBic": "string",
- "counterpartyBankName": "string",
- "transDate": "string",
- "reconciliationDate": "string",
- "reference": "string",
- "exRate": "string",
- "targetCurrency": "string",
- "targetAmount": 0
}, - "partnerId": "string",
- "notifyType": "string",
- "randomKey": "string",
- "signature": "string",
- "signType": "string",
- "version": "string"
}
{- "msg": "string",
- "status": "string"
}