Get refund details for an invoice

Retrieves refund details for the invoice specified by the invoice_id URL parameter.

Securitytilia_auth
Request
path Parameters
invoice_id
required
string (InvoiceId) <= 36 characters

The Invoice ID

Example: inv_2V2XDLW6zogChdShdFh8WKOhHii
query Parameters
status
string
Default: "REFUND-SUCCESS"

Filter refunds by refund status

Enum: "REFUND-SUCCESS" "REFUND-FAILED" "REFUND-REJECTED"
Responses
200

Successfully retrieved refunds for invoice.

400

Invalid input

401

Unauthorized access.

500

Service unavailable or server error.

get/v2/invoice/{invoice_id}/refunds
Request samples
Response samples
application/json
{
  • "invoice_id": "inv_2V2XDLW6zogChdShdFh8WKOhHii",
  • "is_fully_refunded": false,
  • "refund_invoice_ids": [
    ],
  • "payments": {
    },
  • "refunds": {
    },
  • "line_item_refunds": {
    }
}