General Information

General Information

This functionality allows you to create card tokens. Two ways are provided for this service.

1.  Directly call the API where the encrypted card information is sent.
2. Invoke the tokenization form, which is displayed in a browser window. If this form is used, the user must enter the card details.

Requirements:

  • Create API credentials.

  • Create payment orders from the application backend, in order to avoid exposing API credentials.

  • Enable a webhook to which the tokenization responses will be sent.


In https://gitlab.com/gp-examples/ you can find examples of this functionality, using the form and as well with direct calls to the tokenization API.

  • An article explaining the steps to create a tokenization order. These steps should always be done either to use the tokenization API or the web form we provide.

  • A section that explains step by step the tokenization API integration.

  • A section explaining step by step the tokenization form integration.


The sandbox endpoints to be used are the following:

  1. Endpoint to create tokenization order. https://sandbox-merchant.greenpay.me/tokenize
  2. Endpoint to process tokenization through API. https://sandbox-checkout.greenpay.me/tokenize
  3. Endpoint to process tokenization through web form. https://sandbox-tokenizeform.greenpay.me

API tokenization flow chart.

Tokenize form flow chart.


    • Related Articles

    • General information

      1. What is the Greenpay checkout or payment Gateway? The checkout is a functionality that allows merchants to charge credit or debit cards of their customers. 2. How to integrate the checkout? This service can be integrated in different ways: ...
    • Subscription service - General information

      This service allow merchants to subscribe their customers to automatic collections in a set time window. This functionality only allows subscription monthly payments. It will be deducted from the customer’s card every month, while the subscription is ...
    • General information - plugins

       Greenpay offers the possibility to integrate the checkout service on Magento 1.9 and Wordpress platforms through plugins. The functionalities provided by each plugin are the following:  Magento Checkout web form Wordpress Checkout web form ...
    • API Tokenization process

      To consider To invoke the payments api, the following aspects should be considered: Use the service on the endpoints: Sandbox: https://sandbox-checkout.greenpay.me/tokenize Production: https://checkout.greenpay.me/tokenize Get a session and token of ...
    • Update card token

      To consider To invoke the payments api, the following aspects should be considered: Use the service on the endpoints: Sandbox: https://sandbox-checkout.greenpay.me/tokenize/update Production: https://checkout.greenpay.me/tokenize/update Get ...