Getting started with Shop Pay Wallet
This section describes how to authorize a client app with and make calls to the Shop Pay Wallet API. Refer to Shop Pay Wallet in the context of Shopify's Checkout and Payment if you'd like to see how the Shop Pay Wallet works together with Shopify's Checkout and Payment APIs.
Authorize your app with Shop Pay WalletAnchor link to section titled "Authorize your app with Shop Pay Wallet"
Complete the following to request authorization from a User and obtain an
access_token that you can use to make requests to the Shop Pay Wallet API. For more information on the authorization flow, see the Authorization guide.
authorization_codereturned in step #1 for an
access_tokenby sending a request to the request access token endpoint. Provide the
authorization_codein the request body.
Securely store the
access_tokenreturned from the request.
access_tokento make a request to the Shop Pay Wallet API.
Get a user's walletAnchor link to section titled "Get a user's wallet"
Complete the following to request a User's Wallet information:
Confirm an orderAnchor link to section titled "Confirm an order"
Complete the following to confirm an Order:
If the User hasn't authorized your application yet, then first request authorization.
POSTrequest to the confirm Order endpoint, passing the
access_tokenin the request header and the
tokenization_typein the request body.
If you set
DIRECT_PAN, then decrypt the PAN from the response payload and process payment on your own platform (this option is only available for non-Shopify merchants). If you set
SESSION, then create a payment using the payment session ID from the response payload.
Update an orderAnchor link to section titled "Update an order"
Complete the following to update an Order: