Click or drag to resize

IGoCardlessCancelPayment Method

Cancels the payment if it has not already been submitted to the banks. Any metadata supplied to this endpoint will be stored on the payment cancellation event it causes.

Namespace:  NetQuarry.Services.Payment
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
GoCardlessPayment CancelPayment(
	GoCardlessPayment input
)

Parameters

input
Type: NetQuarry.Services.PaymentGoCardlessPayment
required: id optional: metadata, IDEMPOTENCYKEY

Return Value

Type: GoCardlessPayment
GoCardless.Payment object
See Also