1.1. Download one of our SDKs or use our tokenization API
- Setting API credentials
Do not forget to create API credentials with public visibility from the HiPay Enterprise back office > Integration > Security settings.
- Using test cards
You will find test cards here.
1.3. Saving card tokens in your database
In the API response, you will receive the card information, including the card token. You should save the following data in your database:
Payment product used to complete the transaction
(e.g.: cb, bcmc, paypal)
|payment_method[brand]||Card brand (e.g.: VISA, MASTERCARD, AMERICAN EXPRESS, MAESTRO)|
|payment_method[pan]||Card number (up to 19 characters)
Please note that, due to PCI DSS security standards, our system has to mask credit card numbers in any output (e.g.: 549619**4769).
|payment_method[card_expiry_month]||Card expiry month (2 digits)|
|payment_method[card_expiry_year]||Card expiry year (4 digits)|
|payment_method[issuer]||Card issuing bank name
Do not rely on this value to remain static over time. Bank names may change due to acquisitions and mergers.
|payment_method[country]||Bank country code where the card was issued
This two-letter country code complies with ISO 3166-1 (alpha 2).
Please note: Maestro and Bancontact are not compatible with recurring and one-click payment.
Cet article n'accepte pas de commentaires.