Insert getPaymentTemplateV2 generated template
If you use our payment templates, insert the <PaymentTemplate>
XML response we send you into a <payToBankAccountV3>
request.
This is an example XML response from us:
<?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>
<getPaymentTemplatesV2Response xmlns="http://merchantapi.envoyservices.com">
<getPaymentTemplatesV2Result>
<receivedDate>2013-02-11T17:12:48.4950127+00:00</receivedDate>
<statusCode>0</statusCode>
<statusMessage>Success</statusMessage>
<requestReference>Request01</requestReference>
<paymentTemplates>
<PaymentTemplate xmlns="" Name="United Kingdom" TransferTypeDesc="Local Payment" TemplateID="f4bc918f56d9e011b725001ec9e61285" TemplateType="1" TemplateCountry="GB" TemplateCurrency="GBP" TemplateLanguage="">
<Row Title="Bank Name" Id="BankName" FieldType="Input" InputType="na" Required="true" LabelTooltip="" Tooltip="Enter the receiving bank name" MinLength="1" MaxLength="50" />
<Row Title="Branch Location" Id="BranchAddress" FieldType="Input" InputType="na" LabelTooltip="" Tooltip="Enter the receiving bank’s branch location" MinLength="1" MaxLength="50" />
<Row Title="Payee" Id="CustomerName" FieldType="Input" InputType="na" Required="true" LabelTooltip="" Tooltip="Enter the recipient’s account name as it appears on the recipient bank statement" MinLength="1" MaxLength="35" />
<Row Title="Account Number" Id="BankAccountNumber" FieldType="Input" InputType="n" MaxLengthIncludesNonAlpha="false" Required="true" LabelTooltip="" Tooltip="Enter the bank account number which can be up to 8 digits in length" MinLength="8" MaxLength="8" />
<Row Title="Sort Code" Id="BankCode" FieldType="Complex" InputType="n" MaxLengthIncludesNonAlpha="false" LabelTooltip="" Tooltip="Enter the sort code which totals 6 digits in length" Required="true" MinLength="6" MaxLength="6">
<Row Id="BankCode1" Title="Sort Code Part 1" FieldType="Input" InputType="n" MaxLengthIncludesNonAlpha="false" LabelTooltip="" Tooltip="Sort Code Part 1" MinLength="2" MaxLength="2" Overflow="false" Required="true" Spacer="-" />
<Row Id="BankCode2" Title="Sort Code Part 2" FieldType="Input" InputType="n" MaxLengthIncludesNonAlpha="false" LabelTooltip="" Tooltip="Sort Code Part 2" MinLength="2" MaxLength="2" Overflow="false" Required="true" Spacer="-" />
<Row Id="BankCode3" Title="Sort Code Part 3" FieldType="Input" InputType="n" MaxLengthIncludesNonAlpha="false" LabelTooltip="" Tooltip="Sort Code Part 3" MinLength="2" MaxLength="2" Overflow="false" Required="true" />
</Row>
</PaymentTemplate>
</paymentTemplates>
</getPaymentTemplatesV2Result>
</getPaymentTemplatesV2Response>
</soap:Body>
</soap:Envelope>