Card payments

Cancel payment

Cancel a payment based on the provided payment ID and the Authorisation token. The Authorisation token needs to be specified in the 'authorization' header as 'authorization: Bearer YOUR_API_KEY_HERE'. A payment can only be cancelled if it's in a state that isn't finished.

post/v1/payments/{paymentId}/cancel

Path parameters

paymentIdstring required

Payment identifier

Response

No Content

Changes

Changed in 6 of the 50 revisions of this API.515

    • ▲

      removed the media type application/json for the response with the status

      response-media-type-removed

    • ▲

      removed the media type application/json for the response with the status

      response-media-type-removed

    • ▲

      removed the media type application/json for the response with the status

      response-media-type-removed

    • ▲

      removed the media type application/json for the response with the status

      response-media-type-removed

    • ▲

      removed the media type application/json for the response with the status

      response-media-type-removed

    • ○

      the endpoint scheme security Authorization was added to the API

      api-security-added

    • ○

      the endpoint scheme security BearerAuth was removed from the API

      api-security-removed

    This revision also has 46 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • ○

      the endpoint scheme security BearerAuth was added to the API

      api-security-added

    • ○

      the endpoint scheme security Authorization was removed from the API

      api-security-removed

    • ○

      added the media type application/json for the response with the status

      response-media-type-added

    • ○

      added the media type application/json for the response with the status

      response-media-type-added

    • ○

      added the media type application/json for the response with the status

      response-media-type-added

    • ○

      added the media type application/json for the response with the status

      response-media-type-added

    • ○

      added the media type application/json for the response with the status

      response-media-type-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • ○

      api tag Card payments added

      api-tag-added

    • ○

      api tag Card Payments removed

      api-tag-removed

    • ○

      api operation id cancelPayment removed and replaced with Cancel a payment

      api-operation-id-removed

    • ○

      api tag Card Payments added

      api-tag-added

    • ○

      api operation id Cancel a payment removed and replaced with cancelPayment

      api-operation-id-removed

    • ○

      api tag Card payments removed

      api-tag-removed