Cancel payment

Cancel a payment

This API can be called:

  • using the resource_token associated with the payment you are trying to fetch;
  • using a backend bearer token.
📘

Endpoint path changes

All Payments API v3 endpoints now start with /v3/. The old endpoints still work, but you must use the new path for all new integrations.

Path Params
string
required

ID of the payment

Headers
string
required

An idempotency key to allow safe retrying without the operation being performed multiple times.
The value should be unique for each operation, e.g. a UUID, with the same key being sent on a retry of the same request.

string
required

A JWS with detached content, signed with your private key.
See Request Signing

Responses

Language
Credentials
URL
LoadingLoading…
Response
Choose an example:
*/*
application/problem+json; charset=UTF-8