Saltar al contenido principal
POST
/
chargebacks
/
{id}
/
documents
Upload de documento
curl --request POST \
  --url https://api.sandbox.z2pay.com/chargebacks/{id}/documents \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "description": "<string>",
  "file": "<string>"
}
'

Autorizaciones

x-api-key
string
header
requerido

API Key da Credential (gerada no Backoffice)

Parámetros de ruta

id
string
requerido

ID do chargeback

Cuerpo

application/json
type
enum<string>
requerido
Opciones disponibles:
invoice,
delivery_proof,
signed_contract,
screenshot,
other
description
string | null
requerido
Maximum string length: 500
file
string
requerido
Minimum string length: 1

Respuesta

Documento enviado