Inquiry Detail Token
Last updated
Last updated
Used by the merchant for inquiry the credit card's information (Credit Card Number, Credit Card Type) Inquiry request should be sent to the following URL using HTTP POST method:
Response success given Faspay there are 2 kinds found in TXN_STATUS field include:
Development |
---|
Request Inquiry Detail Token
Following are the parameters you should post in your request :
Parameter | Data Type | M/O/C | Description |
---|---|---|---|
transactiontype
Varchar(2)
M
For inquiry request detil token, always used value “5”
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 ## :
(“##" + MERCHANTID + "##" + TXN PASSWORD + "##" + PYMT_TOKEN + “##”)