API Code

Success

Code(String)
Message(String)
SubCode(String)
SubMessage(String)
Description/ How to solve

10000

Success

Failed

General Error Code (Part 1)

If you received the below errors, you can assume the transaction is failed. The transaction is created but the status is REFUSED.

Code(String)
Message(String)
SubCode(String)
SubMessage(String)
Description

40002

Business Failed

gen-card-token-fail

Gen card token fail

40002

Business Failed

card-token-expired

Card token expired

40002

Business Failed

bank-side-busy

Bank side busy

Timeout at the bank side

40002

Business Failed

SYS-0001

other reason

Failed at the bank side

70001

Reject by high risk

10001

Verify Failed

User document id not exist

70001

Reject by high risk

10002

Document Fail

User's KYC failed

70001

Reject by high risk

10003

Legal Purpose

Legal risks

70001

Reject by high risk

10004

Fraud Suspect

70001

Reject by high risk

20001

Exceed total Transaction Limit

User exceeds regulated transaction amount

70001

Reject by high risk

20002

Exceed Total Frequency Limit

User exceeds regulated transaction frequency

90001

Bank Request Fail

71012

Invalid ID Number

customer.identify info invalid

General Error Code (Part 2)

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

Code(String)
Message(String)
SubCode(String)
SubMessage(String)
Description/ How to solve

20000

Service Currently Unavailable

Temporary issue. Check with Pagsmile if keep receiving this error

40001

Missing Required Arguments

Check if all required parameters are included

40004

Method not supported

Check parameter "method"

40005

MediaType not supported

Check "Content-Type" in the header

40002

Business Failed

missing-signature-config

Signature configuration missing

Check Authorization in header, or check if the request API URL is correct.

40002

Business Failed

merchant-status-abnormal

Merchant is now invalid

Contact Pagsmile to enable the account

40002

Business Failed

app-status-abnormal

App is invalid

Contact Pagsmile to enable the app

40002

Business Failed

app-not-match

App not match

The app_id in Authorization doesn't match with the app_id in the request

40002

Business Failed

invalid-signature

Signature is invalid

check the signature in Authorization

40002

Business Failed

no-method-supported

Method not supported

Check parameter "method"

40002

Business Failed

currency-not-supported

Currency not supported

Check parameter "method"

40002

Business Failed

duplicate-out_trade_no

out_trade_no is duplicate

out_trade_no should be unique for each transaction

CreditCard Error Code

Code(String)
Message(String)
SubCode(String)
SubMessage(String)

90001

Bank Request Fail

101

Invalid authorization

90001

Bank Request Fail

102

Invalid card number

90001

Bank Request Fail

103

Invalid cvv

90001

Bank Request Fail

104

Invalid amount

90001

Bank Request Fail

105

SCA required

90001

Bank Request Fail

106

Expired card

90001

Bank Request Fail

107

Credit exceeded

90001

Bank Request Fail

108

Invalid issuer

90001

Bank Request Fail

109

Suspicion of fraud

90001

Bank Request Fail

110

Restricted card

90001

Bank Request Fail

111

Transaction not permitted to issuer

90001

Bank Request Fail

112

Transaction not permitted to acquirer

90001

Bank Request Fail

113

Invalid transaction

90001

Bank Request Fail

114

Lost card

90001

Bank Request Fail

115

Stolen card

90001

Bank Request Fail

116

Insufficient funds

90001

Bank Request Fail

117

Do not honor

90001

Bank Request Fail

118

Contact issuer

90001

Bank Request Fail

119

Duplicate transaction

90001

Bank Request Fail

190

Not allowed for unknown reason

90001

Bank Request Fail

201

Validation error

90001

Bank Request Fail

202

Invalid request data

90001

Bank Request Fail

203

Invalid card data

90001

Bank Request Fail

204

Duplicate request

90001

Bank Request Fail

205

Card brand not supported

90001

Bank Request Fail

206

ID cannot be empty or invalid

90001

Bank Request Fail

207

Name cannot be empty or invalid

90001

Bank Request Fail

401

Provider internal error

90001

Bank Request Fail

402

Connection error

90001

Bank Request Fail

403

Authentication error

Last updated