Skip to content

Resend webhook

POST
/open/webhook/resend

Put one callback or webhook back in the delivery queue. It keeps its event_id (so you can dedupe) and its body, and gets the full retry schedule again. Delivery starts within a minute: a webhook goes to the wallet's current webhook_url and a wallet callback to its current callback URL.

See Webhooks and Webhooks and callbacks for the event lists, signing and retry schedule.

history

Request History

Your request history will appear here.

Headers

X-API-USER stringrequired

Your Moolre username.

X-API-KEY stringrequired

Your wallet private API key. A public key is refused.

Body Params

accountnumberstringrequired

Your Moolre wallet account number.

event_idstringrequired

The event to resend: evt_ followed by 24 characters.

Responses

The event is queued.

statusinteger
1 for success
codestring
Response code, WHR01
messagestring
Response message
dataobject
Result
gonull
Navigation hint
metaobject
Always present. meta.requestid is the unique id of this request (also the X-Request-Id header); quote it to support. meta.notices is an array, empty when there is nothing to report. meta.replayed is true only on an idempotent replay.
{  "status": 1,  "code": "WHR01",  "message": "Webhook event queued for delivery.",  "data": {    "event_id": "evt_0123456789abcdef01234567",    "state": "pending"  },  "go": null,  "meta": {    "requestid": "req_c68f4c66115c26725c796242",    "notices": []  }}

The event does not exist on this wallet.

statusinteger
0 for failure
codestring
Response code, for example WHR02
messagestring
Error message
datastring | object | null
The failing field, or details
metaobject
Always present: meta.requestid (the unique id of this request) and meta.notices (an array)
{  "status": 0,  "code": "WHR02",  "message": "Webhook event not found.",  "data": "event_id",  "go": null,  "meta": {    "requestid": "req_c68f4c66115c26725c796242",    "notices": []  }}

Fields every response can carry

On failures, read code, message and data (the first failing field). meta is always present and holds requestid (also the X-Request-Id header), notices and, only on idempotent replays, replayed. There is no outcome field: use status, code and data.txstatus. Send X-Moolre-Http-Status: strict to receive real HTTP status codes. See Responses and request IDs and Errors and status codes.

Language

curl --request POST \     --url 'https://api.moolre.com/open/webhook/resend' \     --header 'X-API-USER: Your Username' \     --header 'X-API-KEY: YOUR_API_KEY' \     --header 'Content-Type: application/json' \     --data '{  "accountnumber": "",  "event_id": ""}'

Response

Body

{  "status": 1,  "code": "WHR01",  "message": "Webhook event queued for delivery.",  "data": {    "event_id": "evt_0123456789abcdef01234567",    "state": "pending"  },  "go": null,  "meta": {    "requestid": "req_c68f4c66115c26725c796242",    "notices": []  }}