{
  "operationId": "getRefundStatus",
  "method": "GET",
  "path": "/agent/checkout-session/{session_id}/refund",
  "responses": {
    "200": [
      {
        "name": "refunded",
        "summary": "An unused label, refunded automatically",
        "value": {
          "session_id": "as_3f9c1b2e-7d64-4a8e-9c0f-5b2d1e8a7c33",
          "order_id": "c1d2e3f4-5a6b-4c7d-8e9f-0a1b2c3d4e5f",
          "status": "refunded",
          "reason": "unused_label",
          "amount_paid": 38.42,
          "amount_refunded": 38.42,
          "currency": "USD",
          "requested_at": "2026-10-16T14:02:11Z",
          "policy": "An unused USPS label is refunded automatically: 4 days after purchase without a carrier scan SMKlog asks the carrier to refund the postage, and returns the full payment to the card once the carrier confirms it (usually within two weeks). A return label waits 25 days. An unused label from another carrier is reviewed by an operator. A paid label that cannot be issued is bought again or the payment is refunded in full. For anything else, write to info@smklog.com with the order_id.",
          "next": "Refunded. The money returns to the card the human paid with, usually within 5 to 10 business days."
        }
      },
      {
        "name": "requested",
        "summary": "The unused-label refund is waiting on the carrier",
        "value": {
          "session_id": "as_3f9c1b2e-7d64-4a8e-9c0f-5b2d1e8a7c33",
          "order_id": "c1d2e3f4-5a6b-4c7d-8e9f-0a1b2c3d4e5f",
          "status": "requested",
          "reason": "unused_label",
          "amount_paid": 38.42,
          "amount_refunded": 0,
          "currency": "USD",
          "requested_at": "2026-10-16T14:02:11Z",
          "policy": "An unused USPS label is refunded automatically: 4 days after purchase without a carrier scan SMKlog asks the carrier to refund the postage, and returns the full payment to the card once the carrier confirms it (usually within two weeks). A return label waits 25 days. An unused label from another carrier is reviewed by an operator. A paid label that cannot be issued is bought again or the payment is refunded in full. For anything else, write to info@smklog.com with the order_id.",
          "next": "A refund is under way; nothing for the agent to do. The money returns to the card the human paid with."
        }
      },
      {
        "name": "none",
        "summary": "Paid, label in use, nothing refunded",
        "value": {
          "session_id": "as_3f9c1b2e-7d64-4a8e-9c0f-5b2d1e8a7c33",
          "order_id": "c1d2e3f4-5a6b-4c7d-8e9f-0a1b2c3d4e5f",
          "status": "none",
          "reason": null,
          "amount_paid": 38.42,
          "amount_refunded": 0,
          "currency": "USD",
          "requested_at": null,
          "policy": "An unused USPS label is refunded automatically: 4 days after purchase without a carrier scan SMKlog asks the carrier to refund the postage, and returns the full payment to the card once the carrier confirms it (usually within two weeks). A return label waits 25 days. An unused label from another carrier is reviewed by an operator. A paid label that cannot be issued is bought again or the payment is refunded in full. For anything else, write to info@smklog.com with the order_id.",
          "next": "Paid and not refunded. The refund policy below says when that changes on its own."
        }
      }
    ],
    "404": [
      {
        "name": "default",
        "value": {
          "error": "session_not_found",
          "message": "Unknown or expired session_id. Sessions live 30 days from their last create or update."
        }
      }
    ],
    "429": [
      {
        "name": "default",
        "value": {
          "error": "rate_limited",
          "message": "Too many Smart Quote API requests from this client. Try again later."
        }
      }
    ]
  }
}
