Tamara · Capability

Tamara Orders API — Orders

Tamara Orders API — Orders. 4 operations. Lead operation: Tamara Get Order Details. Self-contained Naftiko capability covering one Tamara business surface.

Tamara Orders API — Orders is a Naftiko capability published by Tamara, one of 8 capabilities the APIs.io network indexes for this provider. It bundles 4 operations across the POST, GET, and PUT methods rooted at /v1/orders/{…}.

The capability includes 1 read-only operation and 3 state-changing operations. Lead operation: Tamara Get Order Details by Order ID. Can be deployed as a REST endpoint, MCP tool, or Agent Skill via Naftiko.

Tagged areas include Tamara, Orders, and BNPL.

Run with Naftiko TamaraOrdersBNPL

What You Can Do

GET
Getorderdetails — Tamara Get Order Details by Order ID
/v1/orders/{order-id}
POST
Authoriseorder — Tamara Authorise Order
/v1/orders/{order-id}/authorise
POST
Cancelorder — Tamara Cancel Order
/v1/orders/{order-id}/cancel
PUT
Updateorderreferenceid — Tamara Update Order Reference ID
/v1/orders/{order-id}/reference-id

MCP Tools

tamara-get-order-details

Tamara Get Order Details by Order ID

read-only idempotent
tamara-authorise-order

Tamara Authorise Order

idempotent
tamara-cancel-order

Tamara Cancel Order

tamara-update-order-reference-id

Tamara Update Order Reference ID

idempotent

Capability Spec

orders.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Tamara Orders API — Orders
  description: 'Tamara Orders API — Orders. 4 operations. Lead operation: Tamara Get Order Details. Self-contained Naftiko capability covering one Tamara business surface.'
  tags:
  - Tamara
  - Orders
  - BNPL
  created: '2026-05-24'
  modified: '2026-05-24'
binds:
- namespace: env
  keys:
    TAMARA_API_TOKEN: TAMARA_API_TOKEN
capability:
  consumes:
  - type: http
    namespace: orders
    baseUri: https://api.tamara.co
    description: Tamara Orders API — Orders business capability. Self-contained, no shared references.
    resources:
    - name: orders-order_id
      path: /orders/{order_id}
      operations:
      - name: getorderdetails
        method: GET
        description: Tamara Get Order Details by Order ID
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: order_id
          in: path
          type: string
          description: Tamara order id (UUID).
          required: true
    - name: orders-order_id-authorise
      path: /orders/{order_id}/authorise
      operations:
      - name: authoriseorder
        method: POST
        description: Tamara Authorise Order
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: order_id
          in: path
          type: string
          required: true
    - name: orders-order_id-cancel
      path: /orders/{order_id}/cancel
      operations:
      - name: cancelorder
        method: POST
        description: Tamara Cancel Order
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: order_id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          required: true
    - name: orders-order_id-reference-id
      path: /orders/{order_id}/reference-id
      operations:
      - name: updateorderreferenceid
        method: PUT
        description: Tamara Update Order Reference ID
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: order_id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          required: true
    authentication:
      type: bearer
      token: '{{env.TAMARA_API_TOKEN}}'
  exposes:
  - type: rest
    namespace: orders-rest
    port: 8080
    description: REST adapter for Tamara Orders API — Orders. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/orders/{order-id}
      name: orders-order-id
      description: REST surface for /orders/{order_id}.
      operations:
      - method: GET
        name: getorderdetails
        description: Tamara Get Order Details by Order ID
        call: orders.getorderdetails
        with:
          order_id: rest.order_id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/orders/{order-id}/authorise
      name: orders-order-id-authorise
      operations:
      - method: POST
        name: authoriseorder
        description: Tamara Authorise Order
        call: orders.authoriseorder
        with:
          order_id: rest.order_id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/orders/{order-id}/cancel
      name: orders-order-id-cancel
      operations:
      - method: POST
        name: cancelorder
        description: Tamara Cancel Order
        call: orders.cancelorder
        with:
          order_id: rest.order_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/orders/{order-id}/reference-id
      name: orders-order-id-reference-id
      operations:
      - method: PUT
        name: updateorderreferenceid
        description: Tamara Update Order Reference ID
        call: orders.updateorderreferenceid
        with:
          order_id: rest.order_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: orders-mcp
    port: 9090
    transport: http
    description: MCP adapter for Tamara Orders API — Orders.
    tools:
    - name: tamara-get-order-details
      description: Tamara Get Order Details by Order ID
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: orders.getorderdetails
      with:
        order_id: tools.order_id
      outputParameters:
      - type: object
        mapping: $.
    - name: tamara-authorise-order
      description: Tamara Authorise Order
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: orders.authoriseorder
      with:
        order_id: tools.order_id
      outputParameters:
      - type: object
        mapping: $.
    - name: tamara-cancel-order
      description: Tamara Cancel Order
      hints:
        readOnly: false
        destructive: true
        idempotent: false
      call: orders.cancelorder
      with:
        order_id: tools.order_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: tamara-update-order-reference-id
      description: Tamara Update Order Reference ID
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: orders.updateorderreferenceid
      with:
        order_id: tools.order_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.