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

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
Credentials
Basic
base64
:
Click Try It! to start a request and see the response here!