| Field | Value |
|---|
| Action | Retry Transaction Webhook |
| Method | GET |
| Path | /v1/transaction/:transaction_id/webhook |
| Auth Requirement | Public key or secret key using Bearer Auth |
This endpoint executes a manual retry of a transaction webhook.
| Name | Type | Required | Default | Allowed Values | Description |
|---|
transaction_id | string | Yes | — | — | Transaction database ID or transaction reference. |
| Name | Type | Required | Description |
|---|
Authorization | string | Yes | Bearer token in the form Bearer pub_... or Bearer sec_.... |
curl --request GET \
--url https://api.basqet.com/v1/transaction/BASQET_TXN_REF_12345/webhook \
--header 'Authorization: Bearer sec_live_xxxxxxxxxxxxx'
| Field | Type | Nullable | Description |
|---|
status | string | No | Always success for 2xx responses. |
data | string | No | Success message, e.g. Webhook sent successfully. |
meta | object | No | Usually {}. |
{
"status": "success",
"data": "Webhook sent successfully",
"meta": {}
}
| HTTP Code | Message | Resolution |
|---|
400 | Authorization header is malformed or API key format is invalid. | Ensure the Authorization header is correctly formatted and the key uses a valid prefix, either pub_ or sec_. |
401 | Authorization header is missing. | Include the Authorization header with your Bearer token in the request. |
403 | API key is valid but does not belong to the transaction’s merchant. | Verify that the API key provided belongs to the merchant account associated with this transaction. |
404 | Transaction does not exist. | Check that the transaction_id or transaction reference provided in the URL path is correct. |
500 | Unexpected server error. | An unexpected error occurred. Retry the request or contact Basqet support. |