EasyPost Refunds API

The Refunds API from EasyPost — 1 operation(s) for refunds.

OpenAPI Specification

easypost-refunds-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: EasyPost Shipping Addresses Refunds API
  description: 'REST API for the EasyPost multi-carrier shipping platform. Covers

    shipments, rates, addresses, parcels, trackers, refunds and reports.

    Authentication is HTTP Basic with the API key as username and an empty

    password. This specification is a best-effort, documentation-derived

    description and may omit fields.

    '
  version: 2.0.0
  contact:
    name: EasyPost
    url: https://docs.easypost.com/
servers:
- url: https://api.easypost.com/v2
  description: Production
security:
- EasyPostBasic: []
tags:
- name: Refunds
paths:
  /refunds:
    post:
      summary: Create a refund
      operationId: createRefund
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                refund:
                  type: object
                  properties:
                    carrier:
                      type: string
                    tracking_codes:
                      type: array
                      items:
                        type: string
      responses:
        '201':
          description: Refund created
      tags:
      - Refunds
components:
  securitySchemes:
    EasyPostBasic:
      type: http
      scheme: basic
      description: HTTP Basic where username is your EasyPost API key and password is empty.