openapi: 3.1.1
info:
  title: OnCancelAction
  version: 2.0.0
  description: "Container schemas fetched from beckn.yaml. This cannot be extended as it is a reserved schema in beckn protocol. Any additional properties added to this schema can only be made using its *Attributes property"
  license:
    name: CC-BY-NC-SA 4.0 International
  contact:
    name: Beckn Labs
    url: https://beckn.io
components:
  schemas:
    OnCancelAction:
      x-iri: https://schema.nfh.global/OnCancelAction/v2.0
      title: On Cancel Action
      description: 'Beckn /beckn/on_cancel message payload. Sent by a BPP to a BAP
        in

        response to a /beckn/cancel call, returning the contract with status

        set to CANCELLED and any applicable cancellation outcome.

        (Context wrapper stripped; only the message-content portion is inlined.)'
      additionalProperties: false
      properties:
        contract:
          $ref: https://schema.nfh.global/Contract/v2.0/attributes.yaml#/components/schemas/Contract
      required:
      - contract
