Skip to content

Status changer

Stauts changer

You can change the status of a PayIn by making a request to the following endpoint:

POST /api/v1/order/status
Host: binance.sulpayments.ch
Content-Type: application/json
Authorization: "<token>"

{
    "code": "123-456",
    "status": "paid"
}

Params descriptions

Param Description Value Type
code PayIn reference in your system (partner_code) String
status Status that you want to simulate ("paid", "canceled" or "expired") String

On a successful request HTTP 200 status code, the response will be:

{
    "message": "success"
}

Business errors due to incorrect or missing parameters are returned with an HTTP 400 status code. The response will indicate the error.

{
    "message": "Payout not found"
}