Reference Scheme Transaction Link ID
In this section you will learn how to use the Reference Scheme Transaction Link ID when processing Card Transactions
Reference Scheme Transaction Link ID Overview
The Reference Scheme Transaction Link ID enables a merchant to link subsequent economically related transactions to the original transaction using a scheme-assigned identifier.
This includes transactions such as refunds, recurring transactions, unscheduled card-on-file transactions and resubmissions.
Transaction request and response contracts now support the optional ReferenceSchemeTransactionLinkId element.
How to use the ReferenceSchemeTransactionLinkId element in a Transaction Request message
When processing a transaction that relates to an original transaction, the merchant's system can include the ReferenceSchemeTransactionLinkId element within the Transaction Request message sent to ANYpay POS.
Key elements of a Transaction Request messageReferenceSchemeTransactionLinkId The scheme-assigned identifier of the original transaction, used to link subsequent economically related transactions.
This element is optional.
An example of a TokenTransactionRequest message using the ReferenceSchemeTransactionLinkId element can be seen below.
<?xml version="1.0" encoding="utf-16"?>
<TokenTransactionRequest xmlns="http://servebase.com/2009/06/pedframework">
<TransactionConfig>
<CustomerCode>MERCHANT_CODE</CustomerCode>
<Site>SITE_ID</Site>
<Culture>en</Culture>
<Workstation>WORKSTATION_ID</Workstation>
<MerchantId>MERCHANT_ID</MerchantId>
<Username>REDACTED</Username>
<Password>REDACTED</Password>
<IpAddress>127.0.0.1</IpAddress>
</TransactionConfig>
<AuthorizationConnectionType>OnlineAuthorization</AuthorizationConnectionType>
<TransactionAmount currency="GBP">10.00</TransactionAmount>
<TransactionReference>TRANSACTION_REFERENCE</TransactionReference>
<TransactionDateTime>2026-08-11T16:13:54+07:00</TransactionDateTime>
<TransactionType>Refund</TransactionType>
<TokenisedCardNumber>REDACTED_TOKEN</TokenisedCardNumber>
<StoredCredential>
<CardOnFileIndicator>cardDetailsStoredFirstTime</CardOnFileIndicator>
<ReturnCardSchemeReference>true</ReturnCardSchemeReference>
</StoredCredential>
<ReferenceSchemeTransactionLinkId>MSC-LINK-REQUEST-REDACTED</ReferenceSchemeTransactionLinkId>
</TokenTransactionRequest>Handling a Transaction Response message
The Transaction Response contract also supports the optional ReferenceSchemeTransactionLinkId element.
Updated 1 day ago

