• User Documentation 
  • Amaryllis Release Notes 
  • For Developers 

  • User Documentation 
  • Amaryllis Release Notes 
  • For Developers 

Dev Portal

  • folder icon closed folder iconIntroduction
  • folder icon closed folder iconAuthentication
  • folder icon closed folder iconManagement
    • Getting Started
    • Platform Accounts Management
      • Get Platform Account Configuration
      • Get Platform Account
      • Create Platform Account
      • Update Platform Account
      • Objects Reference
    • Sub-Accounts Management
      • Get Sub-Account Configurations
      • Get Sub-Account
      • Create Sub-Account
      • Update Sub-Account
      • Objects Reference
    • Users Management
      • Get User by User Id
      • Get User by Username
      • Create User
      • Update User
      • Objects Reference
    • Underwriting Management
      • Get Application
      • Get Application Template
      • Get Application Fields Statuses
      • Get Application Status
      • Get Linked Sub-Accounts
      • Get Resubmission
      • UMS IFrame Authentication
      • UMS IFrame
      • UMS IFrame Authentication in Resubmission Mode
      • UMS IFrame in Resubmission Mode
      • Create Application
      • Update Application
      • Update Application Fields Statuses
      • Update Application Status
      • Objects Reference
      • Response Codes
  • folder icon closed folder iconTransactions Processing
    • Getting Started
    • Credit Card Transactions
      • 3D-Secure
      • Authorization
      • Void
      • Capture
      • Charge
      • Refund
      • Credit
      • Verify
      • Chargeback
      • Cancel
    • Update
    • Adjustment
    • Recurring
    • ACH
    • Response
    • Response Codes
    • Objects Reference
  • folder icon closed folder iconTransactions Echo
    • Getting Started
    • Credit Card Transactions
      • Authorization
      • Void
      • Capture
      • Charge
      • Refund
      • Credit
      • Verify
      • Chargeback
      • Cancel
    • Update
    • Adjustment
    • ACH
    • Echo Response
    • Response Codes
    • Objects Reference
  • folder icon closed folder iconTokenization
    • Processing with a Token
      • Getting Started
      • Processing with Tokenization
    • Tokenization iFrame
      • iFrame Integration
      • iFrame Customization
      • iFrame Testing
      • Response Example
    • Tokenization API
      • Getting Started
      • Tokenization Request
      • Tokenization Response
      • Response Codes
  • folder icon closed folder iconPayouts
    • Getting Started
    • Payout Transactions
    • Response
    • Objects Reference
  • folder icon closed folder iconReports
    • Getting Started
    • Reports API
      • Account Balances
      • Payouts
      • Payouts Reconciliation
      • Settlements
      • Transaction Details
      • Account Summary
      • Transactions Summary
      • Transactions
      • Fees Summary
      • Incoming Fees
      • Expected Future Revenue
      • Profitability Analysis
      • Reconciliation Summary
      • Reconciliation Records
      • Chargeback Analysis
      • Tokens
      • Sign-up Summary
    • Status Codes
  • folder icon closed folder iconErrors
  • folder icon closed folder iconResponse Codes
  1. Home
  2. Docs
  3. Dev Portal
  4. Tokenization
  5. Processing with a Token
  6. Processing with Tokenization
Updated on May 17, 2023

Dev Portal

  • folder icon closed folder iconIntroduction
  • folder icon closed folder iconAuthentication
  • folder icon closed folder iconManagement
    • Getting Started
    • Platform Accounts Management
      • Get Platform Account Configuration
      • Get Platform Account
      • Create Platform Account
      • Update Platform Account
      • Objects Reference
    • Sub-Accounts Management
      • Get Sub-Account Configurations
      • Get Sub-Account
      • Create Sub-Account
      • Update Sub-Account
      • Objects Reference
    • Users Management
      • Get User by User Id
      • Get User by Username
      • Create User
      • Update User
      • Objects Reference
    • Underwriting Management
      • Get Application
      • Get Application Template
      • Get Application Fields Statuses
      • Get Application Status
      • Get Linked Sub-Accounts
      • Get Resubmission
      • UMS IFrame Authentication
      • UMS IFrame
      • UMS IFrame Authentication in Resubmission Mode
      • UMS IFrame in Resubmission Mode
      • Create Application
      • Update Application
      • Update Application Fields Statuses
      • Update Application Status
      • Objects Reference
      • Response Codes
  • folder icon closed folder iconTransactions Processing
    • Getting Started
    • Credit Card Transactions
      • 3D-Secure
      • Authorization
      • Void
      • Capture
      • Charge
      • Refund
      • Credit
      • Verify
      • Chargeback
      • Cancel
    • Update
    • Adjustment
    • Recurring
    • ACH
    • Response
    • Response Codes
    • Objects Reference
  • folder icon closed folder iconTransactions Echo
    • Getting Started
    • Credit Card Transactions
      • Authorization
      • Void
      • Capture
      • Charge
      • Refund
      • Credit
      • Verify
      • Chargeback
      • Cancel
    • Update
    • Adjustment
    • ACH
    • Echo Response
    • Response Codes
    • Objects Reference
  • folder icon closed folder iconTokenization
    • Processing with a Token
      • Getting Started
      • Processing with Tokenization
    • Tokenization iFrame
      • iFrame Integration
      • iFrame Customization
      • iFrame Testing
      • Response Example
    • Tokenization API
      • Getting Started
      • Tokenization Request
      • Tokenization Response
      • Response Codes
  • folder icon closed folder iconPayouts
    • Getting Started
    • Payout Transactions
    • Response
    • Objects Reference
  • folder icon closed folder iconReports
    • Getting Started
    • Reports API
      • Account Balances
      • Payouts
      • Payouts Reconciliation
      • Settlements
      • Transaction Details
      • Account Summary
      • Transactions Summary
      • Transactions
      • Fees Summary
      • Incoming Fees
      • Expected Future Revenue
      • Profitability Analysis
      • Reconciliation Summary
      • Reconciliation Records
      • Chargeback Analysis
      • Tokens
      • Sign-up Summary
    • Status Codes
  • folder icon closed folder iconErrors
  • folder icon closed folder iconResponse Codes

Processing with Tokenization

Activating Tokenization

Follow these steps to activate tokenization with a first-time purchase:

  1. Send a regular transaction with "TokenizationFlag": "Internal" OR "TokenizationFlag": "External" and include full payment method information
    (credit card expiration date, name on card, credit card type, credit card number and CVV2). CVV2 value may be required for subsequent transactions as well (check with your bank). In this case, pass the credit card CVV2 value for all the subsequent transactions with payment token. See Using Payment Token code sample for reference.
  2. The System will return a response with the PaymentMethodToken – the secret transaction token you can use for subsequent transactions on the same card
  3. Save the transaction token and, for subsequent transactions with this credit card, specify
    "PaymentMethodToken": "Your Token"
Keep the token in a safe place and use it in all subsequent transactions instead of credit card information

Request Parameters

Query is based on Regular Transaction Packet including the following Parameters

See Transactions Processing chapter for more information regarding making API requests.
 NameTypeRequiredDescription
 “creditcard”objectconditionalRequired if payment method = creditcard; null if transaction “type“ = “update”, “adjustment” and payment method = ach;
 “tokenization”objectoptional 

Response Parameters

 NameTypeRequiredDescription
 “paymenttoken”string✓Credit card payment token

Objects Reference

creditCard

 NameTypeRequiredDescription
 “number”stringconditionalRequired if “token” is null. else null
 “expirationdate”stringconditionalRequired if “token” is null. else null
 “nameoncard”stringconditionalRequired if “token” is null. else null
 “type”enumconditional

Credit card type. Required when PaymentMethod = CreditCard and “tokenization”.”type”=External

Available Values:
 
Visa0
Mastercard1
Diners2
IsraCard3
AmericanExpress4
Discover7
JCB8
VisaDebit9
MastercardDebit10
Delta11
Electron12
Maestro13
Solo14
Interac15
 “cvv”stringoptionalRequired if “token” is null. Else null

tokenization

 NameTypeRequiredDescription
 “type”enumconditional

Null if there is no tokenization object

Available Values:
 
External1
Internal2
 “cardtype“enumconditional

Null if “token” is null

Available Values:
 
Visa0
Mastercard1
Diners2
IsraCard3
AmericanExpress4
Discover7
JCB8
VisaDebit9
MastercardDebit10
Delta11
Electron12
Maestro13
Solo14
Interac15
 “token”stringconditionalNull if there is no tokenization object
 “maskednumber”stringoptionalNull if “token” is null
 “nameoncard“stringconditionalRequired if “token” is not null AND “type” = 1 (required only for External tokenization) else null
				
					Initial Transaction


{
.......

  "creditCard": {
    "number": "4111111111111111",
    "expirationDate": "1225",
    "nameOnCard": "Eleanor Johansson",
    "type": "Visa", 
    "cvv": "123", 
    "tokenization": {
    "type": "External"
    }
  ......
}

Response with Payment Token

{
  .....
  "paymentToken": "",
  .....
  }
}

Using Payment Token

{
.......

  "creditCard": {
    "tokenization": {
    "type": "External",
    "cardType": "Visa",
    "token": "1232535645746", 
    "nameOnCard": "Eleanor Johansson"
    }

    OR

    "creditCard": {
    "tokenization": {
    "type": "Internal",
    "token": "1232535645746", 
    }
  ......
}				
			
Still stuck? How can we help?
Was this page helpful? Yes No

How can we help?

© Amaryllis Payment Solutions, 2022  All rights reserved.