Scento Agent Checkout API

Agent checkout for Scento perfumes. An agent builds a bag as a checkout session using the Universal Commerce Protocol (UCP) or the Agentic Commerce Protocol (ACP), then either hands the buyer to Scento's own checkout through a continue_url or pays the session by card through Stripe with the Machine Payments Protocol. One-time orders at the regular price.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 11

POST /api/ucp/checkout-sessions Create a checkout session (UCP) #
GET /api/ucp/checkout-sessions/{id} Read a checkout session (UCP) #
PUT /api/ucp/checkout-sessions/{id} Update a checkout session (UCP): items, buyer, address, delivery option #
POST /api/ucp/checkout-sessions/{id}/complete Hand the buyer to the shop's checkout (continue_url) #
POST /api/ucp/checkout-sessions/{id}/cancel Cancel a checkout session (UCP) #
POST /api/acp/checkout_sessions Create a checkout session (ACP) #
GET /api/acp/checkout_sessions/{id} Read a checkout session (ACP) #
POST /api/acp/checkout_sessions/{id} Update a checkout session (ACP) #
POST /api/acp/checkout_sessions/{id}/complete Hand the buyer to the shop's checkout (continue_url) #
POST /api/acp/checkout_sessions/{id}/cancel Cancel a checkout session (ACP) #
POST /api/checkout-sessions/{id}/pay Pay a checkout session by card through Stripe (MPP) #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/scento:scento-agent-checkout-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

scento-agent-checkout-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Scento Agent Checkout API
  version: 1.0.0
  summary: 'Agent checkout: build a Scento bag as a UCP or ACP checkout session and
    complete it via continue_url or pay by card with the Machine Payments Protocol.'
  description: 'Free perfume and fragrance API and MCP server for AI assistants, built
    on Scento''s verified perfume database: notes, scent families, similar perfumes,
    raw materials and houses, each answer linked to a page on scento.com. Covers 1,600+
    designer and niche perfumes, 400+ raw materials and 160+ perfume houses. No key,
    no account.


    The same twelve read-only answers as the MCP server at https://www.scento.com/mcp.
    Every answer is a folio: a quotable lede, a detail object, the scento.com page
    to read on, further reading and a cite line. Lists return an opaque continuation
    value. Comma-separated values are accepted wherever a list is expected.


    Agent checkout: Build a bag of Scento perfumes as a checkout session (UCP or ACP),
    then either hand the buyer to the shop''s own checkout (complete → continue_url)
    or pay it by card through Stripe with the Machine Payments Protocol (POST /api/checkout-sessions/{id}/pay).
    One-time orders at the regular price.'
  termsOfService: https://www.scento.com/terms-of-service#perfume-api
  contact:
    name: Scento
    url: https://www.scento.com/developers
    email: support@scento.com
  license:
    name: Scento terms of service
    url: https://www.scento.com/terms-of-service#perfume-api
  x-original-title: Scento API
externalDocs:
  description: Scento Perfume API for developers
  url: https://www.scento.com/developers
servers:
- url: https://www.scento.com
tags:
- name: Search perfumes, houses and notes
  description: 'Perfume and fragrance API route: search perfumes, houses and notes.
    Same answer as the MCP tool `perfume-search`.'
- name: Get a perfume's notes and profile
  description: 'Perfume and fragrance API route: get a perfume''s notes and profile.
    Same answer as the MCP tool `perfume-portrait`.'
- name: Find similar perfumes
  description: 'Perfume and fragrance API route: find similar perfumes. Same answer
    as the MCP tool `scent-neighbours`.'
- name: Compare perfumes side by side
  description: 'Perfume and fragrance API route: compare perfumes side by side. Same
    answer as the MCP tool `perfume-contrast`.'
- name: Explain a note or ingredient
  description: 'Perfume and fragrance API route: explain a note or ingredient. Same
    answer as the MCP tool `note-portrait`.'
- name: Find perfumes by note
  description: 'Perfume and fragrance API route: find perfumes by note. Same answer
    as the MCP tool `material-match`.'
- name: Profile a perfume house
  description: 'Perfume and fragrance API route: profile a perfume house. Same answer
    as the MCP tool `house-portrait`.'
- name: Explore fragrance families
  description: 'Perfume and fragrance API route: explore fragrance families. Same
    answer as the MCP tool `family-map`.'
- name: Pick perfumes for an occasion
  description: 'Perfume and fragrance API route: pick perfumes for an occasion. Same
    answer as the MCP tool `occasion-edit`.'
- name: Build a fragrance wardrobe
  description: 'Perfume and fragrance API route: build a fragrance wardrobe. Same
    answer as the MCP tool `wardrobe-composer`.'
- name: Explain a perfumery term
  description: 'Perfume and fragrance API route: explain a perfumery term. Same answer
    as the MCP tool `perfumery-lexicon`.'
- name: Search the Scento journal
  description: 'Perfume and fragrance API route: search the Scento journal. Same answer
    as the MCP tool `journal-search`.'
- name: UCP
  description: Agent checkout sessions, Universal Commerce Protocol.
- name: ACP
  description: Agent checkout sessions, Agentic Commerce Protocol.
- name: Payments
  description: Pay a checkout session by card through Stripe (Machine Payments Protocol).
security: []
paths:
  /api/ucp/checkout-sessions:
    post:
      operationId: ucpCreateCheckoutSession
      summary: Create a checkout session (UCP)
      tags:
      - UCP
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
      responses:
        '201':
          description: 'The session: lines, totals, delivery options'
          content:
            application/json:
              schema:
                type: object
        4XX:
          description: The request could not be used
          content:
            application/json:
              schema:
                type: object
  /api/ucp/checkout-sessions/{id}:
    get:
      operationId: ucpGetCheckoutSession
      summary: Read a checkout session (UCP)
      tags:
      - UCP
      parameters:
      - name: id
        in: path
        required: true
        description: The checkout session id (UCP or ACP), `cart_…`.
        schema:
          type: string
          pattern: ^cart_[0-9A-Za-z]{10,64}$
      responses:
        '200':
          description: The session
          content:
            application/json:
              schema:
                type: object
        '404':
          description: No such session
          content:
            application/json:
              schema:
                type: object
    put:
      operationId: ucpUpdateCheckoutSession
      summary: 'Update a checkout session (UCP): items, buyer, address, delivery option'
      tags:
      - UCP
      parameters:
      - name: id
        in: path
        required: true
        description: The checkout session id (UCP or ACP), `cart_…`.
        schema:
          type: string
          pattern: ^cart_[0-9A-Za-z]{10,64}$
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
      responses:
        '200':
          description: The session
          content:
            application/json:
              schema:
                type: object
        '404':
          description: No such session
          content:
            application/json:
              schema:
                type: object
  /api/ucp/checkout-sessions/{id}/complete:
    post:
      operationId: ucpCompleteCheckoutSession
      summary: Hand the buyer to the shop's checkout (continue_url)
      tags:
      - UCP
      parameters:
      - name: id
        in: path
        required: true
        description: The checkout session id (UCP or ACP), `cart_…`.
        schema:
          type: string
          pattern: ^cart_[0-9A-Za-z]{10,64}$
      responses:
        '200':
          description: requires_escalation with continue_url
          content:
            application/json:
              schema:
                type: object
  /api/ucp/checkout-sessions/{id}/cancel:
    post:
      operationId: ucpCancelCheckoutSession
      summary: Cancel a checkout session (UCP)
      tags:
      - UCP
      parameters:
      - name: id
        in: path
        required: true
        description: The checkout session id (UCP or ACP), `cart_…`.
        schema:
          type: string
          pattern: ^cart_[0-9A-Za-z]{10,64}$
      responses:
        '200':
          description: The canceled session
          content:
            application/json:
              schema:
                type: object
  /api/acp/checkout_sessions:
    post:
      operationId: acpCreateCheckoutSession
      summary: Create a checkout session (ACP)
      tags:
      - ACP
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
      responses:
        '201':
          description: The session
          content:
            application/json:
              schema:
                type: object
        4XX:
          description: The request could not be used
          content:
            application/json:
              schema:
                type: object
  /api/acp/checkout_sessions/{id}:
    get:
      operationId: acpGetCheckoutSession
      summary: Read a checkout session (ACP)
      tags:
      - ACP
      parameters:
      - name: id
        in: path
        required: true
        description: The checkout session id (UCP or ACP), `cart_…`.
        schema:
          type: string
          pattern: ^cart_[0-9A-Za-z]{10,64}$
      responses:
        '200':
          description: The session
          content:
            application/json:
              schema:
                type: object
        '404':
          description: No such session
          content:
            application/json:
              schema:
                type: object
    post:
      operationId: acpUpdateCheckoutSession
      summary: Update a checkout session (ACP)
      tags:
      - ACP
      parameters:
      - name: id
        in: path
        required: true
        description: The checkout session id (UCP or ACP), `cart_…`.
        schema:
          type: string
          pattern: ^cart_[0-9A-Za-z]{10,64}$
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
      responses:
        '200':
          description: The session
          content:
            application/json:
              schema:
                type: object
  /api/acp/checkout_sessions/{id}/complete:
    post:
      operationId: acpCompleteCheckoutSession
      summary: Hand the buyer to the shop's checkout (continue_url)
      tags:
      - ACP
      parameters:
      - name: id
        in: path
        required: true
        description: The checkout session id (UCP or ACP), `cart_…`.
        schema:
          type: string
          pattern: ^cart_[0-9A-Za-z]{10,64}$
      responses:
        '200':
          description: requires_escalation with continue_url
          content:
            application/json:
              schema:
                type: object
  /api/acp/checkout_sessions/{id}/cancel:
    post:
      operationId: acpCancelCheckoutSession
      summary: Cancel a checkout session (ACP)
      tags:
      - ACP
      parameters:
      - name: id
        in: path
        required: true
        description: The checkout session id (UCP or ACP), `cart_…`.
        schema:
          type: string
          pattern: ^cart_[0-9A-Za-z]{10,64}$
      responses:
        '200':
          description: The canceled session
          content:
            application/json:
              schema:
                type: object
  /api/checkout-sessions/{id}/pay:
    post:
      operationId: payCheckoutSession
      summary: Pay a checkout session by card through Stripe (MPP)
      description: 'Machine Payments Protocol, method `stripe`, intent `charge`. Without
        a credential the answer is 402 with `WWW-Authenticate: Payment …` whose request
        carries the session total in minor units, the currency and the Stripe profile
        (`methodDetails.networkId`) to grant a Shared Payment Token to. Retry with
        `Authorization: Payment <credential>` (payload `{ "spt": "spt_…" }`): the
        card is charged once and the order is returned with a `Payment-Receipt` header.
        The session needs items, the buyer e-mail and a delivery address first; standard
        delivery for that country is included in the amount the 402 names. Retrying
        the same credential is safe and returns the same order.'
      tags:
      - Payments
      parameters:
      - name: id
        in: path
        required: true
        description: The checkout session id (UCP or ACP), `cart_…`.
        schema:
          type: string
          pattern: ^cart_[0-9A-Za-z]{10,64}$
      requestBody:
        required: false
        description: 'Empty: everything paid for is already on the checkout session.'
        content:
          application/json:
            schema:
              type: object
              maxProperties: 0
      x-payment-info:
        intent: charge
        method: stripe
        amount: null
        currency: eur
        description: 'A Scento order: the perfumes in the checkout session plus standard
          delivery, charged once at the session total'
      security:
      - {}
      - mpp: []
      responses:
        '200':
          description: 'Paid: the order'
          headers:
            Payment-Receipt:
              description: 'base64url JSON receipt: method, reference (the PaymentIntent
                id), status, timestamp'
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaidOrder'
        '202':
          description: Paid; the order is being placed or checked by the shop (retry
            the same request)
          content:
            application/json:
              schema:
                type: object
        '402':
          description: Payment Required
          headers:
            WWW-Authenticate:
              description: Payment challenge (method stripe, intent charge)
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          x-payment-info:
            intent: charge
            method: stripe
            amount: null
            currency: eur
            description: 'A Scento order: the perfumes in the checkout session plus
              standard delivery, charged once at the session total'
        '404':
          description: No such checkout session
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '409':
          description: The session cannot be paid now (incomplete, already paid or
            ordered, being paid elsewhere)
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '503':
          description: Try again shortly
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
components:
  schemas:
    Folio:
      type: object
      properties:
        folio:
          type: string
          description: Which tool wrote this answer.
        lede:
          type: string
          description: One sentence an assistant can quote as is.
        detail:
          type: object
          description: The tool-specific answer.
          additionalProperties: true
        scento_page:
          type: object
          description: The scento.com page to read on.
          properties:
            label:
              type: string
            url:
              type: string
              format: uri
          required:
          - label
          - url
        further_reading:
          type: array
          items:
            type: object
            properties:
              label:
                type: string
              url:
                type: string
                format: uri
            required:
            - label
            - url
        cite:
          type: string
          description: How to credit the answer.
        continuation:
          type:
          - string
          - 'null'
          description: Pass back to fetch the next part of a list; null when complete.
      required:
      - folio
      - lede
      - detail
      - scento_page
      - further_reading
      - cite
      - continuation
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
          required:
          - code
          - message
      required:
      - error
    Problem:
      type: object
      properties:
        type:
          type: string
        title:
          type: string
        status:
          type: integer
        detail:
          type: string
        challengeId:
          type: string
    PaidOrder:
      type: object
      properties:
        id:
          type: string
          description: The checkout session id
        status:
          type: string
          enum:
          - completed
        order:
          type: object
          properties:
            id:
              type: string
            number:
              type: string
        payment:
          type: object
          properties:
            method:
              type: string
            reference:
              type: string
            challenge_id:
              type: string
  securitySchemes:
    mpp:
      type: http
      scheme: Payment
      description: Machine Payments Protocol credential (https://paymentauth.org)
x-service-info:
  categories:
  - shopping
  docs:
    homepage: https://www.scento.com
    apiReference: https://www.scento.com/openapi.json
    llms: https://www.scento.com/llms.txt
x-source: https://www.scento.com/openapi.json
x-split-from: openapi/_original/scento-perfume-openapi.json