Skip to main content

Get an order by ID

get/v1/team/orders/{id}

Request​

Authorization

  • Authorizationstringheaderrequired

    Key in the format Bearer <API-key>. Create a key on the API keys page.

Path Parameters

  • id integer<int64>required

Response

    amountinteger<uint64>

    Amount

    Example: 490
    available_for_downloadboolean

    Available for download

    cancellation_partystring

    Who canceled the payment

    Example: merchant
    cancellation_reasonstring

    Reason the payment was canceled

    Example: general_decline
    confirmation_tokenstring

    YooKassa payment widget token; returned only in the response to order creation

    created_atstring<date-time>

    Creation date

    currencystring

    Currency

    Example: RUB
    download_urlstring

    Download link

    Example: https://api.tuna.am/v1/team/orders/500/download
    gift_card_idstring

    Gift card ID

    Example: gc_a1b2c3
    gift_card_paymentboolean

    Whether this is a gift card purchase

    idinteger<int64>

    Unique order ID (internal)

    Example: 500
    order_idstring

    Unique order ID (in the payment system)

    Example: ord_7f3a9c2b
    order_seatsinteger<int64>

    Number of seats to purchase

    Example: 5
    payment_method_paymentboolean

    Whether the payment links a payment method

    payment_method_titlestring

    Payment method name

    Example: •••• 4242
    payment_method_typestring

    Payment method type

    Possible values: [bank_card, elba]

    Example: bank_card
    payment_urlstring

    Payment link

    Example: https://yoomoney.ru/checkout/payments/v2/contract
    periodic_paymentboolean

    Whether the payment is recurring

    plan object
    amountinteger<uint64>

    Plan price

    Example: 490
    available_to_usersboolean

    Whether the plan is available to users

    bastion_node_limitinteger<int64>

    Bastion node limit

    Example: 3
    capture_project_limitinteger<int64>

    Report project limit

    Example: 5
    capture_report_ttl_in_daysinteger<int64>

    Report lifetime

    Example: 30
    codestring

    Plan code

    Example: pro
    currencystring

    Currency

    Example: RUB
    domain_limitinteger<int64>

    Domain limit (static)

    Example: 10
    endpoint_limitinteger<int64>

    Endpoint limit

    Example: 10
    external_domain_limitinteger<int64>

    Domain limit (custom)

    Example: 5
    idinteger<int64>

    Plan ID

    Example: 42
    license_amountinteger<uint64>

    License price

    Example: 1990
    meet_duration_limitinteger<int64>

    Call duration

    Example: 60
    meet_participant_limitinteger<int64>

    Number of participants in a call

    Example: 10
    mesh_acl_editableboolean

    Whether Mesh VPN ACLs can be edited via the UI/API

    mesh_acl_rulesinteger<int64>

    Limit of user-defined Mesh VPN ACL rules per team

    Example: 20
    mesh_devices_per_memberinteger<int64>

    Limit of Mesh VPN devices per team member

    Example: 5
    mesh_exit_nodesboolean

    Whether a device can advertise itself as a Mesh VPN exit node

    monitor_limitinteger<int64>

    Monitor limit

    Example: 10
    namestring

    Plan name

    Example: Pro
    payproglobal_subscription_product_idinteger<int64>

    Subscription product ID in PayPro Global

    Example: 123456
    period_codestring

    Billing period code

    Example: monthly
    period_in_daysinteger<int64>

    Billing period in days

    Example: 30
    plato_document_limitinteger<int64>

    Number of documents

    Example: 50
    secrets_config_log_ttl_in_daysinteger<int64>

    Configuration change history retention, 0 means unlimited

    Example: 30
    secrets_config_per_environment_limitinteger<int64>

    Configuration limit per environment

    Example: 5
    secrets_config_watch_limitinteger<int64>

    Configuration change subscription limit

    Example: 1
    secrets_environment_per_project_limitinteger<int64>

    Environment limit per project

    Example: 5
    secrets_project_limitinteger<int64>

    Project limit

    Example: 5
    session_durationinteger<int64>

    A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years.

    status_page_limitinteger<int64>

    Status page limit

    Example: 3
    team_typestring

    Team type

    Possible values: [personal, pro]

    Example: pro
    tunnel_limitinteger<int64>

    Tunnel limit

    Example: 20
    webhook_limitinteger<int64>

    Webhook limit

    Example: 10
    providerstring

    Payment provider

    Possible values: [yookassa, elba, payproglobal]

    Example: yookassa
    provider_invoice_urlstring

    Invoice on the payment provider's side (PayPro Global)

    Example: https://store.payproglobal.com/invoice/12345
    shop_countrystring

    Country of the store accepting the payment

    Possible values: [Russia, Armenia]

    Example: Russia
    statusstring

    Status

    Possible values: [pending, succeeded, canceled, refund]

    Example: succeeded
    subscription_seatsinteger<int64>

    Number of seats in the subscription

    Example: 5
    team_idinteger<int64>

    Team ID

    Example: 7
    team_namestring

    Team name

    Example: Acme