This page documents a feature that is currently in development. This documentation might not match the final implementation.
This document describes how to process the ecom-token-v1
payment container type when you integrate with Meta Pay. The payment instrument delivered in this container is an ecommerce token also referred to as network token. Ecommerce tokens are a replacement for processing online payments using cards without using PAN data. Meta Pay operates as a Token Requestor and handles tokenization of user cards with payment networks - specifically Visa and Mastercard.
Please note the following Mastercard disclosure: Mastercard, through Cloud Token Offering, provides tokenization as an incentive to merchants (and aggregators and developers acting on behalf of merchants) to enable secure remote payments. The incentive is offered to (a) advance the adoption of this technology-enabled payment option; and (b) route transactions through such card network’s systems and networks. As such, you, as a merchant (or aggregator or developer acting on behalf of a merchant) may opt in to the token value-added transaction type and route to Mastercard. If you do not want to route to Mastercard in exchange for this incentive, then you can accept debit card payments in a more traditional interface that also allows for a routing choice.
For more general information, see Overview of Meta Pay Integration. See Payment processing for information common to all container types.
The information below is intended for payment partners.
The following is an example of container data for a ecom-token-v1
container:
{ container_type: 'ecom-token-v1', created_time: 1582230020020, merchant_id: '123e4567-e89b-12d3-a456-426614174000', container_context: '76077dca-8c57-4536-bf48-30bd3f02196e', token_data: { account_holder_name: '<name>', brand: 'visa', number: '5413339000001513', expiry_month: '12', expiry_year: '2022', cryptogram: 'AlhlvxmN2ZKuAAESNFZ4GoABFA==', eci: '0', }
The following defines the structure of container data for ecom-token-v1
:
Property | Type | Description | Required |
---|---|---|---|
| The container type. | Yes | |
| String | An opaque ID that uniquely identifies the context that the container is intended for. Verify the container context to prevent misuse of containers. | Yes |
| String | The unique identifier for the merchant. | Yes |
| Integer | The unix time in milliseconds. | Yes |
| Object | The data for an ecommerce token. | Yes |
| String | The name on the payment card. | Yes |
| String | Network brand of the token. Valid values are | Yes |
| String | Token number assigned to user's selected card. | Yes |
| String | A cryptogram, containing a transaction-unique value. | Yes |
| String | Electronic Commerce Indicator. | Yes |
| String | The month the network token expires. Valid values are | Yes |
| String | The year the network token expires. Specify the year with 4 digits. | Yes |
| Object | The billing address for the network token. | No |
| String | The street address for the billing address. | No |
| String | A second line for the billing address. | No |
| String | The city for the billing address. | No |
| String | The state for the billing address. | No |
| String | The postal code for the billing address. | Yes |
| String | The Alpha-2 code from the ISO 3166-1 standard for the billing address. | Yes |