Pular para o conteúdo principal
POST
/
refunds
/
{id}
/
refuse
Recusar refund
curl --request POST \
  --url https://api.sandbox.z2pay.com/refunds/{id}/refuse \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "reason": "<string>"
}
'

Autorizações

x-api-key
string
header
obrigatório

API Key da Credential (gerada no Backoffice)

Parâmetros de caminho

id
string
obrigatório

ID do refund

Corpo

application/json
reason
string
Required string length: 1 - 4000

Resposta

Refund recusado