Skip to main content
POST
Tokenize Apple Pay

Authorizations

Authorization
string
header
required

JWT bearer token obtained via the OAuth2 client-credentials grant from the platform Authentication API. The token's scopes gate the endpoints it may call, and its audience names the Guardian instance. This is the standard way to authenticate to Guardian.

Body

application/json
payment_data
object
required

The Apple Pay EC_v1 paymentData envelope, passed through verbatim as returned by the Apple Pay JS API.

Response

Success response

id
string<uuid>
required

The ID of the stored wallet token.

card
object
required