Webhooks
curl -X 'POST' \
'https://pos-api.sandbox.vibrant.app/pos/v1/webhooks' \
-H 'accept: application/json' \
-H 'apikey: vibrant_pos.YOUR_SECRET_KEY' \
-H 'Content-Type: application/json' \
-d '{
"enabledEvents": [
"payment_intent.succeeded"
],
"description": "My PI succeeded webhook",
"url": "https://myPlaceToReceiveWebhhoks.com/thanks",
"status": "enabled"
"metadata": {
"remember_this": "something"
}
}'To perform an idempotent request, provide an Idempotency-Key: header to the request.
The list of events to enable for this endpoint. You may specify [’*’] to enable all events, except those that require explicit selection.
["*","balance.available","card_transaction.created","card_transaction.updated","charge.created","charge.failed","charge.pending","charge.refunded","charge.refund.updated","charge.succeeded","charge.updated","file.created","file.deleted","file.updated","location.created","location.deleted","location.updated","order.created","order.deleted","order.updated","payment_intent.canceled","payment_intent.created","payment_intent.payment_failed","payment_intent.processing","payment_intent.requires_action","payment_intent.requires_confirmation","payment_intent.requires_payment_method","payment_intent.succeeded","payout.canceled","payout.created","payout.failed","payout.paid","payout.updated","product.created","product.deleted","product.updated","refund.canceled","refund.created","refund.failed","refund.processing","refund.requires_confirmation","refund.requires_payment_method","refund.succeeded","spot.created","spot.deleted","spot.updated","terminal.action_canceled","terminal.action_failed","terminal.action_in_progress","terminal.action_succeeded","terminal.created","terminal.updated","trxn.created","user.created","user.deleted","user.updated","webhook.created","webhook.updated"]Add a small description to your webhook
My new and dandy webhookThe URL of the webhook endpoint.
https://myPlaceToReceiveWebhhoks.com/thanksEnables or Disables the webhook
enabledUnique webhook id defined by Vibrant
we_wR7yMtTjefcSQjtgngVNkpObject type
webhookaccount id of your account
acct_wx7yMtTjefcSQjtgngVNkpApi version of this webhook
v1UnixtimeStamp when the webhook was created
1671087901251UnixtimeStamp when the webhook was updated
1671087901251Custom description added to the webhook
Custom descirption addedEvents enabled for this webhook: balance.available,card_transaction.created,card_transaction.updated,charge.created,charge.failed,charge.pending,charge.refunded,charge.refund.updated,charge.succeeded,charge.updated,file.created,file.deleted,file.updated,location.created,location.deleted,location.updated,order.created,order.deleted,order.updated,payment_intent.canceled,payment_intent.created,payment_intent.payment_failed,payment_intent.processing,payment_intent.requires_action,payment_intent.requires_confirmation,payment_intent.requires_payment_method,payment_intent.succeeded,payout.canceled,payout.created,payout.failed,payout.paid,payout.updated,product.created,product.deleted,product.updated,refund.canceled,refund.created,refund.failed,refund.processing,refund.requires_confirmation,refund.requires_payment_method,refund.succeeded,spot.created,spot.deleted,spot.updated,terminal.action_canceled,terminal.action_failed,terminal.action_in_progress,terminal.action_succeeded,terminal.created,terminal.updated,trxn.created,user.created,user.deleted,user.updated,webhook.created,webhook.updated
["charge.succeeded"]Events enabled for this webhook
enabledThe url this webhooks should POST against
enabledNOT IMPLEMENTED YET - this secret should be used to validate the request Vibrant will be sending you
234lkjsdklfjkjfSDFSDFKSDJFSDKSSSQ#€€%%%#All custom values in here
{"remember_this": "something"}Event X is not allowed
Forbidden.
Receiving a webhook
Webhook event verification
Webhook Retrial behaviour
Webhooks best practices
Last updated