Create Apple Pay Token

Exchanges an Apple Pay payment token for a card token you can charge.


When a customer authorises an Apple Pay payment, Apple returns an encrypted paymentData payload. Send that payload here as token_data; Mamo returns a single-use token you then use to create the charge.


To complete the payment, call POST /payments with the payment link identified by payment_link_id and the returned token passed as apple_pay_token (see Create Payment).


Wallet buttons are only offered when the payment link's payment_methods array includes "wallet".

Body Params
token_data
object
required

The raw Apple Pay paymentData object returned by the Apple Pay sheet.

Headers
string
Responses

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json