Project Overview
The IGS Token Vault is a secure service designed to manage payment tokens. It provides functionalities to create, retrieve, list, toggle the status, and renew the encryption of tokens. This service ensures that sensitive payment information is securely stored and managed.
Purpose
The primary purpose of this project is to securely handle payment tokens associated with users. It allows for the creation of new tokens, retrieval of specific tokens, listing of active tokens, toggling the status of tokens, and renewing the encryption of tokens that are older than six months.
Available Functions
- Create a New Token
- Show a Specific Token by UUID
- List Active Tokens
Examples of Use
Here are some examples of how to use the IGS Token Vault API:
# Create a New Token
curl -X POST /api/tokens \
-H "Content-Type: application/json" \
-d '{
"user_uuid": "123e4567-e89b-12d3-a456-426614174000",
"card_number": "4111111111111111",
"expiry_date": "12/24",
"cvv_cvc": "123",
"account_number": "123456789",
"holder_name": "John Doe",
"address": "123 Main St",
"postal_code": "12345",
"phone_number": "555-555-5555",
"email": "john.doe@example.com"
}'
# Show a Specific Token by UUID
curl -X GET /api/tokens/123e4567-e89b-12d3-a456-426614174000
# List Active Tokens
curl -X GET /api/tokens/active/list
License
This project is licensed under the MIT License.