IGoCardless Interface |
Links to GoCardless' documentation:
Namespace: NetQuarry.Services.Payment
The IGoCardless type exposes the following members.
| Name | Description | |
|---|---|---|
| CancelMandate |
Immediately cancels a mandate and all associated cancellable payments. Any metadata supplied to this endpoint will be stored on the mandate cancellation event it causes.
| |
| CancelPayment |
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.
| |
| CompleteRedirectFlow |
This should be called after user gets redirect back to our site.
| |
| CreateBankAccount |
Creates a new customer bank account object.
RESTRICTED: this endpoint is restricted to GoCardless Pro accounts with approved payment pages. To instead use the GoCardless hosted payment pages, see GoCardless.Create function for redirect flows.
| |
| CreateCustomer |
Creates a new customer object.
RESTRICTED: this endpoint is restricted to GoCardless accounts with approved payment pages. To instead use the GoCardless hosted payment pages, see GoCardless.Create function for redirect flows.
| |
| CreateMandate |
Creates a new mandate object.
RESTRICTED: this endpoint is restricted to GoCardless Pro accounts with approved payment pages. To instead use the GoCardless hosted payment pages, see GoCardless.Create function for redirect flows.
| |
| CreatePayment |
Creates a new payment object.
| |
| CreateRedirectFlow |
For creating a customer, account + mandate.
| |
| CreateRefund |
Creates a new refund object. DISABLED by default - contact GCL to enable
| |
| DisableBankAccount |
Immediately cancels all associated mandates and cancellable payments.
A disabled bank account can be re-enabled by creating a new bank account resource with the same details.
| |
| GetBankAccountDetail |
Retrieves the details of an existing bank account.
| |
| GetBankAccountList |
Returns a cursor-paginated list of your bank accounts.
| |
| GetCustomerDetail |
Retrieves the details of an existing customer.
| |
| GetCustomerList |
Returns a cursor-paginated list of your customers.
| |
| GetEventDetail |
Retrieves the details of a single event.
| |
| GetEventList |
Returns a cursor-paginated list of your events.
| |
| GetMandateDetail |
Retrieves the details of an existing mandate.
| |
| GetMandateList |
Returns a cursor-paginated list of your mandates.
| |
| GetPaymentDetail |
Retrieves the details of a single existing payment.
| |
| GetPaymentList |
Returns a cursor-paginated list of your payments.
| |
| GetRedirectFlowDetail |
Gets all details about a single redirect flow
| |
| GetRefundDetail |
Retrieves all details for a single refund
| |
| GetRefundList |
Returns a cursor-paginated list of your refunds.
| |
| ReinstateMandate |
Reinstates a cancelled or expired mandate to the banks.
RESTRICTED: this endpoint is restricted to accounts with approved payment pages. To instead use the GoCardless hosted payment pages, see GoCardless.Create function for redirect flows.
| |
| RetryPayment |
Retries a failed payment if the underlying mandate is active.
| |
| UpdateBankAccount |
Updates a customer bank account object. Only the metadata parameter is allowed.
| |
| UpdateCustomer |
Updates a customer object. Supports all of the fields supported when creating a customer.
| |
| UpdateMandate |
Updates a mandate object. This accepts only the metadata parameter.
| |
| UpdatePayment |
Updates a payment object. This accepts only the metadata parameter.
| |
| UpdateRefund |
Updates a refund object.
| |
| WebhookNotify |
Handles GoCardless webhook notifications.
Once application event is fired, app is responsible for ensuring that the event wasn't already processed (webhooks could arrive out of order)
|
Overview of some GoCardless objects:
Notes regarding some APIs: