From 1c3afeeb2ee82708f284a906fa42c87cc86f3210 Mon Sep 17 00:00:00 2001 From: Johannes Kinast Date: Mon, 4 Oct 2021 09:24:09 +0200 Subject: [PATCH 1/2] Update readme.md --- readme.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/readme.md b/readme.md index 31cd93f..aeba90a 100644 --- a/readme.md +++ b/readme.md @@ -38,6 +38,10 @@ To Create Amazon Gift Card ```php $aws = AmazonGiftCode::make()->buyGiftCard($value); ``` +Create a Amazon Gift Card with your own `$creationRequestId` (otherwise generated) +```php +$aws = AmazonGiftCode::make()->buyGiftCard($value, $creationRequestId); +``` To Cancel Amazon Gift Card ```php $aws = AmazonGiftCode::make()->cancelGiftCard($creationRequestId, $gcId); From 92ffb5a651c8c22bead3a7c1be0169097187ade7 Mon Sep 17 00:00:00 2001 From: Johannes Kinast Date: Mon, 4 Oct 2021 09:27:24 +0200 Subject: [PATCH 2/2] Update readme.md --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index aeba90a..1e41f6f 100644 --- a/readme.md +++ b/readme.md @@ -22,7 +22,7 @@ $ composer require kamerk22/amazongiftcode Set the following Environment Variable in `.env` file. ```bash -GIFT_CARD_ENDPOINT=https://agcod-v2-gamma.amazon.com +GIFT_CARD_ENDPOINT=agcod-v2-gamma.amazon.com GIFT_CARD_KEY=AWS_ACCESS_KEY GIFT_CARD_SECRET=AWS_SECRET GIFT_CARD_PARTNER_ID=AWS_PARTNER_ID