Skip to content

Commit

Permalink
#264 Update mandate documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Viincenttt authored Jul 24, 2022
1 parent a6dcbc8 commit cd13a49
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -373,8 +373,10 @@ Create a mandate for a specific customer.
```c#
IMandateClient mandateclient = new MandateClient("{yourApiKey}");
MandateRequest mandateRequest = new MandateRequest() {
ConsumerAccount = "{iban}",
ConsumerName = "{customerName}"
Method = Api.Models.Payment.PaymentMethod.DirectDebit,
ConsumerName = "John Smit",
MandateReference = "My reference",
SignatureDate = DateTime.Now
};
MandateResponse mandateResponse = await this._mandateClient.CreateMandateAsync("{customerId}", mandateRequest);
```
Expand Down

0 comments on commit cd13a49

Please sign in to comment.