Retrieve an instalment plan

GET https://api.tamio.com/v2/instalments/retrieve/{uuid}

Retrieves a single instalment plan by its UUID. The plan must belong to the authenticated user.

Path Parameters

uuid string*

UUID of the instalment plan to retrieve

Responses

200 Instalment plan retrieved successfully

Instalment plan retrieved successfully

status integer
instalment_plan InstalmentPlan
400 Bad request. Possible `error_code` values:
401 Missing or invalid API key
/instalments/retrieve/{uuid}
1const response = await fetch("https://api.tamio.com/v2/instalments/retrieve/{uuid}", {
2 headers: {
3 "Authorization": "Bearer YOUR_API_KEY",
4 "Accept": "application/json"
5 }
6});
7const data = await response.json();
Responses
{
  "status": 200,
  "instalment_plan": {
    "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "object": "instalment_plan",
    "label": "Monthly 3x Plan",
    "interval": 1,
    "billing_cycle": "month",
    "upfront": 10,
    "interest": 5,
    "instalments": 3,
    "countries": [
      "de",
      "fr",
      "us"
    ],
    "sales": 15,
    "active": true,
    "created_at": 1700000000
  }
}