Retry Transaction Webhook

API Details

Action: Retry Transaction Webhook
Method: GET
Path: /v1/transaction/:transaction_id/webhook
Auth Requirement: Public Key or Secret Key via bearer auth.

Business Summary

This endpoint executes a manual retry of a transaction webhook.

Request Parameters

Path Parameters

NameTypeRequiredDefaultAllowed ValuesDescription
transaction_idstringYes--Transaction database ID or transaction reference

Request Headers

NameTypeRequiredDescription
AuthorizationstringConditionallyBearer token in the form ``Bearer pub_.... Optional if public_key`` is passed in the request body.

Request Examples

cURL

curl --request GET \
  --url https://api.basqet.com/v1/transaction/BASQET_TXN_REF_12345/webhook \
  --header 'Authorization: Bearer sec_live_xxxxxxxxxxxxx'

Response Schema

FieldTypeNullableDescription
statusstringNoAlways success for 2xx responses.
datastringNoSuccess message (e.g Webhook sent successfully)
metaobjectNoUsually {}.

Sample Response

{
  "status": "success",
  "data": "Webhook sent successfully",
  "meta": {}
}

Error Reference

HTTP CodeMessageResolution
400Authorization header is malformed or API key format is invalid.Ensure the Authorization header is correctly formatted and the key uses the valid prefix (pub_ or sec_).
401Authorization header is missing.Include the Authorization header with your Bearer token in the request.
403API key is valid but does not belong to the transaction's merchant.Verify that the API key provided belongs to the specific merchant account associated with this transaction.
404Transaction does not exist.Check that the transaction_id or transaction reference provided in the URL path is correct.
500Unexpected server error.An unexpected error occurred. Please retry the request or contact Basqet support.