Register a device for a pass's updates (PassKit web service)
POST
/passkit/v1/devices/{deviceLibraryIdentifier}/registrations/{passTypeIdentifier}/{serialNumber}
Apple's PassKit web service, called by Wallet itself under the pass's webServiceURL. Authenticated by the pass's own token. 201 for a new registration, 200 when the device was already registered (its push token is updated).
Authorizations
ApplePassAuth
Apple's PassKit web service scheme: Authorization: ApplePass <authenticationToken>, the token inside the pass itself. Sent by Wallet, never by a person.
Type
API Key (header: Authorization)
Parameters
Request Body
application/json
JSON
{
"pushToken": "string"
}
Responses
Already registered: the device's push token is updated. The body is the plain-text status line OK.
text/plain
JSON
"OK"