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
{
"data": {
"merchant": {
"name": "Updated Company Name",
"is_active": true,
"createdDate": "2023-10-05T22:11:49.966993",
"deletedDate": null,
"id": 1,
"mobile_app": true,
"business_info": "Business Inf1ormation",
"subscription_enabled": false,
"updatedDate": "2024-01-26T12:03:53.635464"
},
"merchant_details": {
"legal_company_title": "Legal Title",
"phone_number": "+12345678190",
"createdDate": "1990-01-01T00:00:00",
"name": "Updated Company Name",
"income_iban": "TR124516789012345678901234",
"invoice_email": "invoice@example.com",
"website": "http://www.merchantwebsite.com",
"business_type": "Retail",
"contact_name": "Johnyy",
"deletedDate": null,
"onboarding_status": "Completed",
"contact_surname": "Doe",
"updatedDate": "2024-01-26T12:03:53.635464",
"email": "merchant744@example.com",
"company_type": "LLC",
"contact_email": "contact@example.com",
"tax_office": "Tax Office",
"contact_phone_number": "+1234567890",
"email_confirmation_token": "s1ome_token",
"tax_number": "12345671890",
"files": [
"1",
"file2"
],
"merchant_id": 1,
"id": 5,
"email_confirmation_token_expire_date": "2023-01-25T12:00:00",
"address": "Merchant Address"
},
"merchant_settings": {
"settlement_period": "Weekly",
"id": 1,
"threeds_verification_type": "SomeType",
"daily_transaction_reports_enabled": true,
"three_ds_callback_key": "callback_key",
"logo_url": "http://www.merchantlogo.com/logo.png",
"createdDate": null,
"deletedDate": null,
"settlement_delay_count": 7,
"merchant_id": 1,
"auto_item_approval_enabled": true,
"skip_pos_alias_according_to_router_state": true,
"webhook_key": "webhook_key",
"single_installment_pos_routing_rule": "SomeRule",
"updatedDate": "2024-01-26T12:03:53.635464"
},
"merchant_email_notification_settings": {
"failure_payment_enabled": true,
"id": 1,
"failure_refund_enabled": true,
"failure_refund_tx_enabled": true,
"createdDate": null,
"deletedDate": null,
"success_refund_enabled": true,
"success_payment_enabled": true,
"merchant_id": 1,
"success_refund_tx_enabled": true,
"unresolved_no_response_enabled": true,
"updatedDate": "2024-01-26T12:03:53.635464"
},
"merchant_features": {
"card_register_enabled": true,
"id": 1,
"pay_by_link_enabled": true,
"multicurrency_enabled": true,
"email_notification_enabled": true,
"autopilot_enabled": true,
"payment_institutions_enabled": true,
"createdDate": null,
"deletedDate": null,
"marketplace_enabled": true,
"merchant_id": 1,
"wallet_enabled": true,
"masterpass_enabled": true,
"fraud_check_enabled": true,
"proactive_monitoring_enabled": true,
"cross_border_settlement_enabled": true,
"apms_enabled": true,
"updatedDate": "2024-01-26T12:03:53.635464"
}
}
}
403
400
401
401
500
Last updated