Anchor | ||||
---|---|---|---|---|
|
POST /pay/v1/applepay/domains
Headers
Content-Typestring
Content type.
Authorizationstring
Access token generated from create token request.
Attributes
domain_name string
The domain being registered. Should be in the following format:
https://{Your domain}
Request
Code Block | ||
---|---|---|
| ||
POST https://secure.blinkpayment.co.uk/api/pay/v1/applepay/domains HTTP/1.1 Content-Type: application/json Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbG... { "domain_name": "httsphttps://demo.com" } |
Response
Code Block | ||
---|---|---|
| ||
HTTP/1.1 200 OK Content-Type: application/json { "success": "true", "message": "https://demo.com has been successfully registered with Apple Pay." } |
Anchor | ||||
---|---|---|---|---|
|
POST /pay/v1/applepay/domains
Headers
Content-Typestring
Content type.
Authorizationstring
Access token generated from create token request.
Response
Code Block | ||
---|---|---|
| ||
HTTP/1.1 200 OK
Content-Type: application/json
[
"demo.com"
] |