POST

Submit Event


This Wix API is used by a Payment Service Provider (PSP) to send webhooks about payment and refund states to Wix.

Calls to this endpoint must include a User-Agent header with the name of the PSP and the integration version in this format: {PSP}/{version}. PSP's create their own version numbers.

You cannot try out this endpoint because an Authorization header value has to be obtained with the OAuth 2.0 client credentials flow for a specific scope. So please ignore the Authorization section below as well as the Try It Out button.

Endpoint
POST
https://www.wixapis.com/payments/v1/provider-platform-events

Body Params
eventEventRequired

Event data.

Response Object
Returns an empty object.
Request
cURL
curl -X POST 'https://www.wixapis.com/payments/v1/provider-platform-events' \ -H 'Content-Type: application/json' \ -H 'Authorization: <AUTH>' \ -H 'User-Agent: banana-pay/1.0.0' \ -d '{ "event": { "transaction": { "wixTransactionId": "a15a3ee3-22d3-4a3f-920e-2186e13a19d1", "pluginTransactionId": "e89b-12d3-a456-42665" } } }'
Response
JSON
{}
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?