Skip to main content
POST
https://api.dintero.com/v1
/
accounts
/
{aid}
/
payments
/
admin
/
terminals
/
operations
admin_terminals_operations_post
curl --request POST \
  --url https://api.dintero.com/v1/accounts/{aid}/payments/admin/terminals/operations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "terminal_id": "<string>"
}
'
import requests

url = "https://api.dintero.com/v1/accounts/{aid}/payments/admin/terminals/operations"

payload = { "terminal_id": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({terminal_id: '<string>'})
};

fetch('https://api.dintero.com/v1/accounts/{aid}/payments/admin/terminals/operations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
package main

import (
"fmt"
"strings"
"net/http"
"io"
)

func main() {

url := "https://api.dintero.com/v1/accounts/{aid}/payments/admin/terminals/operations"

payload := strings.NewReader("{\n \"terminal_id\": \"<string>\"\n}")

req, _ := http.NewRequest("POST", url, payload)

req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.post("https://api.dintero.com/v1/accounts/{aid}/payments/admin/terminals/operations")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"terminal_id\": \"<string>\"\n}")
.asString();
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "terminal_id": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "created_by": "<string>",
  "updated_at": "2023-11-07T05:31:56Z",
  "updated_by": "<string>",
  "account_id": "<string>"
}
{
"error": {
"message": "<string>",
"code": "<string>",
"errors": [
{}
]
}
}
{
"error": {
"message": "<string>",
"code": "<string>",
"errors": [
{}
]
}
}
{
"error": {
"message": "<string>",
"code": "<string>",
"errors": [
{}
]
}
}
{
"error": {
"message": "<string>",
"code": "<string>",
"errors": [
{}
]
}
}
{
"error": {
"message": "<string>",
"code": "<string>",
"errors": [
{}
]
}
}
{
"error": {
"message": "<string>",
"code": "<string>",
"errors": [
{}
]
}
}

Authorizations

Authorization
string
header
required

Bearer authentication (token authentication) should be used for accessing the API.

Use Get Token to get an access token for client credentials. Pass the token in the request header:

Authorization: Bearer {access_token}

where the access_token is JSON Web Tokens (JWT).

Headers

Idempotency-Key
string<uuid>

Optional idempotency key to ensure the operation is only executed once.

Path Parameters

aid
string<^[PT]{1}\d{8}$>
required

An id that uniquely identifies the account.

Required string length: 9

Body

application/json
terminal_id
string
required

Terminal identifier

operation
enum<string>
required
Available options:
end_of_day,
send_logs,
check_update,
open_menu

Response

Terminal operation created

Terminal operation. The shape depends on the operation field.

id
string<uuid>
required

Unique identifier for the terminal operation.

terminal_id
string
required

Identifier of the terminal the operation was sent to.

operation
enum<string>
required
Available options:
end_of_day,
send_logs,
check_update,
open_menu
status
enum<string>
required

Status of the terminal operation.

  • PENDING: Operation has been dispatched to the terminal and is awaiting a response.
  • COMPLETED: Terminal has responded and the operation finished successfully.
  • FAILED: Terminal responded but reported a failure.
  • TIMEOUT: No response was received from the terminal within the timeout window. A new operation can be dispatched.
Available options:
PENDING,
COMPLETED,
FAILED,
TIMEOUT
created_at
string<date-time>
required

When the operation was created.

created_by
string
required

Identity of the user or system that created the operation.

updated_at
string<date-time>
required

When the operation was last updated.

updated_by
string
required

Identity of the user or system that last updated the operation.

account_id
string

Account identifier the operation belongs to.

Last modified on July 8, 2026