Retrieve a cancellation

Retrieve a cancellation resource of an existing transaction including its attributes.

SecurityBearer Authentication
Request
path Parameters
ratepay_transaction_id
required
string

ID of transaction to retrieve. Get an overview of key identifiers used in payment API.

ratepay_cancellation_id
required
string

ID of cancellation to retrieve. Get an overview of key identifiers used in payment API.

header Parameters
Prefer
string

According to RFC 7240: Provide return=representation if you prefer that the response to a request includes the current state of the resource.

Value: "return=representation"
X-Partner
string

The partner ID for the operation is required only when using a single credential set for multiple integrations, such as countries or brands associated with one company.

Responses
200

Cancellation retrieved

400

Bad request

404

Transaction not found

451

Legally not allowed

500

Technical problem

get/v2/transactions/{ratepay_transaction_id}/cancellations/{ratepay_cancellation_id}
Request samples
Response samples
application/hal+json
{}