Skip to content

请求参数说明

请求方式

所有请求都是POST方式

请求头参数

所有接口都需要在请求头中携带以下字段:

字段名类型必传描述
content-typestringapplication/json
x-api-keystringPaydify提供,跟appId相同
x-api-timestampstring时间戳,单位毫秒
x-api-signaturestring签名,具体参看签名算法

响应头参数

所有接口都会在请求头中携带以下字段:

字段名类型必传描述
x-api-keystringPaydify提供,跟appId相同
x-api-timestampstring时间戳,单位毫秒
x-api-signaturestring签名,具体参看签名算法

返回值

所有接口返回值的数据结构如下:

json
{
  "status": 0,
  "msg": "success",
  "data": {

  }
}
{
  "status": 0,
  "msg": "success",
  "data": {

  }
}