From bc5a990c1bd55e1a4f3e37c794820aa43fb282ef Mon Sep 17 00:00:00 2001 From: Olatunji Oduro Date: Tue, 6 Feb 2024 10:57:49 +0000 Subject: [PATCH 1/2] chore: update library docs --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2db7dfa..473415b 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ const payment = await client.payments.create( currency: "GBP", links: { mandate: "MD123" }, }, - { idempotencyKey: uuidv4() }, + uuidv4(), ); // List the first three payments past a certain date. From 83730cdb4d5ba74e8204434864c0782e4bcbe2d9 Mon Sep 17 00:00:00 2001 From: Olatunji Oduro Date: Tue, 6 Feb 2024 11:07:35 +0000 Subject: [PATCH 2/2] chore: update message --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 473415b..6add258 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ For a full list of available resources, visit the [GoCardless API reference](htt ```js const uuidv4 = require('uuid/v4'); -// Create a new payment. +// Create a new payment with an idempotency key const payment = await client.payments.create( { amount: 100,