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

Field

Type

Description

type

String. For Visa Checkout, the value will be VISA.

Wallet provider identifier

encPaymentData

String

The Visa Checkout callid for the request

encKey

String

The Encrypted Key for decrypting the payment data from Visa Checkout

callid

String

The Encrypted Payment Data from the Visa Checkout request

Masterpass

Field

Type

Description

type

String. For Masterpass, the value will be MASTERPASS

Wallet provider identifier

checkout_resource_url

String

The checkout_resource_url returned from MasterPass

oauth_token

String

The oauth_token returned from MasterPass

oauth_verifier

String

The oauth_verifier returned from MasterPass

Masterpass Express

Field

Type

Description

type

String. For Masterpass Express, the value will be MASTERPASSEXPRESSV7

Wallet provider identifier

pre_checkout_transaction_id

String

The identifier representing the checkout transaction ID

ZipMoney

With an account token

Field

Type

Description

type

String. For Zip Money, the value will be ZIP_MONEY

Wallet provider identifier

token

Object

token.account_token

String

With a checkout_id

Field

Type

Description

type

String. For Zip Money, the value will be ZIP_MONEY

Wallet provider identifier

token

Object

token.checkout_id

String

Apple Pay

Field

Type

Description

type

String. For Apple Pay, the value will be APPLE

Wallet provider identifier

token

Object

token.paymentData

Object

Data format is specified by the latest Apple Pay documentation

Google Pay

Field

Type

Description

type

String. For Google Pay, the value will be GOOGLE

Wallet provider identifier

token

Object

Set 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!