Last updated 2 months ago
Before creating a terminal, you must first authenticate.
Creation a new Terminal under a Merchant location using this API endpoint:
/Locations/{locationId}/terminals
OK
curl -L \ --request POST \ --url '/Locations/{locationId}/terminals' \ --header 'Content-Type: application/json' \ --data '[{"isEnabled":true,"cryptoPaymentGateways":[{"id":1,"paymentProcessorId":"text","apiCredentials":"text","isEnabled":true,"apiKey":"text","apiSecret":"text","paymentCurrencyIds":[null],"optionIds":[null],"paymentGatewayType":"crypto","externalProps":{"system":"fenex","additionalData":"[Circular Reference]"}}],"cardPaymentGateways":[{"id":1,"paymentProcessorId":"text","apiCredentials":"text","isEnabled":true,"apiKey":"text","paymentCurrencyIds":[null],"optionIds":[null],"paymentGatewayType":"crypto","externalProps":{"system":"fenex","additionalData":"[Circular Reference]"}}]}]'
[ { "login": "text", "password": "text", "terminal": { "id": "text", "created": "2025-02-17T07:36:40.241Z", "updated": "2025-02-17T07:36:40.241Z", "merchantId": "text", "merchantLocationId": "text", "name": "text", "description": "text", "webhookUrl": "https://example.com", "webhookSecretEncrypted": "text", "isEnabled": true, "paymentGateways": [ { "id": 1, "paymentProcessorId": "text", "apiCredentials": "text", "publicSecurityKey": "text", "isEnabled": true, "paymentCurrencyIds": [ 1 ], "optionIds": [ "text" ], "paymentGatewayType": "crypto", "externalProps": "[Circular Reference]" } ] } } ]