Common

Introduce the input and output parameters of the request

Request Header

NameTypeDescription

Content-Type*

string

application/json;chartset=UTF-8

Request Body

NameTypeDescription

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

biz_data is business param,other parameters belong to public parameters

Response

{
    "code": "10000",
    "msg": "Success",
    "data": {
    },
    "total":1
    "random_key":"abssdddd2wdw==",
    "sign_type": "RSA",
    "app_id": "2017051914172236111"
}

NameTypeDescription

code

string

msg

string

data

obj or list

Business result

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