> For the complete documentation index, see [llms.txt](https://magicpay.gitbook.io/magicpay-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://magicpay.gitbook.io/magicpay-documentation/merchants/update-merchants.md).

# Update Merchants

## 8.2 Update Merchants

**Request**

| Method | URL                                         |
| ------ | ------------------------------------------- |
| PATCH  | /merchant/v1/update-merchant/{merchant\_id} |

Copy

```
{
  "name": "Updated Company Name",
  "website": "http://www.merchantwebsite.com",
  "email": "merchant744@example.com",
  "emailConfirmationToken": "s1ome_token",
  "emailConfirmationTokenExpireDate": "2023-01-25T12:00:00",
  "legalCompanyTitle": "Legal Title",
  "incomeIban": "TR124516789012345678901234",
  "businessType": "Retail",
  "businessInfo": "Business Inf1ormation",
  "onboardingStatus": "Completed",
  "companyType": "LLC",
  "taxOffice": "Tax Office",
  "taxNumber": "12345671890",
  "address": "Merchant Address",
  "phoneNumber": "+12345678190",
  "invoiceEmail": "invoice@example.com",
  "contactName": "Johnyy",
  "contactSurname": "Doe",
  "contactEmail": "contact@example.com",
  "contactPhoneNumber": "+1234567890",
  "settlementDelayCount": 7,
  "settlementPeriod": "Weekly",
  "threedsVerificationType": "SomeType",
  "autoItemApprovalEnabled": true,
  "dailyTransactionReportsEnabled": true,
  "skipPosAliasAccordingToRouterState": true,
  "threeDsCallbackKey": "callback_key",
  "webhookKey": "webhook_key",
  "logoUrl": "http://www.merchantlogo.com/logo.png",
  "singleInstallmentPosRoutingRule": "SomeRule",
  "successPaymentEnabled": true,
  "failurePaymentEnabled": true,
  "successRefundEnabled": true,
  "failureRefundEnabled": true,
  "successRefundTxEnabled": true,
  "failureRefundTxEnabled": true,
  "unresolvedNoResponseEnabled": true,
  "walletEnabled": true,
  "cardRegisterEnabled": true,
  "marketplaceEnabled": true,
  "payByLinkEnabled": true,
  "masterpassEnabled": true,
  "multicurrencyEnabled": true,
  "fraudCheckEnabled": true,
  "emailNotificationEnabled": true,
  "proactiveMonitoringEnabled": true,
  "autopilotEnabled": true,
  "crossBorderSettlementEnabled": true,
  "paymentInstitutionsEnabled": true,
  "apmsEnabled": true,
  "files": ["1", "file2"],
  "is_active": true
}
```

**Response**

| Status | Response                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| ------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 200    | <p>{</p><p>"data": {</p><p>"merchant": {</p><p>"name": "Updated Company Name",</p><p>"is\_active": true,</p><p>"createdDate": "2023-10-05T22:11:49.966993",</p><p>"deletedDate": null,</p><p>"id": 1,</p><p>"mobile\_app": true,</p><p>"business\_info": "Business Inf1ormation",</p><p>"subscription\_enabled": false,</p><p>"updatedDate": "2024-01-26T12:03:53.635464"</p><p>},</p><p>"merchant\_details": {</p><p>"legal\_company\_title": "Legal Title",</p><p>"phone\_number": "+12345678190",</p><p>"createdDate": "1990-01-01T00:00:00",</p><p>"name": "Updated Company Name",</p><p>"income\_iban": "TR124516789012345678901234",</p><p>"invoice\_email": "<invoice@example.com>",</p><p>"website": "<http://www.merchantwebsite.com>",</p><p>"business\_type": "Retail",</p><p>"contact\_name": "Johnyy",</p><p>"deletedDate": null,</p><p>"onboarding\_status": "Completed",</p><p>"contact\_surname": "Doe",</p><p>"updatedDate": "2024-01-26T12:03:53.635464",</p><p>"email": "<merchant744@example.com>",</p><p>"company\_type": "LLC",</p><p>"contact\_email": "<contact@example.com>",</p><p>"tax\_office": "Tax Office",</p><p>"contact\_phone\_number": "+1234567890",</p><p>"email\_confirmation\_token": "s1ome\_token",</p><p>"tax\_number": "12345671890",</p><p>"files": \[</p><p>"1",</p><p>"file2"</p><p>],</p><p>"merchant\_id": 1,</p><p>"id": 5,</p><p>"email\_confirmation\_token\_expire\_date": "2023-01-25T12:00:00",</p><p>"address": "Merchant Address"</p><p>},</p><p>"merchant\_settings": {</p><p>"settlement\_period": "Weekly",</p><p>"id": 1,</p><p>"threeds\_verification\_type": "SomeType",</p><p>"daily\_transaction\_reports\_enabled": true,</p><p>"three\_ds\_callback\_key": "callback\_key",</p><p>"logo\_url": "<http://www.merchantlogo.com/logo.png>",</p><p>"createdDate": null,</p><p>"deletedDate": null,</p><p>"settlement\_delay\_count": 7,</p><p>"merchant\_id": 1,</p><p>"auto\_item\_approval\_enabled": true,</p><p>"skip\_pos\_alias\_according\_to\_router\_state": true,</p><p>"webhook\_key": "webhook\_key",</p><p>"single\_installment\_pos\_routing\_rule": "SomeRule",</p><p>"updatedDate": "2024-01-26T12:03:53.635464"</p><p>},</p><p>"merchant\_email\_notification\_settings": {</p><p>"failure\_payment\_enabled": true,</p><p>"id": 1,</p><p>"failure\_refund\_enabled": true,</p><p>"failure\_refund\_tx\_enabled": true,</p><p>"createdDate": null,</p><p>"deletedDate": null,</p><p>"success\_refund\_enabled": true,</p><p>"success\_payment\_enabled": true,</p><p>"merchant\_id": 1,</p><p>"success\_refund\_tx\_enabled": true,</p><p>"unresolved\_no\_response\_enabled": true,</p><p>"updatedDate": "2024-01-26T12:03:53.635464"</p><p>},</p><p>"merchant\_features": {</p><p>"card\_register\_enabled": true,</p><p>"id": 1,</p><p>"pay\_by\_link\_enabled": true,</p><p>"multicurrency\_enabled": true,</p><p>"email\_notification\_enabled": true,</p><p>"autopilot\_enabled": true,</p><p>"payment\_institutions\_enabled": true,</p><p>"createdDate": null,</p><p>"deletedDate": null,</p><p>"marketplace\_enabled": true,</p><p>"merchant\_id": 1,</p><p>"wallet\_enabled": true,</p><p>"masterpass\_enabled": true,</p><p>"fraud\_check\_enabled": true,</p><p>"proactive\_monitoring\_enabled": true,</p><p>"cross\_border\_settlement\_enabled": true,</p><p>"apms\_enabled": true,</p><p>"updatedDate": "2024-01-26T12:03:53.635464"</p><p>}</p><p>}</p><p>}</p> |
| 403    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| 400    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| 401    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| 401    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| 500    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |

[<br>](https://hilals-organization.gitbook.io/magicpay-documentation/8.-merchants/8.1-create-merchants)
