API Reference
update Changelog

Merchant Object

A Merchant is a merchant code (Chile: código de comercio) that a connection to a card payment processor (such as Transbank) can see. List a connection's merchants via GET /v1/connections/{connectionId}/merchants and their card sales via GET /v1/merchants/{merchantId}/sales.

Not an account

A merchant holds no money, so it is not an account: the processor pays sales out to the merchant's bank account, where the deposits appear as that account's transactions. Merchants never appear in a connection's accounts.

A business usually has several merchant codes (per store, terminal or sales channel), so one login yields several merchants, including codes with no recent sales. A sync emits merchant.updated once a merchant's sales have been written.

Attributes

Field Type Description
id string Unique identifier. Format: merch_ULID
connectionId string The connection the merchant was synced from
merchantCode string The processor's merchant code
name string | null Store or business name the processor reports for the code, when known
country string ISO 3166-1 alpha-2 country of the processor
institution object | null The institution (id, name, logo)
createdAt string ISO 8601 timestamp when it was first synced to Araucaria
lastSyncedAt string | null ISO 8601 timestamp of the last sync that saw it

Example

json
{
  "id": "merch_01HQ3K5J7X8Y9Z0A1B2C3D4E5F",
  "connectionId": "conn_01HQ3K5J7X8Y9Z0A1B2C3D4E5F",
  "merchantCode": "59990001",
  "name": "TIENDA EJEMPLO, AV. PROVIDENCIA 1234",
  "country": "CL",
  "institution": { "id": "cl_transbank", "name": "Transbank", "logo": "/institutions/cl_transbank.svg" },
  "createdAt": "2026-10-03T14:30:00Z",
  "lastSyncedAt": "2026-10-04T14:30:00Z"
}