Skip to content

Request Parameters

Request Method

All requests use the POST method

Request Headers

All APIs must include the following fields in the request headers:

Field NameTypeRequiredDescription
content-typestringYesapplication/json
x-api-keystringYesProvided by Paydify, same as appId
x-api-timestampstringYesTimestamp in milliseconds
x-api-signaturestringYesSignature, see Signature Algorithm

Response Headers

All APIs will include the following fields in the response headers:

Field NameTypeRequiredDescription
x-api-keystringYesProvided by Paydify, same as appId
x-api-timestampstringYesTimestamp in milliseconds
x-api-signaturestringYesSignature, see Signature Algorithm

Response Format

All API responses follow this data structure:

json
{
  "code": "SYS_SUCCESS",
  "message": null,
  "messageDetail": null,
  "data": {},
  "success": true
}
{
  "code": "SYS_SUCCESS",
  "message": null,
  "messageDetail": null,
  "data": {},
  "success": true
}

Response Field Descriptions

Field NameTypeDescription
codestringResponse code, SYS_SUCCESS indicates success
messagestringResponse message
messageDetailstringDetailed response message
dataobjectBusiness data
successbooleanWhether the request was successful