Update POS By Id

10.4 Update POS By Id

Request

Method

URL

PUT

/merchant/v1/merchant-poses/{pos_id}

Copy

{
    "name": "Updated Merchant POS Name",
    "clientId": "UpdatedClientId",
    "threedsKey": "UpdatedThreedsKey",
    "merchantPosUsers": [
        {
            "posUsername": "user1",
            "posOperationType": "OperationType1",
            "posUserType": "UserType1"
        },
        {
            "posUsername": "user2",
            "posOperationType": "OperationType2",
            "posUserType": "UserType2"
        }
    ],
    "mode": "Test",
    "hostname": "updated-example.com",
    "path": "/updated-payment",
    "threedsPath": "/updated-threeds",
    "enableForeignCard": true,
    "enableInstallment": true,
    "enablePaymentWithoutCvc": true,
    "orderNumber": 456,
    "port": 8080,
    "enabledPaymentAuthenticationTypes": [
        "AuthType1",
        "AuthType2"
    ],
    "supportedCardAssociations": [
        "MasterCard",
        "AmericanExpress"
    ]
}

Response

Status

Response

200

{

"data": {

"id": 18,

"status": "ACTIVE",

"name": "Updated Merchant POS Name",

"alias": "integrator_value-18",

"posIntegrator": "integrator_value",

"hostname": "updated-example.com",

"clientId": "UpdatedClientId",

"posCurrencyCode": "TRY",

"mode": "Test",

"path": "/updated-payment",

"port": "8080",

"threedsKey": "UpdatedThreedsKey",

"threedsPath": "/updated-threeds",

"forceThreeDs": "1958465",

"enableForeignCard": true,

"enableInstallment": true,

"enablePaymentWithoutCvc": true,

"newIntegration": false,

"orderNumber": "456",

"currency": "TRY",

"bankId": 1,

"bankName": "updated-example.com",

"isPf": false,

"merchantPosUsers": [

{

"id": 15,

"posUsername": "Halim Demir",

"posUserType": "PERSONAL",

"posOperationType": ""

},

{

"id": 1,

"posUsername": "Subs",

"posUserType": "PERSONAL",

"posOperationType": ""

},

{

"id": 4,

"posUsername": "Hilal Balcı",

"posUserType": "PERSONAL",

"posOperationType": ""

},

{

"id": 73,

"posUsername": "-",

"posUserType": "PERSONAL",

"posOperationType": ""

}

],

"supportedCardAssociations": [

"MasterCard",

"AmericanExpress"

],

"enabledPaymentAuthenticationTypes": [

"AuthType1",

"AuthType2"

]

}

}

403

400

401

401

500

Last updated