Terminals

Before creating a terminal, you must first authenticate.

Create Terminal

Creation a new Terminal under a Merchant account using this API endpoint:

Example request body:

{
  "merchantId": "663d0161236bd8a202b82028",
  "cryptoPaymentGateways": [
    {
      "id": 1,
      "paymentProcessorId": "654846dhda35f02d28aed26a",
      "paymentGatewayType": 0,
      "apiCredentials": "123",
      "publicSecurityKey": "test",
      "paymentCurrencyIds": [
        1000,1007,1009,1001
      ],
      "optionIds": [
        "pp_show_merchant_logo"
      ],
      "externalProps": {
        "system": 1
      },
      "isEnabled": true,
      "apiKey": "string",
      "apiSecret": "string"
    }
  ],
  "name": "Sample Terminal",
  "isEnabled": true
}

Example response:

{
  "merchantId": "663d0161326bd8a202b82028",
  "paymentGateways": [
    {
      "id": 1,
      "paymentProcessorId": "654846dgda35f02d28aed26a",
      "paymentGatewayType": 0,
      "apiCredentials": "123",
      "publicSecurityKey": "test",
      "paymentCurrencyIds": [
        1000,
        1007,
        1009,
        1001
      ],
      "optionIds": [
        "pp_show_merchant_logo"
      ],
      "externalProps": {
        "system": 1
      },
      "isEnabled": true
    }
  ],
  "name": "Sample Terminal",
  "isEnabled": true,
  "id": "663d025e236bd9a202b82029",
  "created": "2024-05-09T17:05:34Z",
  "updated": "2024-05-09T17:05:34.9934927Z"
}

Last updated