v1

latestOpenAPI 3.0.0UNLICENSED2026-07-26178479713.7 KB
session
Sessions

checkout_payment_token_session_post

This endpoint lets you create payment and recurrence tokens without reserving or charging any amount.

The URL returned by this endpoint opens a web site where the customer can enter their payment details, e.g. card information.

The payment details will be validated and a transaction with a payment/recurrence token will be created on success containing the payment token created from the customer payment details.

  • GET /v1/transactions/{id}?includes=card.payment_token
  • GET /v1/transactions/{id}?includes=card.recurrence_token

scopes:

  • admin:checkout
  • write:checkout
post/accounts/{aid}/payments/sessions/payment-token

Query parameters

include_sessionboolean

Include all details about the session created

Headers

Dintero-System-Namestring

The name of the ecommerce solution

Example: woocommerce

Dintero-System-Versionstring

The version number of the ecommerce solution

Example: 5.4

Dintero-System-Plugin-Namestring

The name of the ecommerce plugin

Example: Dintero.Checkout.WooCommerce

Dintero-System-Plugin-Versionstring

The version number of the ecommerce plugin

Example: 2.3.4

Request body

Example request

{
  "session": {
    "order": {
      "currency": "NOK",
      "store": {
        "id": "sc029",
        "name": "SC Oslo",
        "business_name": "SC Oslo AS",
        "address": {
          "address_line": "Sommerkroveien 34",
          "address_line_2": "PB 123",
          "postal_code": "0349",
          "postal_place": "Oslo",
          "country": "NO"
        },
        "chain": "SuperChain",
        "email": "contact@superchain.com",
        "gln": "5790001398644",
        "organization_number": "123456789MVA",
        "phone_number": "+4738260107",
        "mcc": "5814",
        "bax": "102603",
        "terminal_id": "T0292",
        "payout_destination_id": "seller-1"
      }
    },
    "url": {
      "return_url": "https://example.com/accept"
    },
    "customer": {
      "email": "john.doe@example.com",
      "phone_number": "+4799999999"
    },
    "metadata": {
      "order_id": "xk39592f"
    }
  }
}

Response

Referenced by this API but not published in the vendor's docs pages.