Inquiry Last Token (Dynamic Token Only)

Used by merchant to inquiry last Token that Faspay's generate based on Merchant Transaction ID. This service is usually used when some network problem occured that might make Faspay's system unable reach the Merchant server to inform the new generated token.

Inquiry request should be sent to the following URL using HTTP POST method:

Request Inquiry Last Token

Following are the parameters you should post in your request :

ParameterData TypeM/O/CDescription

transactiontype

Varchar(2)

M

For inquiry request detil token, always used value “7”

response_type

Varchar(1)

C

Indicate how the system should provide the transaction result.

Please always use the value ‘3’ for Credit card API.

merchantid

Varchar(30)

M

Your Faspay e-Payment Merchant ID

payment_method

Varchar(1)

M

Indicate payment method used. Always used value ‘1’ for credit card payment.

token_type

Varchar(1)

M

TOKEN_TYPE = 1 if merchant use tokenization static model and TOKEN_TYPE = 0 if merchant use tokenization dynamic model.

pymt_token

Varchar(40)

M

Use returned token that previous transaction Faspay generate via return URL or Callback.

signature

Varchar(40)

M

Transaction signature of response for data integrity check. generated using SHA1 hash algorithm and the seeds to construct the transaction signature for API request are as follows:

  • MERCHANTID

  • TXN PASSWORD

  • PYMT_TOKEN

The fields must set in the following order, separated by a ## :

(“##" ++ MERCHANT_TRANID + "##" + TXN PASSWORD + "##" + MERCHANT_TRANID + “##”)

Last updated