diff options
author | Florian Dold <florian.dold@gmail.com> | 2017-03-08 03:03:24 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2017-03-08 03:03:24 +0100 |
commit | 3764a1cbe2ba5e15c5f3d0ab6126012318a2df3c (patch) | |
tree | 0239239e61b9655a4ef1eeae01a15fe0d2fa4bb6 /api | |
parent | 66b71d98d38f5d55f9bc86535d65ad25437badf6 (diff) | |
download | docs-3764a1cbe2ba5e15c5f3d0ab6126012318a2df3c.tar.gz docs-3764a1cbe2ba5e15c5f3d0ab6126012318a2df3c.tar.bz2 docs-3764a1cbe2ba5e15c5f3d0ab6126012318a2df3c.zip |
properly document order id
Diffstat (limited to 'api')
-rw-r--r-- | api/api-merchant.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/api/api-merchant.rst b/api/api-merchant.rst index 41f1c365..f1042685 100644 --- a/api/api-merchant.rst +++ b/api/api-merchant.rst @@ -478,6 +478,14 @@ The `proposal data` must have the following structure: // NOTE: still not implemented summary: string; + // Unique, free-form identifier for the proposal. + // Must be unique within a merchant instance. + // For merchants that do not store proposals in their DB + // before the customer paid for them, the order_id can be used + // by the frontend to restore a proposal from the information + // encoded in it (such as a short product identifier and timestamp). + order_id: string; + // Total price for the transaction. // The exchange will subtract deposit fees from that amount // before transfering it to the merchant. |