Receive Wix Payments event
<Info>This API is in beta. Endpoints, fields, and behavior may still change, so avoid depending on it in production.</Info>
<Note>Base44 registers this endpoint with the payment provider for you, and the provider is its only caller. You can't invoke it for your own app or repoint it. It's documented so you can recognize the traffic and read the acknowledgements it returns.</Note>
Receives Wix Payments and Payments by Wix transaction and refund events for a connected app.
Base44 verifies the Digest header as an HMAC-SHA256 of the raw body before reading it, and rejects the request when the header is missing, the signature doesn't match, or the body isn't valid JSON.
Verified events record revenue and refunds for payment analytics. Base44 routes the event by the base44AppId the provider echoes back, so an event without one comes back as ignored. Only a transaction that becomes APPROVED for the first time, for a non-zero amount, is recorded; anything else is acknowledged without being tracked. A verified event Base44 can't process returns an error instead of an acknowledgement, and the provider retries the delivery.
<Warning>The response includes fields beyond the ones documented here. Don't rely on undocumented response fields, as they can change at any time.</Warning>
Headers
Required on every request. HMAC-SHA256 of the raw request body, hex-encoded. A request that omits it is rejected with a 400, as is one whose signature doesn't verify.
Required on every request. HMAC-SHA256 of the raw request body, hex-encoded. A request that omits it is rejected with a 400, as is one whose signature doesn't verify.
Response
How Base44 handled the event.
Example response
{
"status": "processed",
"reason": "unknown_event_type",
"action": "payment_tracked"
}Changes
Changed in 1 of the 14 revisions of this API.1
- ○
endpoint added
endpoint-added
- ○