Reembolsar Checkout Transparente

Changed on

Reembolsa integralmente um pagamento transparente (PIX ou Cartão). O valor reembolsado é igual ao valor original da transação — reembolsos parciais não são suportados.

post/transparents/refund

Request

  • Base URL
    https://api.abacatepay.com/v2
  • URL
    https://api.abacatepay.com/v2/transparents/refund
  • Auth
    HTTP bearer

Request body

idstring required

ID da cobrança transparente (pix_char_, card_ ou char_). O bill_ de checkouts e links é recusado nesta rota.

reasonstring

Motivo do reembolso. Aparece no histórico da transação.

Example request

{
  "id": "pix_char_abc123xyz",
  "reason": "Cliente pagou em duplicidade."
}

Response

Reembolso criado com sucesso.

errorstring nullable
successboolean

Se a requisição obteve sucesso ou não.

Example response

{
  "data": {
    "id": "tran_abc123xyz",
    "status": "COMPLETE",
    "amount": 10000,
    "reason": "Pedido cancelado pelo cliente.",
    "originalId": "bill_abc123xyz",
    "createdAt": "2026-10-05T14:30:00.000Z"
  },
  "success": true
}

Changes

    • warning

      removed the optional property / from the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status