Manually trigger a webhook notification for a specific transaction
Post https://dashboard.mbiyo.africa/api/v1/merchant/transactions/{transaction_id}/resend-webhook
Authorization* string
Pass your merchant API key as a bearer token in the request header to authorize this call
Content-Type* string
application/json
transaction_id* string
The unique transaction reference ID (e.g., TXN-1234567890ABCDEF)
curl -X POST "https://dashboard.mbiyo.africa/api/v1/merchant/transactions/TXN-1234567890ABCDEF/resend-webhook" \
-H "Authorization: Bearer YOUR_MERCHANT_API_KEY" \
-H "Content-Type: application/json"
{
"status": "success",
"message": "Webhook sent successfully",
"data": {
"transaction_id": "CO-695E8FF9383839393",
"webhook_url": "https://webhook.site/a232416f"
}
}
{
"status": "error",
"message": "Transaction not found",
"data": null
}
The webhook notification will be sent to your configured callback URL (or the default webhook URL) with the following payload:
{
"event": "payment.status.updated",
"transaction_id": "TXN-1234567890ABCDEF",
"order_id": "ORDER-12345",
"status": "successful",
"amount": 1000,
"fee": 15,
"currency": "XOF",
"payment_method": "mobile_money",
"updated_at": "2025-12-16T10:35:00Z"
}