Xsolla-logo

Block held amount of disputed transaction

patch/api/v1/merchants/customer/balance/transaction/block

Blocks held amount of a disputed transaction. Until the block is released, the transaction can't be credited to the customer balance.

SecurityBasicAuth
Request
Request Body schema: application/json

Request body

email
required
string <email> <= 255 characters

Customer email which need to block transaction

id
required
string

Transaction ID in the merchant system.

Responses
204
400

Bad request.

401

Merchant is unauthorized.

403

Accounting entry belongs to another customer.

422

Enrolled entry can't be blocked.

500

Internal error.

Request samples
application/json
{
  • "email": "user@example.com",
  • "id": "string"
}
Response samples
application/json
{
  • "invalidParams": [
    ]
}