Example Open Invoice Order
Capture
When the payment is authorised, and after the goods are sent to the shopper, a Capture Modification for the
payment must be sent for the payment amount (EUR19.50). How a Capture Modification request looks like,
and where it must be submitted, is described in the Adyen Merchant Integration Manual.
When the capture request is processed the same retrieveDetail request is submitted to the Merchants Open
Invoice Details Service as with the authorisation (see Example 1). The response should look the same as the
response in Example 2.
Refund
In this example we assume that the shopper has returned “Product 2” of his order: EUR3.50 must be refunded
to the shopper. This means that a Refund Modification must be submitted for EUR3.50 for the open invoice
payment. How a Refund Modification request looks like, and where it must be submitted, is described in the
Adyen Merchant Integration Manual.
When the Refund Modification is processed a call is done to the Merchants Open Invoice Details Service with
the amount to be refunded, but with a negative sign. See Example 3 for a sample request.
There are 2 options for the response of the retrieveDetails request:
● Reverse the line of the product that is refunded. See Example 4 for an example SOAP response.
● Create the same response as with the authorisation, but with an additional Refund line. See Example 5
for an example SOAP response.
For both options the total of the returned invoice lines is equal to the amount that is requested.
12 Copyright © Adyen B.V. 2010