Skip to content

Commit

Permalink
Merge pull request #174 from mercadopago/feature/add-idempotency-on-r…
Browse files Browse the repository at this point in the history
…eadme

add idempotency on readme example
  • Loading branch information
taliyada authored Feb 8, 2024
2 parents 959ce63 + 0776d07 commit 2a843b8
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 2a843b8

Please sign in to comment.