Xsolla-logo

Created subscriptionWebhook

When a user creates a subscription, we send a notification to your payment notification script.

Request
Request Body schema: application/json
notification_type
required
string

Type of notification.

object

Custom project settings (object).

object

User details (object).

object

Subscription details (object).

custom_parameters
object

Your custom parameters.

Responses
204

Return to indicate successful processing.

400

Return in case of an error in the provided information (e.g., a required parameter missing, failed authorization, etc.).

500

Return to indicate temporary errors with your servers.

Request samples
application/json
{
  • "notification_type": "string",
  • "settings": {
    },
  • "user": {
    },
  • "subscription": {
    },
  • "custom_parameters": { }
}
Response samples
application/json
{
  • "error": {
    }
}