Webhook events
Webhook authentication
We've taken some steps to secure webhook communications, so you can always verify that a webhook event came from us and not from a malicious party.
Below are the steps you need to follow to verify that a webhook event came from Bridgecard.
STEP 1: Access your webhook secret from your dashboard (live_webhook_secret_key or test_webhook_secret_key depending on the environment)

STEP 2: Whenever you get a webhook event from Bridgecard, extract the x-webhook-signature header and decrypt it using your secret key (live_secret_key / test_secret_key depending on the environment)
STEP 3: Compare the decrypted string with your webhook secret key from STEP 1. If they are the same, then it is a valid webhook event sent from us.
All webhook events
These are the list of webhook events triggered when you communicate with our APIs.
cardholder_verification.successful
This webhook event is sent when a user has passed the ID verification process
cardholder_verification.failed
This webhook event is sent when a user has failed the ID verification process
card_creation_event.successful
We send this webhook event when a card is successfully created
card_creation_event.failed
This webhook event is sent when we can't complete your request to create a card.
card_credit_event.successful
We send this webhook event when a successful credit transaction happens on a USD card.
card_credit_event.failed
We send this webhook event when a card funding transaction fails on a USD card.
card_unload_event.successful
You get this webhook event when an unload transaction is successful on a USD card.
card_unload_event.failed
You get this webhook event when an unload transaction on a USD card fails.
card_debit_event.successful
You get this webhook event when a debit transaction happens on a USD card.
card_debit_event.declined
We send this webhook event whenever there's a declined transaction on the user's USD card.
card_declined_transaction_fee_charge_event.successful(Deprecated)
We send this webhook event when the declined transaction fee on a user's card has been charged.
card_reversal_event.successful
This webhook event is triggered whenever a user USD card gets a reversal from a merchant that they previously got debited from.
card_delete_event.notification
This webhook event is triggered to notify a user that he doesn't have enough funds to pay the maintenance fee due in the subsequent month and his card will be automatically deleted in some days.
card_delete_event.successful
This webhook event is triggered whenever a user's USD card gets deleted. Note: USD Mastercard gets deleted if a user doesn't have enough balance to pay for the next month's monthly maintenance fee.
3d_secure_otp_event.generated [Deprecated]
This webhook event is sent when a user attempts a transaction online and he's sent an OTP to confirm the transaction.
Note:
This API is currently deprecated. To get OTP for transactions on the Mastercard kindly call the transaction history API to fetch the OTP for that current transaction.
Here is a sample. In this example, the OTP required for FACEBOOK is CB966S3VM2

card_maintenance_fee_debit_event.successful
We send this webhook event whenever when we deduct the monthly card maintenance fee from the card.
card_freezed_due_to_30_days_inactivity_event.successful
This webhook event is sent when a user's card has been blocked because he hasn't done any transactions in the last 30 days.
card_flagged_due_to_suspiscion_of_fraud.activated
This webhook event is sent when a user's card has been blocked due to suspicion of fraudulent activity. We'll have to manually review this case and make a final decision, you can reach out to support in this case.
naira_card_credit_event.successful
We send this webhook event when a successful credit transaction happens on a Naira card.
naira_card_credit_event.failed
We send this webhook event when a credit transaction fails on a Naira card.
naira_card_unload_event.successful
You get this webhook event when an unload transaction is successful on a Naira card.
naira_card_unload_event.failed
You get this webhook event when an unload transaction failed on a Naira card.
naira_card_debit_event.successful
You get this webhook event when an debit transaction is successful on a Naira card.
naira_card_debit_event.declined
You get this webhook event when a debit transaction is declined on a Naira card.
naira_account_credit_event.successful
This webhook event is sent when a user's naira account is credited
naira_account_transfer_event.successful
This webhook event is sent when a user's naira account debit transaction is successful
naira_account_transfer_event.failed
This webhook event is sent when a user's naira account debit transaction fails
rewards_event.claimed
This webhook event is sent when a user claims a reward via the rewards service.
card_migration_event.successful (Deprecated)
We send this webhook event when a card is successfully migrated
cardholder_verification.manual_review
This webhook event is sent when a cardholder KYC fails and is subject to manual review within 24 hours.
card_migration_event.failed (Deprecated)
This webhook event is sent when we can't complete your request to migrate a card.
Issuing_account_topup.successful
This webhook is sent after a successful top-up on your issuing wallet.
card_negative_balance_event.notification
This webhook is sent when a card recieves a transaction update and the card balance goes into negative. Imagine your card has only a $10 balance. If you book an Uber ride with an estimated cost of $10, the ride cost is authorized and debited from your card right away. However, if an unforeseen event, like an accident, extends the ride and the cost increases to $15, the final amount will be adjusted during the settlement stage (typically within 0-3 days). In this case, the transaction amount will update to $15, resulting in a $5 negative balance on your card. Uber reserves the right to apply this negative balance to the card.
Last updated