Skip to content

Commit

Permalink
add idempotency on readme example
Browse files Browse the repository at this point in the history
  • Loading branch information
taliyada committed Feb 7, 2024
1 parent 959ce63 commit 0776d07
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,12 @@ All methods that make API calls accept an optional `RequestOptions` object. This

```csharp
using MercadoPago.Client;
using MercadoPago.Http;

var requestOptions = new RequestOptions();
requestOptions.AccessToken = "YOUR_ACCESS_TOKEN";
requestOptions.CustomHeaders.Add(Headers.IDEMPOTENCY_KEY, "YOUR_IDEMPOTENCY_KEY");

// ...
var client = new PaymentClient();
Expand Down

0 comments on commit 0776d07

Please sign in to comment.