Get Payment Document Names


Retrieves the names of all documents associated with the payments. These include, but are not necessarily limited to, previously generated invoices and credit notes sent to the customer.

Input (Literal)

Name Type Occurs Nillable? Description
paymentId id 1..1 No The identity of the payment.

Output (Literal)

Name Type Occurs Nillable? Description
return string 0..* No The names of all documents associated with the payment.


Name Content Description
ECommerceErrorException ECommerceError   Failed to retrieve the list of payment document names. See error for details


This method retrieves all available documents that are associated with the payment, the invoice document for example. This method retrieves the names of the available document which you then use in the getPaymentDocument method along with the paymentId to retrieve the requested document.


This example shows the request/response when trying to get available document names for a specific payment.


<soapenv:Envelope xmlns:soapenv="" xmlns:aft="">
         <paymentId>Pay-1372762113890-5677</paymentId> <!-- get available document names with paymentid in exshop -->


<soap:Envelope xmlns:soap="">
      <ns2:getPaymentDocumentNamesResponse xmlns:ns3="" xmlns:ns2="">

Copyright © Resurs Bank AB 2024