Payment notification from Faspay to the merchant backend will also trigger an event of transaction status updating to ensure the merchant is securely informed. Please provide the URL and make sure it's already registered on Faspay system.
Transaction ID in Partner system (Conditional parameter)
Notes : Mandatory if the transaction from Create VA
responseCode
String (7)
Mandatory
Response Code
responseMessage
String (150)
Mandatory
Response Description
virtualAccountData
Object
Mandatory
paymentFlagReason
Object
Mandatory
Reason for Payment Status multi language
english
String (32)
Mandatory
Reason for Payment Status in English
partnerServiceId
String (8)
Mandatory
Derivative of X-PARTNER-ID , similar to company code,
8 digit left padding space
customerNo
String (20)
Mandatory
Unique number (up to 20 digits)
virtualAccountNo
String (28)
Mandatory
partnerServiceId (8 digit left padding space) + customerNo (up to 20 digits)
inquiryRequestId
String (128)
Conditional
Unique identifier from Inquiry
paymentRequestId
String (16)
Conditional
Unique identifier for this Payment from Faspay. Mandatory if Payment happened.
paidAmount
Object
Mandatory
value
String (ISO4217) (16,2)
Mandatory
Paid Amount with 2 decimal
currency
String (3)
Mandatory
Currency. Currency of amount based on ISO 4217
transactionDate
Date (25)
Conditional
Mandatory when the payment happened
paymentFlagStatus
String (2)
Mandatory
Status for Payment Flag
additionalInfo
Object
Mandatory
channelCode
String (32)
Mandatory
Payment Channel Code VA ONLY
00
Success
01
Paying
03
Pending
04
Refunded
05
Canceled
06
Failed
07
Expired
07
Not Found
partnerServiceId*
String (8)
Derivative of X-PARTNER-ID, similar to company code,8 digit left padding space
customerNo*
String (20)
A Unique number (up to 20 digits).
virtualAccountNo*
String (28)
partnerServiceId (8 digit left padding space) + customerNo (up to 20 digits)
additionalInfo
Object
From inquiry responses
reason*
String (50)
Payment Cancel Reason's Message
trxId*
String (32)
Transaction ID in Partner system
responseCode
String (7)
Mandatory
Response Code
responseMessage
String (150)
Mandatory
Response Description
virtualAccountData
Object
Mandatory
partnerServiceId
String (8)
Mandatory
Derivative of X-PARTNER-ID, similar to company code, 8 digit left padding space
customerNo
String (20)
Mandatory
Unique number (up to 20 digits)
virtualAccountNo
String (28)
Mandatory
partnerServiceId (8 digit left padding space) + customerNo (up to 20 digits)
additionalInfo
Object (unlimited)
Optional
From Inquiry Response
billNo
String (32)
Mandatory
Bill number from partner
trxStatusCode
String (5)
Mandatory
Transaction Status
trxStatusDesc
String (32)
Mandatory
Transaction Status Description
responseCode
String
7
response code = HTTP status code + service code + case code
responseMessage
String
150
Success
200
any
0
Successful
Successful
Success
202
any
0
Request In Progress
Transaction still on process
System
400
any
0
Bad Request
General request failed error, including message parsing failed.
Message
400
any
1
Invalid Field Format {field name}
Invalid format
Message
400
any
2
Invalid Mandatory Field {field name}
Missing or invalid format on mandatory field
System
401
any
0
Unauthorized. [reason]
General unauthorized error (No Interface Def, API is Invalid, Oauth Failed, Verify Client Secret Fail, Client Forbidden Access API, Unknown Client, Key not Found)
System
401
any
1
Invalid Token (B2B)
Token found in request is invalid (Access Token Not Exist, Access Token Expiry)
System
401
any
2
Invalid Customer Token
Token found in request is invalid (Access Token Not Exist, Access Token Expiry)
System
401
any
3
Token Not Found (B2B)
Token not found in the system. This occurs on any API that requires token as input parameter
System
401
any
4
Customer Token Not Found
Token not found in the system. This occurs on any API that requires token as input parameter
Business
403
any
0
Transaction Expired
Transaction expired
System
403
any
1
Feature Not Allowed [Reason]
This merchant is not allowed to call Direct Debit APIs
Business
403
any
2
Exceeds Transaction Amount Limit
Exceeds Transaction Amount Limit
Business
403
any
3
Suspected Fraud
Suspected Fraud
Business
403
any
4
Activity Count Limit Exceeded
Too many request, Exceeds Transaction Frequency Limit
Business
403
any
5
Do Not Honor
Account or User status is abnormal
System
403
any
6
Feature Not Allowed At This Time. [reason]
Cut off In Progress
Business
403
any
7
Card Blocked
The payment card is blocked
Business
403
any
8
Card Expired
The payment card is expired
Business
403
any
9
Dormant Account
The account is dormant
Business
403
any
10
Need To Set Token Limit
Need to set token limit
System
403
any
11
OTP Blocked
OTP has been blocked
System
403
any
12
OTP Lifetime Expired
OTP has been expired
System
403
any
13
OTP Sent ToCardholer
initiates request OTP to the issuer
Business
403
any
14
Insufficient Funds
Insufficient Funds
Business
403
any
15
Transaction Not Permitted.[reason]
Transaction Not Permitted
Business
403
any
16
Suspend Transaction
Suspend Transaction
Business
403
any
17
Token Limit Exceeded
Purchase amount exceeds the token limit set prior
Business
403
any
18
Inactive Card/Account/Customer
Indicates inactive account
Business
403
any
19
Merchant Blacklisted
Merchant is suspended from calling any APIs
Business
403
any
20
Merchant Limit Exceed
Merchant aggregated purchase amount on that day exceeds the agreed limit
Business
403
any
21
Set Limit Not Allowed
Set limit not allowed on particular token
Business
403
any
22
Token Limit Invalid
The token limit desired by the merchant is not within the agreed range between the merchant and the Issuer
Business
403
any
23
Account Limit Exceed
Account aggregated purchase amount on that day exceeds the agreed limit
Business
404
any
0
Invalid Transaction Status
Invalid transaction status
Business
404
any
1
Transaction Not Found
Transaction not found
System
404
any
2
Invalid Routing
Invalid Routing
System
404
any
3
Bank Not Supported By Switch
Bank not supported by switch
Business
404
any
4
Transaction Cancelled
Transaction is cancelled by customer
Business
404
any
5
Merchant Is Not Registered For Card Registration Services
Merchant is not registered for Card Registration services
Card information may be invalid, or the card account may be blacklisted, or Virtual Account number maybe invalid.
Business
404
any
12
Invalid Bill/Virtual Account [Reason]
The bill is blocked/ suspended/not found. Virtual account is suspend/not found.
Business
404
any
13
Invalid Amount
The amount doesn't match with what supposed to
Business
404
any
14
Paid Bill
The bill has been paid
System
404
any
15
Invalid OTP
OTP is incorrect
Business
404
any
16
Partner Not Found
Partner number can't be found
Business
404
any
17
Invalid Terminal
Terminal does not exist in the system
Business
404
any
18
Inconsistent Request
Inconsistent request parameter found for the same partner reference number/transaction id
It can be considered as failed in transfer debit, but it should be considered as success in transfer credit.
Considered as success:
'- Transfer credit = (i) Intrabank transfer; (ii) Interbank transfer; (iii) RTGS transfer; (iv) SKNBI transfer;
'- Virtual account = (i) Payment VA; (ii) Payment to VA;
'- Transfer debit = (i) Refund payment; (ii) Void;
Considered as failed:
'- Transfer credit = (i) Transfer to OTC;
'- Transfer debit = (i) Direct debit payment; (ii) QR CPM payment; (iii) Auth payment; (iv) Capture;
Business
404
any
19
Invalid Bill/Virtual Account
The bill is expired.
Virtual account is expired.
System
405
any
0
Requested Function Is Not Supported
Requested function is not supported
Business
405
any
1
Requested Opearation Is Not Allowed
Requested operation to cancel/refund transaction Is not allowed at this time.
System
409
any
0
Conflict
Cannot use same X-EXTERNAL-ID in same day
System
409
any
1
Duplicate partnerReferenceNo
Transaction has previously been processed indicates the same partnerReferenceNo already success
System
429
any
0
Too Many Requests
Maximum transaction limit exceeded
System
500
any
0
General Error
General Error
System
500
Any
1
Internal Server Error
Unknown Internal Server Failure, Please retry the process again