Description of your new file.
POST
to v0/webhooks
as you would in production with a payload like so:
event_epoch
as your event epoch in your integration.PUT
request to v0/webhooks/{webhook\_id}
just as you would in production. The webhook_id
is the same id
returned from the response of the POST
request from the previous step.
To activate the endpoint, you set the status with a payload like so:
GET
request to https://api.sandbox.bridge.xyz/v0/webhooks/{webhook_id}/events
. The webhook_id
is the same as per the previous. No payload is required, but in sandbox you can pass in a category query parameter to specify which exact events you would like in the payload.
For example, to see card account specific events, you can GET https://api.sandbox.bridge.xyz/v0/webhooks/{webhook_id}/events?category=card_account
. The response will have a format like so: