Skip to main content

Initiate payment cancellation process

DELETE 

https://psd2.eika.no/api/v1/payments/:product/:paymentId

If the payment is not authorised this call is sufficient to cancel a payment. If an authorisation of the payment cancellation is mandated a corresponding hyperlink will be contained in the response message. A authorisation is always mandated if the payment is previously authorised. See XS2A Framework Implementation Guidelines, Section 5.6 for additional details.

Request

Responses

ACCEPTED

var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Delete, "https://psd2.eika.no/api/v1/payments/:product/:paymentId");
request.Headers.Add("Accept", "application/json");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Request Collapse all
Base URL
https://psd2.eika.no/api
Parameters
— pathrequired
— pathrequired
— headerrequired
— headerrequired
— headerrequired
— headerrequired
— headerrequired
— headerrequired
— headerrequired
— header
— header
— header
— header
— header
— header
— header
— header
— header
— header
— header
— header
— header
— header
— header
— header
— header
— header
— header