Skip to content

Suggested

API Dashboard
POST /payment-links/token/{checkout-token}/checkout-sessions

Creates a checkout session from a payment-link checkout token.

POST/payment-links/token/{checkout-token}/checkout-sessions
Create checkout session from payment-link

Bearer access token returned by the authentication endpoint.

The API key used for authentication when making requests to the API Gateway.

API version selector for Conomy endpoints. Use 24-04-2025 for the current version.

Identifies the application making the request.

Checkout token that identifies the payment link session context.

idstringrequired

Unique identifier for the internal service.

paymentLinkIdstring

Reference Payment Link ID

checkoutTokenstring

Reference for checkout url

paymentConfigsobject[]required
createdAtstringdate-timerequired

When the link expires

statusstringrequired
ATTEMPTACTIVEEXPIREDFINISHEDPROCESSING_PAYMENTFAILED
itemsobject[]required

List of items to pay for

currencystringrequired

Specifies the currency used, following the ISO 4217 standard for fiat currencies (e.g., CLP, ARS, MXN). Go to the currencies page for the complete list of supported values.

preTaxAmountstringrequired

Addition of all items preTaxAmounts

totalAmountstringrequired

Addition of all items totalAmounts

urlstringrequired

Url to open checkout flow

paymentMethodsAllowedstring[]min 1 itemsrequired

Allowed payment methods.

customerobjectnullable

Optional customer to pass into the checkout session

redirectUrlstring

The URL to which the end user will be redirected after completing the payment.

destinationsobject[]min 1 itemsrequired

A list of destinations for the transaction.

customerRequirementsstring[]
expiresAtstringdate-timerequired
ownerobjectrequired

Identity reference object used inside account nodes.

Request
POST /sandbox/payment-links/token/{checkout-token}/checkout-sessions HTTP/1.1
Host: api.conomyhq.com
Authorization: Bearer {ACCESS_TOKEN}
x-api-key: {YOUR_API_KEY}
conomyhq-api-version: 24-04-2025
User-Agent: MyApp/1.0
Content-Type: application/json

{}
Response
{
  "id": "string",
  "paymentLinkId": "string",
  "checkoutToken": "string",
  "paymentConfigs": [
    {
      "currency": "string",
      "product": "string",
      "exchangeRate": "string",
      "paymentMethods": [
        null
      ]
    }
  ],
  "createdAt": "2024-01-15T10:30:00.000Z",
  "status": "ATTEMPT",
  "items": [
    {
      "preTaxAmount": "string",
      "totalAmount": "string",
      "description": "string"
    }
  ],
  "currency": "string",
  "preTaxAmount": "string",
  "totalAmount": "string"
}