Xsolla-logo

Cancel notification

post/push-payments/cancel

Send the notification about payment cancellation if:

  • the payment was not completed
  • the payment was refunded
Request
Request Body schema: application/json
payment_id
required
integer
Responses
200

OK.

400

Bad request.

403

Access denied.

404

Payment not found.

409

Payment is already cancelled.

422

Error while cancelling payment.

500

Internal server error.

Request samples
application/json
{
  • "payment_id": 784998479
}