Encryption Keys
Protecting customers' payment information is key. Our API uses strong encryption to safeguard sensitive data. This guide explains how to securely handle encryption for card data in your integration.
Fetching Encryption Keys
To encrypt sensitive card information, you'll first need to retrieve your unique encryption keys. To fetch your keys, make a GET request to the following endpoint:
Parameters
mode
Environment Mode Available Values: live, test
String
Successful Response (200 OK):
Error Response (400 Bad Request):
Indicates an issue with the request, such as an invalid mode
.
Encrypting Card Data
Once you have your encryption key, use the provided code examples to encrypt card data on the client-side before sending it to our servers.
Never send raw card data directly to your backend or our API. Always encrypt it first.
PHP Example
JavaScript Example
Last updated