Webhook for STK push
GET /api/payments/webhook-sample-stk-push
Webhook payload description for sample STK push
Responses
- 200
Sample Webhook response for stk push
Response Headers
x-type any
Webhook type (stk-push)
x-secret-hash any
Secret hash provided
- */*
- Schema
- Example (from schema)
Schema
- requestId uuid
- reference string
- success boolean
- details string
- amount double
{
"requestId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"reference": "string",
"success": true,
"details": "string",
"amount": 0
}
Loading...