Skip to main content
GET
/
webhooks
/
{id}
Get refund status
curl --request GET \
  --url https://api.httpayer.com/webhooks/{id}
{
  "status": 200,
  "headers": {
    "content-type": "application/json"
  },
  "body": "{\"success\":true,\"txHash\":\"0x123...\",\"method\":\"facilitator\",\"network\":\"base-sepolia\",\"httpayerStatus\":\"refund_confirmed\"}",
  "encoding": "utf8"
}

Path Parameters

id
string
required

Refund webhook ID (from X-Refund-Webhook-Id header)

Response

Refund completed successfully

status
number
Example:

200

headers
object
body
string

JSON string containing refund details

Example:

"{\"success\":true,\"txHash\":\"0x123...\",\"method\":\"facilitator\",\"network\":\"base-sepolia\",\"httpayerStatus\":\"refund_confirmed\"}"

encoding
string
Example:

"utf8"