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
)
Function CancelPayment (
input As GoCardlessPayment
) As GoCardlessPayment
Parameters
- input
- Type: NetQuarry.Services.PaymentGoCardlessPayment
required: id
optional: metadata, IDEMPOTENCYKEY
Return Value
Type:
GoCardlessPaymentGoCardless.Payment object
See Also