Register Domain
POST /pay/v1/applepay/domains
Headers
Content-Type string
Content type.
Authorization string
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
POST https://secure.blinkpayment.co.uk/api/pay/v1/applepay/domains HTTP/1.1 Content-Type: application/json Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbG... { "domain_name": "httsp://demo.com" }
Response
HTTP/1.1 200 OK Content-Type: application/json { "success": "true", "message": "https://demo.com has been successfully registered with Apple Pay." }
Get registered domains
POST /pay/v1/applepay/domains
Headers
Content-Type string
Content type.
Authorization string
Access token generated from create token request.
Response
HTTP/1.1 200 OK Content-Type: application/json [ "demo.com" ]