Server CallBack / URL Notification Credit Card

Faspay systems provide callback server / URL notification credit card that runs automatically, which serves to notify the results of transaction / transaction status. Any changes in the transaction status faspay server, then automatically the status of the last transaction will also be communicated to the merchant server consistently.

If the merchant's transaction status changes, for example: merchant went into administration portal faspay system to change the status of the credit card transaction Authorize status to the status of a transaction with the capture or sales status (success) into the Void / refund. Faspay server then automatically sends information (HTTPS POST) changes the status to the merchant server via the URL notification which gives a chance to the administration portal faspay

Flow Server Callback

Here is a response from faspay parameters that will be sent to the merchant server:

Parameter
Data Type
M/O/C
Description

MERCHANTID

Varchar(30)

M

Your Faspay Merchant ID.

MERCHANT_TRANID

Varchar(100)

M

Merchant’s own assigned transaction id as passed in from the request.

PAYMENT_METOD

Integer(1)

M

Indicates the payment mode used for this transaction.

TRANSACTIONTYPE

Integer(2)

M

Return transaction type corresponding to the original request.

TRANSACTIONID

Varchar

M

Transaction ID generated by Faspay when payment occur-Occur.

TXN_STATUS

Varchar(100)

M

Transaction status from Faspay. A – Authorized S – Sales C – Captured CF – Capture Failed F – Failed E – Error B – Blocked N – Pending V – Void

CUST_NAME

Varchar(120)

M

Shopper’s name.

DESCRIPTION

Varchar(100)

O

Transaction description as passed in from the request.

CURRENCYCODE

Varchar(3)

M

Indicate the currency of this transaction. Refer to Appendix I for Supported Currencies E.g. IDR, USD, SGD etc.

AMOUNT

Varchar(10)

M

Transaction amount as passed in from the request.

TRANDATE

Varchar(19)

C

Transaction date of when transaction is submitted to Faspay e-Payment. Date format in ‘DD-MM-YYYY hh:mm:ss’ e.g. 24-05-2006 08:24:23 In the event of error, this field may be empty.

EXCEED_HIGH_RISK

Varchar(3)

C

Indicate whether the transaction fraud score exceeds the threshold value set for high risk in merchant setting. Possible values are: • Yes = Transaction fraud risk exceed merchant high risk threshold .

• No = Transaction fraud risk fall bellows the merchant high risk threshold.

CARDTYPE

Varchar(1)

M

Indicates the card type used. MasterCard = M Visa = V JCB = J AMEX = A

CARD_NO_PARTIAL

Varchar(20)

C

Returns first 6 and last 4 digits of credit card. E.g.: 455555XXXXXX1234 In the event of error, this field may be empty.

CARDNAME

Varchar(100)

C

Name on the Credit Card.

BANK_RES_MSG

Varchar (20)

C

Response code or error code from bank. In the event of error, this field may be empty.

ERR_CODE

Varchar(10)

M

Bank description on the response based on original response from bank. In the event of error, this field may be empty.

ERR_DESC

Varchar(250)

M

Error Code returns from Faspay . If the transaction is successful, the value will be 0. Any value other than 0 will indicate that the transaction is not successful.

USR_CODE

Varchar(4)

C

Error description from Faspay based on the ERR_CODE.

USR_MSG

Varchar(200)

C

User Code returns from Faspay e-Payment. A user code will be used to indicate the appropriate action to be taken by shopper according to different bank response code obtained. In the case of pending status, this value is will an empty value.

SIGNATURE

Varchar(40)

M

Transaction signature of request for data integrity check.

FRAUDRISKLEVEL

Integer(1)

C

Indicate fraud risk level. Value as follow: -1 : Error or not in used. 0 : Very low risk 1 : Low risk 2 : Medium risk 3 : High risk 4 : Very high risk In the event of error, this field may be empty.

FRAUDRISKSCORE

Numeric

C

Fraud risk score in two decimal values.

IS_BLACKLISTED

Varchar(5)

C

Indicate whether the transaction is blacklisted. Value is ‘Yes’ or ‘No’ In the event of error, this field may be empty.

Last updated