Request
Body Params application/json
{
"url": "https://demo.youshop.com/webhook",
"api_version": "2024-12-21",
"events": [
"payment_intent.created",
"payment_intent.requires_payment_method"
],
"metadata": {
"testkey": "2222"
},
"status": "enabled"
}
Request samples
curl --location -g --request POST 'https://openapi1.uat.useepay.com/api/v1/webhooks/wek_1JHI1QJD42400' \
--header 'x-merchant-no: 500000000007245' \
--header 'x-api-key: FUYTIUvjhgfytfuytwiue' \
--header 'x-app-id: www.pay.com' \
--header 'Content-Type: application/json' \
--data-raw '{
"url": "https://demo.youshop.com/webhook",
"api_version": "2024-12-21",
"events": [
"payment_intent.created",
"payment_intent.requires_payment_method"
],
"metadata": {
"testkey": "2222"
},
"status": "enabled"
}'
Responses
application/json {
"id": "wek_1JHHVQLK40S00",
"url": "https://demo.youshop.com/webhook",
"description": null,
"events": [
"payment_intent.created",
"payment_intent.requires_payment_method"
],
"metadata": {
"testkey": "111"
},
"status": null,
"secret": null,
"merchant_no": "500000000007264",
"app_id": "www.pay.com",
"create_at": "2024-11-15T01:59:52Z",
"modify_at": "2024-11-15T01:59:52Z",
"api_version": "2024-11-21"
}
Modified at 2025-03-20 05:39:07