merchantRefId is the payee identifier supplied by the merchant when calling Onerway Tax APIs. It represents the payee's unique ID in the merchant's own system, such as a customer ID, username, or account ID.
When merchants call the Generate Form LinkTax API API, they pass merchantRefId in the request body. Onerway uses this field as the unique payee identifier in the Tax module.
merchantRefId is the key identifier across the full tax filing workflow:
merchantRefId, so submitted W-9 or W-8 data is attached to the right payee record.merchantRefId.merchantRefId to prepare the 1099-NEC filing workflow.merchantRefId must be unique within the same merchant scope.merchantRefId can correspond to multiple beneficiary accounts, such as different currencies or bank accounts.merchantRefId maps to only one payee record.If a payee already received payments through Onerway before the Tax module was integrated, the merchant needs to provide a mapping file that links each merchantRefId to the corresponding beneficiary ID in the Onerway payment system.
Onerway imports this mapping so historical payment records can be associated with the correct tax record. This is a one-time setup task during initial integration. After the import is complete, later transactions continue to link automatically through merchantRefId.