Skip to main content
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>"
}
'

Authorizations

x-api-key
string
header
required

API Key da Credential (gerada no Backoffice)

Path Parameters

id
string
required

ID do refund

Body

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

Response

Refund recusado