Skip to main content
The Management API lets you order terminals and accessories for delivery to a location of your choice using API requests instead of the Customer Area.

Requirements

Before you begin, take into account the following requirements and limitations.

Products and orders

You can order products for a company account or a merchant account. A product can be:
  • A box containing a payment terminal and default items like a power cable.
  • An accessory, like a privacy shield, a stylus pen, or a replacement power cable.
  • A hardware kit combining terminals, accessories, and setup instructions in a custom package.
Apart from the products, an order includes:
  • A billing entity for the company or merchant account. This is where we charge the order to. We create billing entities for you based on the details you provided when you applied for the accounts.
  • A shipping location for the company or merchant account. This is where we send the order. A shipping location is linked to a company account or a merchant account. You create shipping locations yourself.

Regional compatibility

You can only use the terminals in the country or region where you ordered them for. This is because the wireless communications modem inside the terminals is specific to the region. The terminals will not work in a different country or region, even with a region-specific power cord. For example, if you ordered a European terminal having delivered them to the US, it would not work even with a US power cord.

Order hardware kits

You can use the Management API to order hardware kits. After your hardware kit is set up, it appears as a product in the terminal products response with:
  • A product id prefixed with KIT-.
  • An itemsIncluded array listing the bundled contents.
You order kits the same way as other products, but an order cannot contain both kit and non-kit products.

Get the product ID

An order for terminal products must contain the IDs of the products you want to order. To retrieve those IDs and decide what to order:
  1. Get the ID of the account you want to order products for. You need to specify that ID in the URL of later requests.
    • For the company ID, make a GET /companies request.
    • For the merchant ID, make a GET /merchants request.
  2. Get a list of payment terminal models you can order for your company or merchant account. Use the following endpoints: Get model list for a merchant account

    curl

    Java

    PHP

    C#

    NodeJS (JavaScript)

    Go

    Python

    Ruby

    NodeJS (TypeScript)

    The response returns the id and name of the various models. You can use the id as a query parameter to filter the product list in the next step. Model list
  3. Get a list of products you can order for your company or merchant account. Use the following endpoints, with the country as a query parameter: These are the query parameters to filter the paginated response: The following example retrieves a list of all products related to the V400m payment terminal that can be ordered for a merchant account in France. Get product list by terminal model for a French merchant account

    curl

    Java

    PHP

    C#

    NodeJS (JavaScript)

    Go

    Python

    Ruby

    NodeJS (TypeScript)

  4. When you receive the response, save the id values of the products you want to order. The next example shows the response for the GET merchants/{merchantId}/terminalProducts?country=FR&terminalModelId=Verifone.V400m request (prices have been changed to 0.00 in the example). Products related to a terminal model

Get the billing entity ID

An order for terminal products must contain the ID of a billing entity. This is the legal entity where we charge the order to. We create billing entities for you based on the details provided when you applied for your company and merchant accounts. When ordering products in Brazil, you do not need to provide a billing entity ID.
  1. Get the billing entity ID for your company or merchant account. Use the following endpoints: You can filter the response using the name of the billing entity as the query parameter: Get billing entities for a company

    curl

    Java

    PHP

    C#

    NodeJS (JavaScript)

    Go

    Python

    Ruby

    NodeJS (TypeScript)

  2. When you receive the response, save the id of the billing entity to use in your order. The response also returns the name, taxId (VAT number) and contact details for each billing entity. Billing entity list

Get the shipping location ID

An order for terminal products must contain the ID of a shipping location. This is the street address of the location where you want us to send the order to.

New shipping location

  1. To create a shipping location for your company or merchant account, use the following endpoints: Specify the following parameters in the request body: Create shipping location

    curl

    Java

    PHP

    C#

    NodeJS (JavaScript)

    Go

    Python

    Ruby

    NodeJS (TypeScript)

  2. When you receive the response, note the following details:
    • id: The generated shipping location ID. Save this ID because you need to specify it when you order terminal products.
    • name: Your reference for this location. You can use the reference to filter the list of shipping locations.
    Shipping location created
If your next step after creating a new shipping location is to create an order for the new location, wait a few seconds before sending the order creation request.

Existing shipping locations

  1. To get a list of existing shipping locations for your company or merchant account, use the following endpoints: You can filter the paginated response using the following query parameters: Get shipping locations for a merchant account

    curl

    Java

    PHP

    C#

    NodeJS (JavaScript)

    Go

    Python

    Ruby

    NodeJS (TypeScript)

  2. When you receive the response, save the id of the shipping location to use in your order. Shipping locations list

Create a terminal order

Use this request to order live terminals or hardware kits for your company or merchant account. Requests to the Management API test endpoint do not create actual orders for test terminals. To order test terminals, you need to submit a sales order in your test Customer Area.
  1. Make sure that you have the following details: If the order includes a new shipping location, wait a few seconds after creating the new location before sending the order creation request.
  2. To create an order for your company or merchant account, use the following endpoints: Specify the following parameters in the request body: The next example places an order for one V400m terminal and 20 receipt rolls. Place a terminal order

    curl

    Java

    PHP

    C#

    NodeJS (JavaScript)

    Go

    Python

    Ruby

    NodeJS (TypeScript)

    The response echoes the parameters you provided and additionally includes the id and status of your order, the date and time you placed the order, and the full details of the billing entity and the shipping location. Order placed
When an order reaches the status Shipped, the response also includes a URL where you can track your order.

Terminal order updates

To stay informed about your order, you can subscribe to Terminal order update webhooks. These webhooks are triggered at certain steps in the logistical process. The webhooks contain information such as shipment date, terminal serial numbers, and track & trace number. We send these platform webhooks as an HTTP callback (webhook) to your server. We also keep you up to date on the status of your order through email messages and in your Customer Area > Orders and returns.

Manage orders

You can view , update, and cancel orders using API requests. However, updating and canceling is only allowed while the order has the status Placed. This indicates we haven’t started processing the order yet.

View orders

You can use the /terminalOrders endpoint to check which orders can still be updated or cancelled, and to get the ID of those orders. To keep up to date on the progress of your order, we recommend using Terminal order update webhooks.

List of orders

  • To get the details of all orders for your company or merchant account, use the following endpoints: You can filter the paginated response using the following query parameters: Get a list of placed orders for a merchant account

    curl

    Java

    PHP

    C#

    NodeJS (JavaScript)

    Go

    Python

    Ruby

    NodeJS (TypeScript)

    The response returns an array of orders sorted by order date in ascending order. For each order, all order details are included.

Individual order

  • To get the details of an individual order for your company or merchant account, use the following endpoints: Get the details of a specific order

    curl

    Java

    PHP

    C#

    NodeJS (JavaScript)

    Go

    Python

    Ruby

    NodeJS (TypeScript)

    The response returns all order details.

Update an order

While an order has the status Placed, you can change the order items, the shipping location, and the billing entity. The request body only needs to contain what you want to change. However, to update the items array, you need to replace the entire array. For example, let’s assume the array has three items. To remove one item, the array must include the remaining two items. Or to add one item, the array must include all four items.
  1. Get the ID of the order you want to update and check that the order has the status Placed.
  2. To update the order for your company or merchant account, use the following endpoints: Specify the following optional parameters in the request body as needed: The next request removes the 20 receipt rolls from our example order 7219627091701347 by listing only the remaining order item, and changes the billing entity. Update order items and billing entity

    curl

    Java

    PHP

    C#

    NodeJS (JavaScript)

    Go

    Python

    Ruby

    NodeJS (TypeScript)

    The response returns all order details. Order updated

Cancel an order

While an order has the status Placed, you can revoke the order.
  1. Get the ID of the order you want to cancel and check that the order has the status Placed.
  2. To cancel an order for your company or merchant account, use the following endpoints: Do not specify a request body. The next request cancels our example order 7219627091701347. Cancel a placed terminal order

    curl

    Java

    PHP

    C#

    NodeJS (JavaScript)

    Go

    Python

    Ruby

    NodeJS (TypeScript)

  3. The response returns all order details, but now the status is changed to Cancelled. Order cancelled

See also