Tamio

Finalise a transaction

POST https://api.tamio.com/v2/transactions/finalise/{uuid}

Finalises an existing transaction by selecting a payment method, shipping option, and optionally a subscription plan. Triggers payment processing and completes the purchase flow.

Warning: It is strongly recommended to use the Tamio SDK for finalising transactions, as it automatically loads and configures the required payment integrations (Stripe, Mollie, GoCardless, etc.). Calling this endpoint directly requires you to handle payment provider setup and 3D Secure flows manually.

Path Parameters

uuid string*

UUID of the transaction to finalise.

Body Parameters

plan string

Subscription plan identifier for recurring billing setup. Null for one-time purchases.

redirect string

URL to redirect the customer to after successful payment.

payment string

Payment method identifier. Null for automatic detection.

shipping string

Shipping method UUID for delivery configuration.

Responses

200 Transaction finalised successfully. Returns the full transaction object with ...

Transaction finalised successfully. Returns the full transaction object with charge details, selected payment, and instalment information.

status integer
transaction object
400 Validation or business-logic error.
401 Missing or invalid API key
/transactions/finalise/{uuid}
1const response = await fetch("https://api.tamio.com/v2/transactions/finalise/{uuid}", {
2 method: "POST",
3 headers: {
4 "Authorization": "Bearer YOUR_API_KEY",
5 "Content-Type": "application/json"
6 },
7 body: JSON.stringify({
8 "plan": "string",
9 "redirect": "string",
10 "payment": "string",
11 "shipping": "00000000-0000-0000-0000-000000000000"
12 })
13});
14const data = await response.json();
Responses
{
  "status": 200,
  "transaction": null
}