SEPA Direct Debit
Vaulting
Create
Use
Payment Method: Create
to create a payment method for an existing customer using
a payment method nonce received from the client:
- C#
var request = new PaymentMethodRequest {
CustomerId = "131866",
PaymentMethodNonce = NonceFromTheClient
};
Result<paymentmethod> result = gateway.PaymentMethod.Create(request);
Customer: Create
with the
PaymentMethodNonce
parameter. Once successfully created, you can use
Transaction: Sale
with the
PaymentMethodToken
parameter to create a transaction.
Find
Use
Payment Method: Find
to find a payment method:
- C#
PaymentMethod paymentMethod = gateway.PaymentMethod.Find("token");
NotFoundException
. The return value of the
Payment Method: Find
call will be a
PaymentMethod
response object.Note
The find action will also return a link to the mandate associated with the customer's payment
method.
Delete
Use
Payment Method: Delete
to delete a payment method:
- C#
var result = gateway.PaymentMethod.Delete("the_token");
result.IsSuccess(); // true
NotFoundException
.
- C#
var result = gateway.PaymentMethod.Delete("the_token");
result.IsSuccess(); // true
NotFoundException
.Note
The delete action will also revoke the mandate associated with the customer's payment method.