Test WebHook
Used to help debug your webhook url. If you get a correct response, your webhook will officially receive messages from luxfin.
GET
/payment/test_webhookAuthentication
Authorization: Bearer <YOUR_API_key>
Response Fields
Please refer to the webhook for the data Luxfin sends to your endpoint
- 200
- 400
- 401
{
"order_id": 0,
"status": "SUCCESS",
"amount": 0.01,
"product": "test product"
}
{
"detail": "Bad Request"
}
{
"detail": "Unauthorized Bearer token"
}
Request Samples
curl -X GET https://luxfin.org/payment/test_webhook \
-H "Authorization: Bearer YOUR_API_KEY"