Common
Introduce the input and output parameters of the request
Request Header
Content-Type*
string
application/json; charset=UTF-8
Request Body
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
Remittance API protocol version.
Fixed value: 2.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*
string
AES-encrypted business payload. The decrypted value is a business object.
Request example
Send the following JSON body to the endpoint specified by the API using Content-Type: application/json; charset=UTF-8. Replace the placeholders with your assigned identifiers and generated request values. Encrypt the endpoint-specific business object into biz_data and encrypt the AES key into random_key according to Security.
{
"partner_id": "<your_partner_id>",
"app_id": "<your_app_id>",
"timestamp": "2026-10-27 10:30:00",
"version": "2.0",
"language": "en",
"random_key": "<RSA-encrypted AES key>",
"request_id": "<globally_unique_request_id>",
"sign_type": "RSA",
"biz_data": "<AES-encrypted biz_data>"
}Response
code
string
Response code.
10000 — Success.
10095 — Duplicate external request number.
10096 — Insufficient permissions.
other — Other response codes. Refer to msg for details.
msg
string
Message
data
string
AES-encrypted business result. The decrypted value is an object or a list.
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