Merchants
The following endpoints allow you to view and manage your merchant records.
Retrieves a list of merchants available for your partner account. Merchants can also be filtered based on metadata information, using query string keys meta.{key}={value}, such as ?meta.iso_id=2
API key generated in Clym Partner Portal.
If specified, filters results based on whether a domain is linked to those merchants
An array with all partner merchants
GET /api/portal/merchants HTTP/1.1
Host: partners.clym.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
An array with all partner merchants
{
"meta": {
"current_page": 1,
"next_page": 1,
"prev_page": 1
},
"result": [
{
"id": "text",
"merchant_id": "text",
"company_name": "text",
"description": "text",
"created_at": "2025-12-06T19:31:40.271Z",
"registered_at": "2025-12-06T19:31:40.271Z",
"partner_id": "text",
"domain": {
"id": "text",
"hostname": "text",
"status": "text",
"is_active": true,
"created_at": "2025-12-06T19:31:40.271Z",
"activated_at": "2025-12-06T19:31:40.271Z",
"email": "[email protected]",
"source": "text"
},
"meta": {}
}
]
}Create a new merchant in your partner account
API key generated in Clym Partner Portal.
Your merchant id
The company name
My Company IncAn optional description for this merchant
Merchant oneOptional key-value object containing merchant metadata
{"iso_id":"id"}Merchant added to the partner account
POST /api/portal/merchants HTTP/1.1
Host: partners.clym.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 106
{
"merchant_id": "text",
"company_name": "My Company Inc",
"description": "Merchant one",
"meta": {
"iso_id": "id"
}
}Merchant added to the partner account
{
"result": {
"id": "1f19dbcbc7b84be5b40ffcc4ya0zqbtr",
"merchant_id": 1234556,
"company_name": "My Company Inc",
"meta": {},
"created_at": "2025-12-06T19:31:40.271Z"
}
}Retrieve information about a single merchant
API key generated in Clym Partner Portal.
Merchant id
The partner domain information
GET /api/portal/merchants/{merchantId} HTTP/1.1
Host: partners.clym.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
The partner domain information
{
"result": {
"id": "text",
"merchant_id": "text",
"company_name": "text",
"description": "text",
"created_at": "2025-12-06T19:31:40.271Z",
"registered_at": "2025-12-06T19:31:40.271Z",
"partner_id": "text",
"domain": {
"id": "text",
"hostname": "text",
"status": "text",
"is_active": true,
"created_at": "2025-12-06T19:31:40.271Z",
"activated_at": "2025-12-06T19:31:40.271Z",
"email": "[email protected]",
"source": "text"
},
"meta": {}
}
}Update information about a merchant
API key generated in Clym Partner Portal.
Merchant id
The new merchant id to use
my-merchant-idThe company legal name to use
My Company IncOptional merchant description
My merchant descriptionOptional key-value object containing merchant metadata
{"iso_id":"id"}The domain id to attach to this merchant. If set to null, it will unassign the domain from the merchant.
dadcc24837ff49a2b409b288ur0tdpfdAcknowledgement that request was successful.
PUT /api/portal/merchants/{merchantId} HTTP/1.1
Host: partners.clym.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 174
{
"merchant_id": "my-merchant-id",
"company_name": "My Company Inc",
"description": "My merchant description",
"meta": {
"iso_id": "id"
},
"domain_id": "dadcc24837ff49a2b409b288ur0tdpfd"
}Acknowledgement that request was successful.
{
"result": {
"id": "text",
"merchant_id": "text",
"company_name": "text",
"description": "text",
"created_at": "2025-12-06T19:31:40.271Z",
"registered_at": "2025-12-06T19:31:40.271Z",
"partner_id": "text",
"domain": {
"id": "text",
"hostname": "text",
"status": "text",
"is_active": true,
"created_at": "2025-12-06T19:31:40.271Z",
"activated_at": "2025-12-06T19:31:40.271Z",
"email": "[email protected]",
"source": "text"
},
"meta": {}
}
}Completely delete the merchant and associated domain (if any) from your partner account
API key generated in Clym Partner Portal.
Merchant id
Merchant deletion confirmation
DELETE /api/portal/merchants/{merchantId} HTTP/1.1
Host: partners.clym.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Merchant deletion confirmation
{
"result": {
"deleted": true
}
}Create up to 200 merchants in bulk with a single API call
API key generated in Clym Partner Portal.
Acknowledgement that request was successful.
POST /api/portal/merchants/bulk/create HTTP/1.1
Host: partners.clym.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 22
{
"merchants": [
"text"
]
}Acknowledgement that request was successful.
{
"result": {
"created": [
{
"id": "7301d95285824ae2b6c99e70zkyjssgp",
"merchant_id": "my-merchant-id",
"created_at": "2025-12-06T19:31:40.271Z"
}
],
"failed": [
{
"merchant_id": "my-merchant-id",
"error": {
"code": "DATA.INVALID_NAME",
"ns": "DATA",
"message": "text",
"status": 400,
"data": {}
}
}
]
}
}Delete up to 200 merchants in bulk with a single API call
API key generated in Clym Partner Portal.
Merchant id
Acknowledgement that request was successful.
POST /api/portal/merchants/bulk/delete HTTP/1.1
Host: partners.clym.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 22
{
"merchants": [
"text"
]
}Acknowledgement that request was successful.
{
"result": {
"deleted": [
{
"id": "7301d95285824ae2b6c99e70zkyjssgp",
"merchant_id": "my-merchant-id"
}
],
"failed": [
{
"merchant_id": "my-merchant-id",
"error": {
"code": "DATA.INVALID_NAME",
"ns": "DATA",
"message": "text",
"status": 400,
"data": {}
}
}
]
}
}Last updated

