Card payments

You can use this endpoint to cancel an unfinished payment.

post/v1/payments/{paymentId}/cancel

Request

  • Base URL
    https://publicapi.payments.service.gov.uk
  • URL
    https://publicapi.payments.service.gov.uk/v1/payments/{paymentId}/cancel
  • Auth
    HTTP bearer

Path parameters

paymentIdstring required

The payment_id of the payment you’re cancelling.

Response

No Content

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status