Create Apple Pay session
To use this endpoint from the browser, you’ll need to specify the
/accounts/{accountID}/apple-pay.write
scope when generating a token.
POST
/accounts/{accountID}/apple-pay/sessions
|
|
Path parameters
accountID
string
<uuid>
required
ID of the Moov account acting as a merchant in a card transaction.
Body
application/json
displayName
string
<=64 characters
required
A string of 64 or fewer UTF-8 characters. Displayed in the Buy button.
domain
string
required
A fully qualified top-level or sub-domain name where you will accept Apple Pay. Should not include “https”.
Response
application/json