Tokenization Payment API

Use the following URL to submit to our payment window interface through HTML FORM POST method:

Request parameters are parameters that the merchant's system must provide that can be integrated with the system Faspay:

Parameter
Data Type
M/O/C
Description

pymt_ind

Varchar(20)

M

Specify the payment indicator to be used for tokenization transaction. The payment indicator is used as the key identifier to set certain indication. For tokenization you can fill with: PYMT_IND = “tokenization”

Nb): for all conditions, registration, payment or update card always use PYMT_IND = tokenization.

pymt_criteria

Varchar(20)

C

Specify the payment criteria to be used, together with parameter PYMT_IND. This criteria will be set one the payment indicator had been defined. PYMT_CRITERIA = “payment”

Is for transaction after registration, or update/ add new card.

pymt_token

Varchar(36)

C

This field for data tokens. For transaction payment (after registration transaction) fill this field with token from response payment on registration. Sample token:

“47271385-94F5-410A-9890-09CBB77F2A66”

You can store on your database for mapped with a user ID that is registered in the merchant system.

Credit Card Tokenization Payment Response:

Following are the standard parameters that the payment result will pass back as a response for credit card payments. Transaction request that has insufficient parameters or incorrect values, will be rejected by Faspay e-Payment and not stored in the system. Same as standard transactions, tokenization transactions will receive parameters like TXN_STATUS and others, for tokenization if the transaction succeeds Faspay will send the token on the return URL and callback merchant. Additional response parameters for tokenization :

Parameter
Data Type
M/O/C
Description

pymt_token

Varchar (40)

C

Faspay will send the token ID if the transaction success by return URL and Callback merchant.

Sample token :

“47271385-94F5-410A-9890-09CBB77F2A66”

Last updated