Pagsmile
Search
K
Links

API Code

This section includes a description of every API code used in the Pagsmile Payouts API.

Success

API Code
HTTP Code
Message(msg)
0
200
success

Rejected

"status":"REJECTED" means the transaction was created but couldn't be processed.
Reject Reason (Remark)
Description
CPF Verify Failed
User document id illegal
Legal Purpose
Legal risks
Fraud Suspect
Bank Control
Bank's risk control
Minor Control
Document Fail
User's KYC failed
Exceed Total Transaction Limit
User exceeds regulated transaction amount
Exceed Total Frequency Limit
User exceeds regulated transaction frequency
Exceed Single Limit
User exceeds regulated transaction amount
Invalid PIX Key
The PIX key is invalid or unregistered
Other

Failed

If you received the below errors, you can assume the transaction is failed. This transaction will not be created on our side.

Param Error Part 1

API Code
HTTP Code
Message(msg)
4004001
401
invalid token
4004002
401
token expired
4004003
401
permission denied
4004100
401
MerchantId or AppId is required
4004101
401
Authorization is required
4004103
401
IP address has no permission
4004004
404
not found
4004029
429
too many requests

Param Error Part 2

API Code
HTTP Code
Message(msg)
4001000
400
invalid parameter
4001001
400
invalid document_id
4001002
400
invalid account
4001003
400
invalid account type
4001004
400
invalid amount
4001005
400
invalid amount type
4001006
400
invalid amount range
4001007
400
invalid fee_bear
4001008
400
invalid start_time
4001009
400
invalid additional_remark
- should be less than 40 characters -
4001010
400
invalid additional_remark
- only alphabets, numbers and underline supported -
4001011
400
request has expired
4001012
400
time range must in 31 days
4001013
400
amount reached monthly limit
4001014
400
account err
4001020
400
order already existed
4001021
400
order not existed
4001022
400
order is closed
4001023
400
order is finished
4001100
400
country not supported
4001101
400
arrival_currency not supported
4001102
400
method not supported in country
4001103
400
method or channel is inactive
4001104
400
method not supported
4001105
400
channel not supported
4001106
400
currency not supported
4001107
400
not supported payout method
4001108
400
payout currency not supported
4001110
400
Don't support payouts from source_currency to payout_currency
4001111
400
Don't support payouts from source_currency to arrival_currency
4001200
400
merchant not existed
4001201
400
merchant is inactive
4001202
400
app is inactive
4001203
400
app not existed
4001302
400
bank account error

System Error

API Code
HTTP Code
Message(msg)
5001000
500
system error
5001001
500
fee config error
5001002
500
fee config error
5001003
500
fee not configured
5001004
500
arrival amount is less than zero
5001005
500
channel config error
5001100
500
account is not available
5001101
500
account balance error
5001102
500
balance insufficient
5001103
500
checkout token error