Skip to content
Docs menu: Merchants

Merchants

The businesses that issue documents under your account.

On this page

List merchants #

GET /api/v1/merchants

Returns your merchants, newest first, seen alike by your test and live keys. Filter by external_id to find the merchant a create answered 409 already_exists for. Archived merchants are listed too (their external_id stays taken); filter with archived.

  • Bearer API key

Query parameters

limitinteger

How many items to return, 1 to 100; 10 by default.

From 1 to 100 · Default: 10

starting_afterstring

An id (mer_…) from this list: return the items after it, older ones (pass the last id of the current page). Not with ending_before.

Up to 64 characters

ending_beforestring

An id (mer_…) from this list: return the items before it, newer ones (pass the first id of the current page). Not with starting_after.

Up to 64 characters

external_idstring

Only the merchant with this external_id, compared ignoring case and surrounding spaces (as on create): how you find a merchant after a 409 already_exists.

Up to 200 characters

Show patternHide pattern\S
archivedstring

true for archived merchants only, false for active ones only; both when omitted.

One of: true, false

Request

curl
curl -X GET 'https://tallio.dev/api/v1/merchants' \
  -H "Authorization: Bearer $TALLIO_API_KEY"
Responses
StatusDescription
200A page of merchants.
4XX, 5XXAn error: see Errors below.

Response body · 200

objectstringrequired

Always "list".

Always list

dataobject[]required

This page's items, newest first.

Each item: A business that issues documents under your account.

Show nested fields (11)Hide nested fields (11)
idstringrequired

Id of the merchant (mer_…).

Show patternHide pattern^mer_[0-9A-Za-z]{22}$
objectstringrequired

Always "merchant".

Always merchant

external_idstringrequired

Your own id for the merchant, e.g. a shop domain: 1 to 200 characters, trimmed, unique in your account ignoring case (Shop-A and shop-a are the same merchant). Find a merchant by it.

Up to 200 characters

Show patternHide pattern\S
namestringrequired

The merchant's name, as you show it: 1 to 200 characters, trimmed.

Up to 200 characters

Show patternHide pattern\S
regimestringrequired

The tax regime the merchant issues under: GR or FR.

One of: GR, FR · Default: GR

tax_idobject | nullrequired

The merchant's tax registration (GR afm, FR vat), or null when it has none.

Show nested fields (3)Hide nested fields (3)
countrystringrequired

ISO 3166-1 alpha-2 country of the registration.

schemestringrequired

Identifier scheme: afm, vat, tin, siren or siret.

One of: afm, vat, tin, siren, siret

codestringrequired

The identifier itself, as given.

legal_idobject | nullrequired

The merchant's company registration (FR siren), or null when it has none.

Show nested fields (3)Hide nested fields (3)
countrystringrequired

ISO 3166-1 alpha-2 country of the registration.

schemestringrequired

Identifier scheme: afm, vat, tin, siren or siret.

One of: afm, vat, tin, siren, siret

codestringrequired

The identifier itself, as given.

establishmentobject | nullrequired

The establishment the merchant issues from (GR branch, FR siret), or null for the head office.

Show nested fields (2)Hide nested fields (2)
schemestringrequired

Establishment scheme: branch (AADE) or siret.

One of: branch, siret

codestringrequired

The branch number or the SIRET.

metadataobjectrequired

Up to 50 key-value pairs of your own (keys up to 40 characters, values up to 500). Do not put personal data in it.

Show nested fields (1)Hide nested fields (1)
{key}string

A value, up to 500 characters.

1 to 40 characters

archivedbooleanrequired

True once the merchant is archived; it then issues nothing new.

createdstringrequired

When the merchant was created.

Format: date-time

has_morebooleanrequired

Whether more items exist past this page in the direction you paged (starting_after or ending_before).

Example response · 200
{
  "object": "list",
  "data": [],
  "has_more": false
}

Response headers

x-request-idstring

The request's correlation id; quote it when reporting a problem. One of: req_ plus a uuid (Tallio made it), client: plus the x-request-id you sent (8-128 of A-Z a-z 0-9 . _ : -), or the hosting platform's id.

With every response

Show patternHide pattern^(?:req_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}|client:[A-Za-z0-9._:-]{8,128}|[A-Za-z0-9._-]{1,16}::[A-Za-z0-9._:-]{6,110})$
ratelimit-limitinteger

Requests allowed in the current window for the bucket this request counted against.

With 200, 400, 429 · At least 1

ratelimit-remaininginteger

Requests left in the current window; 0 means the next one is refused until the window resets.

With 200, 400, 429 · At least 0

ratelimit-resetinteger

Seconds until the current window resets.

With 200, 400, 429 · At least 0

www-authenticatestring

The bearer challenge: send a vendor secret key as Authorization: Bearer <key>.

With 401 · Always Bearer realm="tallio"

retry-afterinteger

Seconds to wait before retrying a request refused with 429 rate_limited.

With 429 · At least 1

Errors
CodeStatusRetryableMeaning
validation_failed400NoRequest validation failed.
unauthorized401NoAuthentication is required.
vendor_suspended403NoThis vendor's access to Tallio is suspended. Its owner can contact Tallio to restore it.
restricted_key403NoA restricted (store) key may not call this operation; it needs the vendor's secret key.
rate_limited429YesA rate limit was reached. Retry later.
internal_error500NoAn unexpected server error occurred.

Create a merchant #

POST /api/v1/merchants

Creates a merchant: a business that issues documents under your account, seen by your test and live keys alike. Its external_id is unique ignoring case; creating a taken one is 409 already_exists, so look it up instead (a Shopify reinstall).

  • Bearer API key
  • Idempotency-Key required

Header parameters

idempotency-keystringrequired

A key you choose (1-255 printable ASCII characters, e.g. a UUID) that makes a create request safe to retry: the same key with the same body returns the first result instead of creating a second document. Keys starting with store_order:, store_refund:, correction:, correction_credit:, credit_note: are reserved for Tallio's own documents and refused.

1 to 255 characters

Show patternHide pattern^[\x21-\x7E]*$

Request body

external_idstringrequired

Your own id for the merchant, e.g. a shop domain: 1 to 200 characters, trimmed, unique in your account ignoring case (Shop-A and shop-a are the same merchant). Find a merchant by it.

Up to 200 characters

Show patternHide pattern\S
namestringrequired

The merchant's name, as you show it: 1 to 200 characters, trimmed.

Up to 200 characters

Show patternHide pattern\S
regimestring

The tax regime the merchant issues under, by the country it is established in: GR (the default) or FR. Every document of the merchant has this regime, and it decides which identifiers the merchant takes.

One of: GR, FR

tax_idoneOf

The merchant's tax registration.

Greece

The ΑΦΜ (scheme afm, country GR), required: every document names it as the supplier.

France

The VAT number (scheme vat, country FR): FR, a 2-character key, then the SIREN; omit it for a merchant under the VAT franchise, which has none.

tax_idobject

Greek tax registration: the ΑΦΜ.

Option 1 of 2

Show nested fields (3)Hide nested fields (3)
countrystringrequired

Country of the registration: GR.

Option 1 of 2 · Always GR

schemestringrequired

Identifier scheme: afm.

Option 1 of 2 · Always afm

codestringrequired

Greek tax number (ΑΦΜ): 9 digits with a matching check digit.

Option 1 of 2

Show patternHide pattern^\d{9}$
tax_idobject

VAT registration in an EU member state.

Option 2 of 2

Show nested fields (3)Hide nested fields (3)
countrystringrequired

ISO 3166-1 alpha-2 country of the VAT registration: GR for Greece (not the VAT prefix EL).

Option 2 of 2 · One of: AT, BE, BG, CY, CZ, DE, DK, EE, ES, FI, FR, GR, HR, HU, IE, IT, LT, LU, LV, MT, NL, PL, PT, RO, SE, SI, SK, XI

schemestringrequired

Identifier scheme: vat.

Option 2 of 2 · Always vat

codestringrequired

The whole VAT number, prefix included (EL for Greece). A request is refused unless the part after the prefix has its country's format: AT: U, then 8 digits; BE: 10 digits, the first 0 or 1; BG: 9 or 10 digits; CY: 8 digits, then a letter; CZ: 8 to 10 digits; DE: 9 digits; DK: 8 digits; EE: 9 digits; ES: a letter or digit, 7 digits, then a letter or digit; FI: 8 digits; FR: a 2-character key (digits, or letters other than I and O), then the 9-digit SIREN; EL: the 9-digit ΑΦΜ; HR: 11 digits; HU: 8 digits; IE: a digit, then a letter, digit, + or *, then 5 digits, then 1 or 2 letters; IT: 11 digits; LT: 9 or 12 digits; LU: 8 digits; LV: 11 digits; MT: 8 digits; NL: 9 digits, B, then 2 digits; PL: 10 digits; PT: 9 digits; RO: 2 to 10 digits; SE: 12 digits; SI: 8 digits; SK: 10 digits; XI: 9 or 12 digits, or GD or HA then 3 digits.

Option 2 of 2

Show patternHide pattern^[A-Z]{2}[0-9A-Z+*]{2,12}$
legal_idobject

The merchant's company registration.

Greece

none.

France

The SIREN (scheme siren, country FR), required.

Show nested fields (3)Hide nested fields (3)
countrystringrequired

Country of the registration: FR.

Always FR

schemestringrequired

Identifier scheme: siren.

Always siren

codestringrequired

SIREN, the 9-digit company number, Luhn-checked. Test keys also take the SIRENs of the Chorus Pro qualification structure and the SUPER PDP sandbox companies, which fail it.

Show patternHide pattern^\d{9}$
establishmentoneOf

The establishment the merchant issues from.

Greece

Its AADE branch (scheme branch, code 1 to 9999); omit it for the head office.

France

Its SIRET (scheme siret), which starts with the merchant's SIREN.

establishmentobject

A branch registered with AADE (Greece).

Option 1 of 2

Show nested fields (2)Hide nested fields (2)
schemestringrequired

Identifier scheme: branch.

Option 1 of 2 · Always branch

codestringrequired

AADE branch number, "1" to "9999"; the head office has no establishment.

Option 1 of 2

Show patternHide pattern^[1-9]\d{0,3}$
establishmentobject

An establishment in France, by its SIRET.

Option 2 of 2

Show nested fields (2)Hide nested fields (2)
schemestringrequired

Identifier scheme: siret.

Option 2 of 2 · Always siret

codestringrequired

SIRET, the 14-digit establishment number: the SIREN, then 5 digits; Luhn-checked.

Option 2 of 2

Show patternHide pattern^\d{14}$
metadataobject

Up to 50 key-value pairs of your own (keys up to 40 characters, values up to 500). Do not put personal data in it.

Show nested fields (1)Hide nested fields (1)
{key}string

A value, up to 500 characters.

1 to 40 characters

Request

JSON
{
  "external_id": "olive-oil.myshopify.com",
  "name": "Olive Oil Co"
}
Responses
StatusDescription
201The merchant. A replay returns the first answer.
4XX, 5XXAn error: see Errors below.

Response body · 201

dataobjectrequired

A business that issues documents under your account.

Show nested fields (11)Hide nested fields (11)
idstringrequired

Id of the merchant (mer_…).

Show patternHide pattern^mer_[0-9A-Za-z]{22}$
objectstringrequired

Always "merchant".

Always merchant

external_idstringrequired

Your own id for the merchant, e.g. a shop domain: 1 to 200 characters, trimmed, unique in your account ignoring case (Shop-A and shop-a are the same merchant). Find a merchant by it.

Up to 200 characters

Show patternHide pattern\S
namestringrequired

The merchant's name, as you show it: 1 to 200 characters, trimmed.

Up to 200 characters

Show patternHide pattern\S
regimestringrequired

The tax regime the merchant issues under: GR or FR.

One of: GR, FR · Default: GR

tax_idobject | nullrequired

The merchant's tax registration (GR afm, FR vat), or null when it has none.

Show nested fields (3)Hide nested fields (3)
countrystringrequired

ISO 3166-1 alpha-2 country of the registration.

schemestringrequired

Identifier scheme: afm, vat, tin, siren or siret.

One of: afm, vat, tin, siren, siret

codestringrequired

The identifier itself, as given.

legal_idobject | nullrequired

The merchant's company registration (FR siren), or null when it has none.

Show nested fields (3)Hide nested fields (3)
countrystringrequired

ISO 3166-1 alpha-2 country of the registration.

schemestringrequired

Identifier scheme: afm, vat, tin, siren or siret.

One of: afm, vat, tin, siren, siret

codestringrequired

The identifier itself, as given.

establishmentobject | nullrequired

The establishment the merchant issues from (GR branch, FR siret), or null for the head office.

Show nested fields (2)Hide nested fields (2)
schemestringrequired

Establishment scheme: branch (AADE) or siret.

One of: branch, siret

codestringrequired

The branch number or the SIRET.

metadataobjectrequired

Up to 50 key-value pairs of your own (keys up to 40 characters, values up to 500). Do not put personal data in it.

Show nested fields (1)Hide nested fields (1)
{key}string

A value, up to 500 characters.

1 to 40 characters

archivedbooleanrequired

True once the merchant is archived; it then issues nothing new.

createdstringrequired

When the merchant was created.

Format: date-time

Example response · 201
{
  "data": {
    "id": "mer_02y9O8rh7F50tGi0QcWRrx",
    "object": "merchant",
    "external_id": "olive-oil.myshopify.com",
    "name": "Olive Oil Co",
    "regime": "GR",
    "tax_id": {
      "country": "string",
      "scheme": "afm",
      "code": "string"
    },
    "legal_id": {
      "country": "string",
      "scheme": "afm",
      "code": "string"
    },
    "establishment": {
      "scheme": "branch",
      "code": "string"
    },
    "metadata": {
      "shop_domain": "olive-oil.myshopify.com"
    },
    "archived": false,
    "created": "2026-10-11T09:30:00.000Z"
  }
}

Response headers

x-request-idstring

The request's correlation id; quote it when reporting a problem. One of: req_ plus a uuid (Tallio made it), client: plus the x-request-id you sent (8-128 of A-Z a-z 0-9 . _ : -), or the hosting platform's id.

With every response

Show patternHide pattern^(?:req_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}|client:[A-Za-z0-9._:-]{8,128}|[A-Za-z0-9._-]{1,16}::[A-Za-z0-9._:-]{6,110})$
ratelimit-limitinteger

Requests allowed in the current window for the bucket this request counted against.

With 201, 400, 409, 413, 415, 429 · At least 1

ratelimit-remaininginteger

Requests left in the current window; 0 means the next one is refused until the window resets.

With 201, 400, 409, 413, 415, 429 · At least 0

ratelimit-resetinteger

Seconds until the current window resets.

With 201, 400, 409, 413, 415, 429 · At least 0

idempotent-replayedstring

true when this answer replays an earlier request with the same Idempotency-Key (nothing new was created); absent on the request that created it.

With 201 · Always true

www-authenticatestring

The bearer challenge: send a vendor secret key as Authorization: Bearer <key>.

With 401 · Always Bearer realm="tallio"

retry-afterinteger

Seconds to wait before retrying a request refused with 429 rate_limited.

With 429 · At least 1

Errors
CodeStatusRetryableMeaning
validation_failed400NoRequest validation failed.
unauthorized401NoAuthentication is required.
vendor_suspended403NoThis vendor's access to Tallio is suspended. Its owner can contact Tallio to restore it.
restricted_key403NoA restricted (store) key may not call this operation; it needs the vendor's secret key.
idempotency_conflict409NoThis idempotency key was already used with a different request.
idempotency_in_progress409YesA request with this idempotency key is still in progress; retry it after Retry-After to get its answer.
already_exists409NoAn object with this identifier already exists; look it up instead of creating it again.
payload_too_large413NoThe request body is too large.
unsupported_media_type415NoThe request body must be JSON (Content-Type: application/json).
rate_limited429YesA rate limit was reached. Retry later.
internal_error500NoAn unexpected server error occurred.

Retrieve a merchant #

GET /api/v1/merchants/{id}

Returns one of your merchants.

  • Bearer API key

Path parameters

idstringrequired

The merchant's id (mer_…).

Request

curl
curl -X GET 'https://tallio.dev/api/v1/merchants/mer_02y9O8rh7F50tGi0QcWRrx' \
  -H "Authorization: Bearer $TALLIO_API_KEY"
Responses
StatusDescription
200The merchant.
4XX, 5XXAn error: see Errors below.

Response body · 200

dataobjectrequired

A business that issues documents under your account.

Show nested fields (11)Hide nested fields (11)
idstringrequired

Id of the merchant (mer_…).

Show patternHide pattern^mer_[0-9A-Za-z]{22}$
objectstringrequired

Always "merchant".

Always merchant

external_idstringrequired

Your own id for the merchant, e.g. a shop domain: 1 to 200 characters, trimmed, unique in your account ignoring case (Shop-A and shop-a are the same merchant). Find a merchant by it.

Up to 200 characters

Show patternHide pattern\S
namestringrequired

The merchant's name, as you show it: 1 to 200 characters, trimmed.

Up to 200 characters

Show patternHide pattern\S
regimestringrequired

The tax regime the merchant issues under: GR or FR.

One of: GR, FR · Default: GR

tax_idobject | nullrequired

The merchant's tax registration (GR afm, FR vat), or null when it has none.

Show nested fields (3)Hide nested fields (3)
countrystringrequired

ISO 3166-1 alpha-2 country of the registration.

schemestringrequired

Identifier scheme: afm, vat, tin, siren or siret.

One of: afm, vat, tin, siren, siret

codestringrequired

The identifier itself, as given.

legal_idobject | nullrequired

The merchant's company registration (FR siren), or null when it has none.

Show nested fields (3)Hide nested fields (3)
countrystringrequired

ISO 3166-1 alpha-2 country of the registration.

schemestringrequired

Identifier scheme: afm, vat, tin, siren or siret.

One of: afm, vat, tin, siren, siret

codestringrequired

The identifier itself, as given.

establishmentobject | nullrequired

The establishment the merchant issues from (GR branch, FR siret), or null for the head office.

Show nested fields (2)Hide nested fields (2)
schemestringrequired

Establishment scheme: branch (AADE) or siret.

One of: branch, siret

codestringrequired

The branch number or the SIRET.

metadataobjectrequired

Up to 50 key-value pairs of your own (keys up to 40 characters, values up to 500). Do not put personal data in it.

Show nested fields (1)Hide nested fields (1)
{key}string

A value, up to 500 characters.

1 to 40 characters

archivedbooleanrequired

True once the merchant is archived; it then issues nothing new.

createdstringrequired

When the merchant was created.

Format: date-time

Example response · 200
{
  "data": {
    "id": "mer_02y9O8rh7F50tGi0QcWRrx",
    "object": "merchant",
    "external_id": "olive-oil.myshopify.com",
    "name": "Olive Oil Co",
    "regime": "GR",
    "tax_id": {
      "country": "string",
      "scheme": "afm",
      "code": "string"
    },
    "legal_id": {
      "country": "string",
      "scheme": "afm",
      "code": "string"
    },
    "establishment": {
      "scheme": "branch",
      "code": "string"
    },
    "metadata": {
      "shop_domain": "olive-oil.myshopify.com"
    },
    "archived": false,
    "created": "2026-10-11T09:30:00.000Z"
  }
}

Response headers

x-request-idstring

The request's correlation id; quote it when reporting a problem. One of: req_ plus a uuid (Tallio made it), client: plus the x-request-id you sent (8-128 of A-Z a-z 0-9 . _ : -), or the hosting platform's id.

With every response

Show patternHide pattern^(?:req_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}|client:[A-Za-z0-9._:-]{8,128}|[A-Za-z0-9._-]{1,16}::[A-Za-z0-9._:-]{6,110})$
ratelimit-limitinteger

Requests allowed in the current window for the bucket this request counted against.

With 200, 404, 409, 429 · At least 1

ratelimit-remaininginteger

Requests left in the current window; 0 means the next one is refused until the window resets.

With 200, 404, 409, 429 · At least 0

ratelimit-resetinteger

Seconds until the current window resets.

With 200, 404, 409, 429 · At least 0

www-authenticatestring

The bearer challenge: send a vendor secret key as Authorization: Bearer <key>.

With 401 · Always Bearer realm="tallio"

retry-afterinteger

Seconds to wait before retrying a request refused with 429 rate_limited.

With 429 · At least 1

Errors
CodeStatusRetryableMeaning
unauthorized401NoAuthentication is required.
vendor_suspended403NoThis vendor's access to Tallio is suspended. Its owner can contact Tallio to restore it.
not_found404NoThe requested resource was not found.
store_url_mismatch409NoThis store key was granted to another store URL than the one this request names (Tallio-Store-Url). Connect this store again, or confirm that the store moved.
rate_limited429YesA rate limit was reached. Retry later.
internal_error500NoAn unexpected server error occurred.

Archive a merchant #

POST /api/v1/merchants/{id}/archive

Retires a merchant: it issues nothing new (documents, credit notes, corrections and retries answer 409 merchant_archived), and connects nothing new. Every open connection of the merchant, in both modes, is disconnected (connection.disconnected): documents still queued on one fail with connection_unavailable, and the credentials are deleted 30 days later. Its hosted connect links expire. Its documents, connections and events stay readable, and its external_id stays taken. Writes merchant.archived, once per mode. A test key cannot archive a merchant with an open live connection or connect link (403 forbidden): use a live key. Safe to repeat: an archived merchant is answered as is.

  • Bearer API key

Path parameters

idstringrequired

The merchant's id (mer_…).

Request

curl
curl -X POST 'https://tallio.dev/api/v1/merchants/mer_02y9O8rh7F50tGi0QcWRrx/archive' \
  -H "Authorization: Bearer $TALLIO_API_KEY"
Responses
StatusDescription
200The archived merchant.
4XX, 5XXAn error: see Errors below.

Response body · 200

dataobjectrequired

A business that issues documents under your account.

Show nested fields (11)Hide nested fields (11)
idstringrequired

Id of the merchant (mer_…).

Show patternHide pattern^mer_[0-9A-Za-z]{22}$
objectstringrequired

Always "merchant".

Always merchant

external_idstringrequired

Your own id for the merchant, e.g. a shop domain: 1 to 200 characters, trimmed, unique in your account ignoring case (Shop-A and shop-a are the same merchant). Find a merchant by it.

Up to 200 characters

Show patternHide pattern\S
namestringrequired

The merchant's name, as you show it: 1 to 200 characters, trimmed.

Up to 200 characters

Show patternHide pattern\S
regimestringrequired

The tax regime the merchant issues under: GR or FR.

One of: GR, FR · Default: GR

tax_idobject | nullrequired

The merchant's tax registration (GR afm, FR vat), or null when it has none.

Show nested fields (3)Hide nested fields (3)
countrystringrequired

ISO 3166-1 alpha-2 country of the registration.

schemestringrequired

Identifier scheme: afm, vat, tin, siren or siret.

One of: afm, vat, tin, siren, siret

codestringrequired

The identifier itself, as given.

legal_idobject | nullrequired

The merchant's company registration (FR siren), or null when it has none.

Show nested fields (3)Hide nested fields (3)
countrystringrequired

ISO 3166-1 alpha-2 country of the registration.

schemestringrequired

Identifier scheme: afm, vat, tin, siren or siret.

One of: afm, vat, tin, siren, siret

codestringrequired

The identifier itself, as given.

establishmentobject | nullrequired

The establishment the merchant issues from (GR branch, FR siret), or null for the head office.

Show nested fields (2)Hide nested fields (2)
schemestringrequired

Establishment scheme: branch (AADE) or siret.

One of: branch, siret

codestringrequired

The branch number or the SIRET.

metadataobjectrequired

Up to 50 key-value pairs of your own (keys up to 40 characters, values up to 500). Do not put personal data in it.

Show nested fields (1)Hide nested fields (1)
{key}string

A value, up to 500 characters.

1 to 40 characters

archivedbooleanrequired

True once the merchant is archived; it then issues nothing new.

createdstringrequired

When the merchant was created.

Format: date-time

Example response · 200
{
  "data": {
    "id": "mer_02y9O8rh7F50tGi0QcWRrx",
    "object": "merchant",
    "external_id": "olive-oil.myshopify.com",
    "name": "Olive Oil Co",
    "regime": "GR",
    "tax_id": {
      "country": "string",
      "scheme": "afm",
      "code": "string"
    },
    "legal_id": {
      "country": "string",
      "scheme": "afm",
      "code": "string"
    },
    "establishment": {
      "scheme": "branch",
      "code": "string"
    },
    "metadata": {
      "shop_domain": "olive-oil.myshopify.com"
    },
    "archived": false,
    "created": "2026-10-11T09:30:00.000Z"
  }
}

Response headers

x-request-idstring

The request's correlation id; quote it when reporting a problem. One of: req_ plus a uuid (Tallio made it), client: plus the x-request-id you sent (8-128 of A-Z a-z 0-9 . _ : -), or the hosting platform's id.

With every response

Show patternHide pattern^(?:req_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}|client:[A-Za-z0-9._:-]{8,128}|[A-Za-z0-9._-]{1,16}::[A-Za-z0-9._:-]{6,110})$
ratelimit-limitinteger

Requests allowed in the current window for the bucket this request counted against.

With 200, 404, 429 · At least 1

ratelimit-remaininginteger

Requests left in the current window; 0 means the next one is refused until the window resets.

With 200, 404, 429 · At least 0

ratelimit-resetinteger

Seconds until the current window resets.

With 200, 404, 429 · At least 0

www-authenticatestring

The bearer challenge: send a vendor secret key as Authorization: Bearer <key>.

With 401 · Always Bearer realm="tallio"

retry-afterinteger

Seconds to wait before retrying a request refused with 429 rate_limited.

With 429 · At least 1

Errors
CodeStatusRetryableMeaning
unauthorized401NoAuthentication is required.
vendor_suspended403NoThis vendor's access to Tallio is suspended. Its owner can contact Tallio to restore it.
restricted_key403NoA restricted (store) key may not call this operation; it needs the vendor's secret key.
forbidden403NoThis request is not allowed.
not_found404NoThe requested resource was not found.
rate_limited429YesA rate limit was reached. Retry later.
internal_error500NoAn unexpected server error occurred.

Unarchive a merchant #

POST /api/v1/merchants/{id}/unarchive

Restores an archived merchant, so it may issue again (merchant.unarchived, once per mode). Its connections stay disconnected: connect it again before issuing. A merchant archived by a data erasure has lost its identity and cannot be restored (409 invalid_state): create a new one. A test key cannot unarchive a merchant that ever had a live connection or connect link, or holds an active live store key (403 forbidden): use a live key. Safe to repeat: an active merchant is answered as is.

  • Bearer API key

Path parameters

idstringrequired

The merchant's id (mer_…).

Request

curl
curl -X POST 'https://tallio.dev/api/v1/merchants/mer_02y9O8rh7F50tGi0QcWRrx/unarchive' \
  -H "Authorization: Bearer $TALLIO_API_KEY"
Responses
StatusDescription
200The restored merchant.
4XX, 5XXAn error: see Errors below.

Response body · 200

dataobjectrequired

A business that issues documents under your account.

Show nested fields (11)Hide nested fields (11)
idstringrequired

Id of the merchant (mer_…).

Show patternHide pattern^mer_[0-9A-Za-z]{22}$
objectstringrequired

Always "merchant".

Always merchant

external_idstringrequired

Your own id for the merchant, e.g. a shop domain: 1 to 200 characters, trimmed, unique in your account ignoring case (Shop-A and shop-a are the same merchant). Find a merchant by it.

Up to 200 characters

Show patternHide pattern\S
namestringrequired

The merchant's name, as you show it: 1 to 200 characters, trimmed.

Up to 200 characters

Show patternHide pattern\S
regimestringrequired

The tax regime the merchant issues under: GR or FR.

One of: GR, FR · Default: GR

tax_idobject | nullrequired

The merchant's tax registration (GR afm, FR vat), or null when it has none.

Show nested fields (3)Hide nested fields (3)
countrystringrequired

ISO 3166-1 alpha-2 country of the registration.

schemestringrequired

Identifier scheme: afm, vat, tin, siren or siret.

One of: afm, vat, tin, siren, siret

codestringrequired

The identifier itself, as given.

legal_idobject | nullrequired

The merchant's company registration (FR siren), or null when it has none.

Show nested fields (3)Hide nested fields (3)
countrystringrequired

ISO 3166-1 alpha-2 country of the registration.

schemestringrequired

Identifier scheme: afm, vat, tin, siren or siret.

One of: afm, vat, tin, siren, siret

codestringrequired

The identifier itself, as given.

establishmentobject | nullrequired

The establishment the merchant issues from (GR branch, FR siret), or null for the head office.

Show nested fields (2)Hide nested fields (2)
schemestringrequired

Establishment scheme: branch (AADE) or siret.

One of: branch, siret

codestringrequired

The branch number or the SIRET.

metadataobjectrequired

Up to 50 key-value pairs of your own (keys up to 40 characters, values up to 500). Do not put personal data in it.

Show nested fields (1)Hide nested fields (1)
{key}string

A value, up to 500 characters.

1 to 40 characters

archivedbooleanrequired

True once the merchant is archived; it then issues nothing new.

createdstringrequired

When the merchant was created.

Format: date-time

Example response · 200
{
  "data": {
    "id": "mer_02y9O8rh7F50tGi0QcWRrx",
    "object": "merchant",
    "external_id": "olive-oil.myshopify.com",
    "name": "Olive Oil Co",
    "regime": "GR",
    "tax_id": {
      "country": "string",
      "scheme": "afm",
      "code": "string"
    },
    "legal_id": {
      "country": "string",
      "scheme": "afm",
      "code": "string"
    },
    "establishment": {
      "scheme": "branch",
      "code": "string"
    },
    "metadata": {
      "shop_domain": "olive-oil.myshopify.com"
    },
    "archived": false,
    "created": "2026-10-11T09:30:00.000Z"
  }
}

Response headers

x-request-idstring

The request's correlation id; quote it when reporting a problem. One of: req_ plus a uuid (Tallio made it), client: plus the x-request-id you sent (8-128 of A-Z a-z 0-9 . _ : -), or the hosting platform's id.

With every response

Show patternHide pattern^(?:req_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}|client:[A-Za-z0-9._:-]{8,128}|[A-Za-z0-9._-]{1,16}::[A-Za-z0-9._:-]{6,110})$
ratelimit-limitinteger

Requests allowed in the current window for the bucket this request counted against.

With 200, 404, 409, 429 · At least 1

ratelimit-remaininginteger

Requests left in the current window; 0 means the next one is refused until the window resets.

With 200, 404, 409, 429 · At least 0

ratelimit-resetinteger

Seconds until the current window resets.

With 200, 404, 409, 429 · At least 0

www-authenticatestring

The bearer challenge: send a vendor secret key as Authorization: Bearer <key>.

With 401 · Always Bearer realm="tallio"

retry-afterinteger

Seconds to wait before retrying a request refused with 429 rate_limited.

With 429 · At least 1

Errors
CodeStatusRetryableMeaning
unauthorized401NoAuthentication is required.
vendor_suspended403NoThis vendor's access to Tallio is suspended. Its owner can contact Tallio to restore it.
restricted_key403NoA restricted (store) key may not call this operation; it needs the vendor's secret key.
forbidden403NoThis request is not allowed.
not_found404NoThe requested resource was not found.
invalid_state409NoThe object's current state does not allow this request.
rate_limited429YesA rate limit was reached. Retry later.
internal_error500NoAn unexpected server error occurred.