Use the paymentItemId
If we capture bank details on your behalf and you're using Redirection option 1, you can use the <paymentItemId>
in the <payToBankAccountV3>
request.
This is an example <payToBankAccountV3>
request with <paymentItemId>
:
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soap:Body>
<payToBankAccountV3 xmlns="http://merchantapi.envoyservices.com">
<auth>
<username>amerchant25</username>
<password>s23dLjdf</password>
</auth>
<requestReference>2450924358743589381</requestReference>
<paymentInstructions>
<paymentInstructionV3>
<paymentDetails>
<countryCode>FR</countryCode>
<sourceCurrency>GBP</sourceCurrency>
<targetCurrency>EUR</targetCurrency>
<targetAmount>200.00</targetAmount>
<sourceOrTarget>T</sourceOrTarget>
<merchantReference>lecompte205</merchantReference>
<paymentReference>2340983560894390</paymentReference>
</paymentDetails>
<paymentItemId>da1553c5-567f-e211-90b2-0026b9792fb4</paymentItemId>
</paymentInstructionV3>
</paymentInstructions>
</payToBankAccountV3>
</soap:Body>
</soap:Envelope>