Ecom Payments
Initiate a wallet payment using Google Pay or Apple Pay
Initiate a wallet payment or verification request when amount is set to 0 (zero).
post/api/v2/transactions/wallet
Headers
x-vfi-api-idempotencykeystring uuid
A value you specify that uniquely identifies this transaction. This must be used to trigger a reversal if there is a timeout.
Example:63bbc548-d2de-4546-b106-880a5018461c
Request body
Example request
{
"payment_provider_contract": "30b8bec8-5042-4e67-939c-5453fbe41711",
"customer": "0a57b387-2ba7-4f65-be2f-e176bb49d2ce",
"merchant_reference": "7a1db7a8-6f24-4bc5-a51b-cef33fc05140",
"threed_authentication": {
"eci_flag": "02",
"enrolled": "Y",
"pares_status": "A",
"threeds_version": "1.0.2",
"signature_verification": "Y",
"additional_data": {
"network_score": "20"
}
},
"shipping_information": {
"address": "3732 Metz Lane",
"city": "West Roxbury",
"country": "US",
"postal_code": "1114",
"first_name": "Thelma",
"last_name": "Tatro",
"phone": 8577532706,
"state": "MA"
},
"customer_details": {
"shipping": {
"address": "3732 Metz Lane",
"city": "West Roxbury",
"country": "US",
"postal_code": "1114",
"first_name": "Thelma",
"last_name": "Tatro",
"phone": "8577532706",
"state": "MA"
}
},
"shopper_interaction": "ECOMMERCE",
"token_preference": {
"token_scope": "0e48425a-f1bc-431a-b7d8-f866de8ba276"
},
"detailed_amount": {
"gratuity_amount": 150,
"tax_amount": 150,
"surcharge_amount": 150
}
}Response
Wallet Result
Example response
{
"encrypted_card": "U3dhZ2dlciByb2Nrcw==",
"public_key_alias": "KEY00101"
}