v12

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-011518127.5 KB
payments

post/orders/

Request body

businessstring required

Your Tonder API Key. You can retrieve it from the dashboard.

clientstring required

The client authorization token: auth_token

billing_address_idstring

The identifier for the billing address.

shipping_address_idstring

The identifier for the shipping address.

amountinteger required

The total monetary value of the transaction.

statusstring required

A code indicating the status of the transaction.

referencestring required

A unique identifier or reference number associated with the transaction.

is_oneclickboolean required

A boolean value indicating whether the transaction involves a one-click purchase.

Example request

{
  "business": "<YOUR_API_KEY>",
  "client": "<YOUR_CLIENT_AUTH_TOKEN>"
}

Response

Successful response

idinteger

An identifier associated with the order.

createdstring date-time

The timestamp indicating the creation date and time of the order.

amountstring

The total monetary value of the order.

statusstring

The status of the order.

payment_methodstring

The payment method used in the order.

referencestring

A unique identifier or reference number associated with the order.

is_oneclickboolean

A boolean value indicating whether the order involves a one-click purchase.

billing_addressstring

The billing address information in the order.

shipping_addressstring

The shipping address information in the order.

Example response

{
  "id": 5910,
  "created": "2024-01-18T10:09:36.499975-06:00",
  "amount": "1200.0000",
  "status": "Activa",
  "reference": "1234556",
  "is_oneclick": true,
  "items": [
    {
      "description": "description test",
      "product_reference": "1",
      "quantity": "1.0000",
      "price_unit": "1.0000",
      "discount": "0.0000",
      "taxes": "0.0000",
      "amount_total": "1200.0000"
    }
  ],
  "client": {
    "email": "pruebas@sdk.com"
  }
}