From 5093481a91ee506f0f7343a9ff575691972b0949 Mon Sep 17 00:00:00 2001 From: artamonovdev Date: Mon, 13 May 2019 14:37:44 +0300 Subject: [PATCH 1/2] order's check_amount --- source/includes/_orders.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/source/includes/_orders.md b/source/includes/_orders.md index 68b5447..b53ae5b 100644 --- a/source/includes/_orders.md +++ b/source/includes/_orders.md @@ -59,6 +59,7 @@ Parameter | Description `external_payout_amount` | Payout amount to external address `gas_limit` | Gas limit for external ethereum transaction `customer` | Customer's info. Available hash keys: ["email"] +`check_amount` | The need for an approximate check of the correspondence between the amount of the fiat and the amount in cryptocurrency > POST https://cryptoprocessing.io/api/v1/orders @@ -76,7 +77,8 @@ curl "https://cryptoprocessing.io/api/v1/orders" \ "external_payout_address":"2N5kUa6RqcDx8NZsuLQFkifumUz9gCWC54M", "customer": { "email": "customer@example.com" - } + }, + "check_amount": true }' ``` @@ -98,7 +100,8 @@ curl "https://cryptoprocessing.io/api/v1/orders" \ "external_payout_currency": "BTC", "secret_for_success_redirect": "e5f295460e5e7b9c57fb2413f0e67598", "secret_for_fail_redirect": "023a4207e7286c216396b8508ddfdd0b" - "payment_url": "http://cryptoprocessing.io/orders/9bf8fec7-bc12-446f-a1a4-7ec4d5caa3d3/pay" + "payment_url": "http://cryptoprocessing.io/orders/9bf8fec7-bc12-446f-a1a4-7ec4d5caa3d3/pay", + "check_amount": true } } ``` From cae89aa75969f262b2061135d19cabc9b3c6771d Mon Sep 17 00:00:00 2001 From: artamonovdev Date: Mon, 13 May 2019 14:38:50 +0300 Subject: [PATCH 2/2] improved text --- source/includes/_orders.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/includes/_orders.md b/source/includes/_orders.md index b53ae5b..10a4dbf 100644 --- a/source/includes/_orders.md +++ b/source/includes/_orders.md @@ -59,7 +59,7 @@ Parameter | Description `external_payout_amount` | Payout amount to external address `gas_limit` | Gas limit for external ethereum transaction `customer` | Customer's info. Available hash keys: ["email"] -`check_amount` | The need for an approximate check of the correspondence between the amount of the fiat and the amount in cryptocurrency +`check_amount` | Additional verification of the approximate correspondence of the fiat amount to the amount in cryptocurrency > POST https://cryptoprocessing.io/api/v1/orders