Payment Subscriptions
Authorization (HMAC)
To verify that the payloads your webhooks receive actually come from us, we require that you implement HMAC authentication schema.
HMAC constructs an information-rich header that contains information about the sender, while providing security to ensure that the request has not been forged or tampered with in transit.
For more information read here
Available Subscriptions
Payment Auth Token created
Sends payment auth token creation notification after the installation is finalized
{
"event": {
"name": "payments.AuthToken.created",
"component": "payments",
"resource": "AuthToken",
"action": "created",
"version": "v1",
"subscriptionId": 1,
"dispatchedAt": "2019-10-15T17:00:00.000Z"
},
"payload": {
"locationId": 1,
"guid": "d0511bae-1099-4ac1-bf48-1d8640575330"
}
}
Payload:
Name | Type | Description |
---|---|---|
locationId* | integer | The Lighthouse location ID |
guid* | string | Payment token guid |
Response:
A successful response is accepted, e.g.: 2xx