Create a purchase using a wallet

The wallet request object

The credentials required to make payments with a particular wallet provider vary according to the provider used. The type field in the wallet object determines which provider syntax is used. Currently supported wallets are:

  • Apple Pay
  • Google Pay
  • Masterpass
  • Masterpass Express
  • ZipMoney
  • Visa Checkout

Visa Checkout

FieldTypeDescription
typeString. For Visa Checkout, the value will be VISA.Wallet provider identifier
encPaymentDataStringThe Visa Checkout callid for the request
encKeyStringThe Encrypted Key for decrypting the payment data from Visa Checkout
callidStringThe Encrypted Payment Data from the Visa Checkout request

Masterpass

FieldTypeDescription
typeString. For Masterpass, the value will be MASTERPASSWallet provider identifier
checkout_resource_urlStringThe checkout_resource_url returned from MasterPass
oauth_tokenStringThe oauth_token returned from MasterPass
oauth_verifierStringThe oauth_verifier returned from MasterPass

Masterpass Express

FieldTypeDescription
typeString. For Masterpass Express, the value will be MASTERPASSEXPRESSV7Wallet provider identifier
pre_checkout_transaction_idStringThe identifier representing the checkout transaction ID

ZipMoney

With an account token

FieldTypeDescription
typeString. For Zip Money, the value will be ZIP_MONEYWallet provider identifier
tokenObject
token.account_tokenString

With a checkout_id

FieldTypeDescription
typeString. For Zip Money, the value will be ZIP_MONEYWallet provider identifier
tokenObject
token.checkout_idString

Apple Pay

FieldTypeDescription
typeString. For Apple Pay, the value will be APPLE, or APPLEPAYWEB if using Apple Pay on the Web.Wallet provider identifier
tokenObject
token.paymentDataObjectData format is specified by the latest Apple Pay documentation

Google Pay

FieldTypeDescription
typeString. For Google Pay, the value will be GOOGLEWallet provider identifier
tokenObjectSet this field to the object provided by the Google Pay API. This object will contains fields including intermediateSigningKey, protocolVersion, signature, and signedMessage
Language
Authentication
Basic
base64
:
Click Try It! to start a request and see the response here!