Skip to main content
POST
/
v1
/
cashouts
/
{id}
/
cancel
Cancelar saque
curl --request POST \
  --url https://api-payment.safefypay.com.br/v1/cashouts/{id}/cancel \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "b2c3d4e5-f6a7-8901-bcde-f23456789012",
    "status": "Cancelled"
  },
  "message": "Saque cancelado com sucesso.",
  "error": null
}
Cancels a pending cashout before it is processed.
Cancellation is only possible while the cashout has Pending status. Once processing has begun, it can no longer be cancelled.
Upon successful cancellation, the reserved amount is immediately returned to your available balance.

Authorizations

Authorization
string
header
required

Token JWT obtido via /v1/auth/token

Path Parameters

id
string<uuid>
required

ID do saque

Example:

"b2c3d4e5-f6a7-8901-bcde-f23456789012"

Response

Saque cancelado

data
object
message
string | null
error
object