Merchant Account - Update
Update Merchant Details.
PUT /v2/merchant-accounts/{id}
Request
Authorization
Path parameter
id (string, required) — The unique identifier for the merchant account.
Body (application/json)
merchant_name (string | null) — Name of the Merchant Account. Example:
"NewAge Retailer"merchant_details (object) — See child attributes in API reference.
metadata (object) — Metadata is useful for storing additional, unstructured information on an object.
Example cURL
curl --request PUT \
--url https://sandbox.hyperswitch.io/v2/merchant-accounts/{id} \
--header 'Content-Type: application/json' \
--header 'api-key: <api-key>' \
--data '
{
"merchant_details": {
"primary_contact_person": "John Doe",
"primary_email": "[email protected]"
}
}
'Response
200 (application/json) — Merchant Account Updated
Example response:
Schema notes / field details
id (string) — The identifier for the Merchant Account. Max length: 64. Example:
"y3oqhf46pyzuxjbcn2giaqnb44"merchant_name (string) — Name of the Merchant Account. Example:
"NewAge Retailer"publishable_key (string) — API key for server-side API access. Example:
"AH3423bkjbkjdsfbkj"organization_id (string) — ID of the organization associated with the merchant. Required length: 1 - 64. Example:
"org_q98uSGAYbjEwqs0mJwnz"recon_status (enum) — One of:
not_requested,requested,active,disabledmerchant_details (object) — Contains merchant contact, address, tax id, etc.
metadata (object) — Additional unstructured information.
product_type (enum) — One of:
orchestration,vault,recon,recovery,cost_observability,dynamic_routing
Links
Documentation: https://api-reference.hyperswitch.io/introduction
Locker API Reference: https://api-reference.hyperswitch.io/locker-api-reference/overview
Intelligent Router API Reference: https://api-reference.hyperswitch.io/intelligent-router-api-reference/overview
Suggest edits: https://github.com/juspay/hyperswitch/edit/main/api-reference/v2/merchant-account/merchant-account--update.mdx Raise issue: https://github.com/juspay/hyperswitch/issues/new?title=Issue%20on%20docs&body=Path:%20/v2/merchant-account/merchant-account--update
Was this page helpful? Yes / No