AlliancePay
🇬🇧 English
🇬🇧 English
  • E Commerce platform AlliancePay v2.32.0
  • Authentication
  • Data Encryption
  • Authorization
  • Using an authorization token
  • Key Management Overview
    • PURCHASE Collection Example
    • A2C Collection Example
  • Payment methods H2H
    • PURCHASE
      • PURCHASE Request - Step 1
      • PURCHASE Request - Step 2
    • A2C
    • C2A
      • C2A Transaction Request - Step 1
      • C2A Transaction Request - Step 2
    • ApplePay decrypted
      • PURCHASE
        • Payment Processing Request - Step 1
        • Payment Processing Request - Step 2 (3DS)
      • C2A
        • C2A request Step 1
        • C2A request Step 2 (3DS)
    • ApplePay encrypted
      • Request aPay support on the page
      • Request to receive aPay merchant data
      • Merchant validation request
      • Session Establishment Request in aPay
      • Payment Processing Request
    • GooglePay™ decrypted
      • PURCHASE
        • Payment Processing Request - Step 1
        • Payment Processing Request - Step 2 (3DS)
      • C2A
        • C2A request Step 1
        • C2A request Step 2 (3DS)
    • GooglePay™ encrypted
      • Google Pay™ Documentation
      • Google Pay™ Support Request on the Page
      • Google Pay™ Merchant Data Retrieval Request
      • Payment request
    • REFUND
    • TOKEN
      • PURCHASE
        • Token payment request Step 1
        • 3DS token payment request Step 2
      • C2A
        • Token payment request Step 1
        • 3DS token payment request Step 2
      • Token Creation
      • Retrieve Token by CustomerId
      • Retrieve Token Data
      • Update Token Status
      • Token Statuses
    • Account Verification
      • Card Verification Request Step 1
      • Card verification request Step 2
    • Getting data
      • By OPERATION_ID
      • By merchantRequestId
    • Getting a balance
    • Callback
  • Payment methods HPP
    • PURCHASE
      • Creating an order
      • Receiving order data
    • REFUND
    • Callback
    • Order statuses
  • Dictionary
    • Transaction status
    • Test cases
    • Error codes
    • Value actionCode, responseCode
    • Limits
    • Instructions for reconciliation by registers
      • Fields Description in Registers
    • Whitelist IP addresses and URLs
  • History of changes
Powered by GitBook
On this page
  • How to Obtain a Card Token?
  • How to Pay Using a Token?
  • Additional Token-Related Requests
  1. Payment methods H2H

TOKEN

Processing Payments Using a Card Token

PreviousREFUNDNextPURCHASE

Last updated 2 months ago

A card token is a unique digital identifier that replaces actual card details for secure payments. By using a token, you can complete transactions without exposing the actual card number.

How to Obtain a Card Token?

There are two ways to generate a token:

  1. During a Payment Transaction – When initiating a or request, include the additional parameter:

    "typeToken": "TOKEN_PER_CUSTOMER"
  2. Via a Separate Request – Using the dedicated "Create Token" request.

How to Pay Using a Token?

Once a token is created, a payment can be processed through a dedicated endpoint:

  • "Process Payment via Token" for the Purchase transaction type.

  • "Process Payment via Token" for the C2A transaction type.

Simply pass the token instead of card details, and the payment will be securely and efficiently processed.

Using tokens eliminates the need to store sensitive card data, enhancing the security of transactions.

Additional Token-Related Requests

🔹 To find a token linked to a specific customer, use the "Retrieve Token by Customer ID" request.

These requests enable seamless token management and ensure a secure and efficient payment process.

🔹 To obtain detailed information about a token (such as expiration date, status, or associated card), use the "Retrieve Token Details" request.

Purchase
C2A
Retrieve Token by Customer ID
Retrieve Token Details