Retry Transaction Webhook

API Details

FieldValue
ActionRetry Transaction Webhook
MethodGET
Path/v1/transaction/:transaction_id/webhook
Auth RequirementPublic key or secret key using Bearer Auth

Business Summary

This endpoint executes a manual retry of a transaction webhook.


Request Parameters

Path Parameters

NameTypeRequiredDefaultAllowed ValuesDescription
transaction_idstringYesTransaction database ID or transaction reference.

Request Headers

NameTypeRequiredDescription
AuthorizationstringYesBearer token in the form Bearer pub_... or Bearer sec_....

Request Example

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 a valid prefix, either 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 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. Retry the request or contact Basqet support.