curl --location 'https://your-api-server.com' \
--header 'X-Api-Key;' \
--header 'X-Webhook-Id;' \
--header 'X-Webhook-Timestamp;' \
--header 'X-Webhook-Version;' \
--header 'X-Webhook-Key-Id;' \
--header 'X-Webhook-Signature;' \
--header 'X-Webhook-Previous-Key-Id;' \
--header 'X-Webhook-Previous-Signature;' \
--header 'Content-Type: application/json' \
--data '{
"event": "subscription.status_updated",
"subscription": {
"uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
"external_id": "string",
"status": "creating",
"amount": 0,
"gross_amount": 0,
"net_amount": 0,
"fee_amount": 0,
"fee_payer": "string",
"currency": "RUB",
"payment_method": "sbp",
"interval": "day",
"interval_count": 0,
"description": "string",
"metadata": {
"property1": "string",
"property2": "string"
},
"confirmation_url": "http://example.com",
"payform_url": "http://example.com",
"all_providers_unavailable": true,
"next_charge_at": "2019-08-24T14:15:22.123Z",
"last_charge_at": "2019-08-24T14:15:22.123Z",
"created_at": "2019-08-24T14:15:22.123Z",
"updated_at": "2019-08-24T14:15:22.123Z"
}
}'