10.1 Create POS

Request

Method

URL

POST

/merchant/v1/merchant-poses/

{
  "allowedHostnames": ["example.com"],
  "bankId": 123,
  "bankName": "Bank Name",
  "currency": "USD",
  "enableForeignCard": true,
  "enableInstallment": true,
  "enablePaymentWithoutCvc": false,
  "enabledPaymentAuthenticationTypes": ["AuthType1", "AuthType2"],
  "hostname": "example-host",
  "id": 456,
  "merchantPosUsers": [
    {
      "posUsername": "user1",
      "posOperationType": "OperationType1",
      "posUserType": "UserType1"
    },
    {
      "posUsername": "user2",
      "posOperationType": "OperationType2",
      "posUserType": "UserType2"
    }
  ],
  "mode": "Test",
  "name": "MerchantPOS Name",
  "orderNumber": 789,
  "path": "/payment",
  "posCurrencyCode": "USD",
  "posIntegrator": "IntegratorName",
  "status": "ACTIVE",
  "supportedCardAssociations": ["Visa", "MasterCard"]
}

Response

Status

Response

200

{

"message": "Merchant pos successfully created",

"data": {

"data": {

"id": 131,

"status": "ACTIVE",

"name": "MerchantPOS Name",

"alias": "",

"posIntegrator": "IntegratorName",

"hostname": "example-host",

"clientId": "Bank Name",

"posCurrencyCode": "USD",

"mode": "P",

"path": "/payment",

"port": null,

"threedsKey": "/payment",

"threedsPath": null,

"forceThreeDs": false,

"enableForeignCard": true,

"enableInstallment": true,

"enablePaymentWithoutCvc": true,

"newIntegration": false,

"orderNumber": "789",

"currency": "USD",

"bankId": 123,

"bankName": "Bank Name",

"isPf": false,

"merchantPosUsers": [

{

"id": 131,

"posUsername": "user1",

"posOperationType": "OperationType1",

"posUserType": "UserType1"

},

{

"id": 131,

"posUsername": "user2",

"posOperationType": "OperationType2",

"posUserType": "UserType2"

}

],

"supportedCardAssociations": [

"MASTER_CARD",

"VISA",

"TROY",

"AMEX"

],

"enabledPaymentAuthenticationTypes": [

"THREE_DS",

"NON_THREE_DS"

]

}

}

}

403

400

401

401

500

Last updated