Authorization: Bearer •••
curl --location --request POST 'https://api.mel.store/api/mel-store/store-settings/test-sell-webhook' \
--header 'Authorization: Bearer ••••••' \
--data ''
On your webhook url you can recieve a test event with following structure and Webhook-key header
{
"headers": {
"Content-Type": [
"application/json"
],
"Webhook-Key": [
"ua1TnsjqKADeDX2zxvp1aaDTOooXAulL9MK2sLZCT1jLRjB3YazlXFf6VajEQWtE"
],
},
"content_length": 465,
"body": "see below",
"method": "POST",
}
{
"uuid": "e0abbf80",
"amount": 1299,
"vat": 259.8,
"total_amount": 1558.8,
"currency": "USD",
"commission": 76.38,
"metadata": {
"order_id": 966,
"shop_url": "https://strosin.com/repellat-et-et-veniam-eaque-officiis"
}
"additional_fields": {
"telegram_username": "@gusikowski.kelsi",
"birth_date": "11.11.2001"
},
"exchange_rate": 1,
"customer_phone": "+14178716680",
"customer_name": "Haven Weimann",
"customer_email": "claudine18@yahoo.com",
"created_at": 1726048320,
"product_id": 1,
"product_title": "Introduction To Modeling And Simulation",
"product_type": "CustomService",
"trigger_type": "manual"
}