Xsolla-logo

Pay notification

post/push-payments/pay

Send this notification after successfully charging a user.

Request
Request Body schema: application/json
project_id
required
integer

Project ID.

required
object
required
object
required
object
Responses
200

OK.

400

Bad request.

403

Access denied.

404

Order not found.

409

Order is already paid.

422

Error while creating payment.

500

Internal server error.

Request samples
application/json
{
  • "project_id": 18404,
  • "payment": {
    },
  • "purchase": {
    },
  • "user": {
    }
}
Response samples
application/json
{
  • "payment_id": 784998484
}