Saltar al contenido principal
POST
/
withdrawals
Solicitar saque
curl --request POST \
  --url https://api.sandbox.z2pay.com/withdrawals \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "recipientId": "<string>",
  "amount": 2,
  "currency": "<string>"
}
'

Autorizaciones

x-api-key
string
header
requerido

API Key da Credential (gerada no Backoffice)

Encabezados

Idempotency-Key
string

Chave única para garantir idempotência da requisição

Cuerpo

application/json
recipientId
string
requerido
Minimum string length: 1
amount
integer
requerido
Rango requerido: x >= 1
currency
string

Respuesta

Saque solicitado