ManagementTerminal ordersTerminal orders merchant level

Get a list of billing entities

GET
/merchants/{merchantId}/billingEntities

Returns the billing entities of the merchant account identified in the path. A billing entity is a legal entity where we charge orders to. An order for terminal products must contain the ID of a billing entity.

To make this request, your API credential must have one of the following roles:

  • Management API—Terminal ordering read
  • Management API—Terminal ordering read and write

In the live environment, requests to this endpoint are subject to rate limits.

Authorization

AuthorizationBasic <token>

In: header

Path Parameters

merchantId*string

The unique identifier of the merchant account.

Query Parameters

name?string

The name of the billing entity.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/merchants/string/billingEntities"

Example response with billing entities for a merchant account

{  "data": [    {      "id": "MerchantAccount.YOUR_MERCHANT_ACCOUNT",      "name": "YOUR_MERCHANT_ACCOUNT",      "taxId": "ES1234567890",      "email": "Pablo.Mengano@company.com",      "address": {        "streetAddress": "Paseo de la Castellana 43, 7",        "postalCode": "28046",        "city": "Madrid",        "country": "ES"      }    }  ]}