POSPointe
  1. Tokenization
POSPointe
POSPointe GiftCard Server
  • POSPointe GiftCard Server
  • Pospointe Trans
  • MyPOSPointe API
  • Pospointe Agent
  • Pospointe Loyalty
  • Introduction
  • Health
    • /Health - GET
      GET
  • Auth
    • /Auth/verify - PUT
      PUT
  • Tokenization
    • /v1/Token - POST
      POST
  • Batch
    • /Batch/{storeid} - GET
      GET
    • /Batch/batch/{storeid} - POST
      POST
  • Transaction
    • /Transaction/balancecheck - POST
      POST
    • /Transaction/sellnewcard - POST
      POST
    • /Transaction/reload - POST
      POST
    • /Transaction/radeem - POST
      POST
    • /Transaction/changestatus - PATCH
      PATCH
  1. Tokenization

/v1/Token - POST

POST
https://giftcard.myposerver.com/v1/Token
The Tokenization process allows for enhanced security when working with card details. By sending the card details to the designated tokenization endpoint, the server will generate and return a token. This token serves as a secure substitute for the card information and can be used in subsequent requests to other endpoints.
Tokens are valid for 10 minutes from the time they are created. After this period, the token will expire, and a new token must be generated for continued access. This process ensures that sensitive card data is never exposed, adding an extra layer of protection for each transaction.

Request

Authorization
Send your HTTP requests with an
Authorization
header that contains the word Basic followed by a space and a base64-encoded string username:password
Example:
Authorization: Basic *****************
Body Params application/json

Example
{
    "cardnumber": "string",
    "securitycode": "string"
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://giftcard.myposerver.com/v1/Token' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic Og==' \
--data-raw '{
    "cardnumber": "string",
    "securitycode": "string"
}'

Responses

🟢200OK
application/json
Body

Example
{
    "statuscode": "000000",
    "description": "Success",
    "token": "4827466716824759",
    "exp": "2024-09-04T02:23:34.0541675-04:00"
}
🟠401Unauthorized
Modified at 2024-09-11 10:17:33
Previous
/Auth/verify - PUT
Next
/Batch/{storeid} - GET
Built with