Xsolla-logo

AFS rejected transactionWebhook

When a transaction is declined during an AFS check, Xsolla sends transaction details to the URL webhook. To enable this notification, contact the Account Manager.

Request
Request Body schema: application/json
notification_type
required
string

Type of notification.

required
object

Transaction details (object).

object

Custom project settings (object).

object

User details (object).

object

Refund details (object).

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": {
    },
  • "transaction": {
    },
  • "refund_details": {
    }
}
Response samples
application/json
{
  • "error": {
    }
}