Common
Introduce the input and output parameters of the request
Request Header
Name | Type | Description |
---|---|---|
Content-Type* | string | application/json;chartset=UTF-8 |
Request Body
Name | Type | Description |
---|---|---|
partner_id* | string | Assigned by Pagsmile |
sub_partner_id | string | Assigned by Pagsmile |
app_id* | string | Created app's id at dashboard |
timestamp* | string | yyyy-MM-dd HH:mm:ss - Max. 19 chars - |
version* | string | Fixed value 1.0 |
language | string | default:en |
random_key* | string | AES key Randomly generated, encrypted by Pagsmile RSA public key. When bizData exists, randomKey must exist. |
request_id* | string | Request serial number, globally unique. |
sign_type* | string | Fixed value: RSA |
biz_data* | obj | Business params It need to be encrypted |
biz_data is business param,other parameters belong to public parameters
Response
Name | Type | Description |
---|---|---|
code | string | Code |
msg | string | Message |
data | obj or list | Business result It need to be decrypted |
total | integer | Business result total |
random_key | string | Randomly generated, encrypted by partner RSA public key. When data exists, randomKey must exist |
sign_type | string | Fixed value: RSA |
app_id | string | Created app's id at Dashboard |
Last updated