summaryrefslogtreecommitdiff
path: root/api-merchant.rst
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-08-29 10:42:26 +0200
committerFlorian Dold <florian.dold@gmail.com>2019-08-29 10:42:26 +0200
commit41a69cdd83eea8b8a8343a76af4569f29aae8d19 (patch)
treee41814537b6bb7f11726348fc0b6fb15b0a5d261 /api-merchant.rst
parent649e5307ebd36b3c13fb96d769f67198e8bd71ff (diff)
downloaddocs-41a69cdd83eea8b8a8343a76af4569f29aae8d19.tar.gz
docs-41a69cdd83eea8b8a8343a76af4569f29aae8d19.tar.bz2
docs-41a69cdd83eea8b8a8343a76af4569f29aae8d19.zip
docs version
Diffstat (limited to 'api-merchant.rst')
-rw-r--r--api-merchant.rst18
1 files changed, 6 insertions, 12 deletions
diff --git a/api-merchant.rst b/api-merchant.rst
index 0d0302f9..9eb69812 100644
--- a/api-merchant.rst
+++ b/api-merchant.rst
@@ -75,8 +75,8 @@ Receiving Payments
summary: string;
// URL that will show that the order was successful after
- // it has been paid for. The wallet will automatically append
- // the order_id (always) and the session_sig (if applicable).
+ // it has been paid for. The wallet will always automatically append
+ // the order_id as a query parameter.
fulfillment_url: string;
// Merchant instance to use (leave empty to use instance "default")
@@ -101,13 +101,8 @@ Receiving Payments
**Request:**
:query order_id: order id that should be used for the payment
- :query contract_url: FIXME-FLORIAN
- :query instance: *Optional*. Instance used for the payment. Defaults to the instance named "default".
- :query resource_url: *Optional*. A resource URL that allows the wallet to identify whether it has already paid for this resource.
- Typically corresponds to the fulfillment URL.
+ :query instance: *Optional*. Instance used for the payment. Defaults to the instance with identifier "default".
:query session_id: *Optional*. Session ID that the payment must be bound to. If not specified, the payment is not session-bound.
- :query session_sig: *Optional*. Signature from the wallet to prove that it paid with the given session_id. Not specified
- if the wallet has not paid yet or still has to replay payment to bound the payment to the session id.
**Response:**
@@ -142,10 +137,9 @@ Receiving Payments
interface CheckPaymentUnpaidResponse {
paid: false;
- // URL to redirect the customer to pay,
- // replay payment or confirm that the payment
- // is bound to a session.
- payment_redirect_url: string;
+ // URI that the wallet must process to complete the payment.
+ taler_pay_uri: string;
+
}