Merchants

The following endpoints allow you to view and manage your merchant records.

Get merchants

get

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

Authorizations
AuthorizationstringRequired

API key generated in Clym Partner Portal.

Query parameters
is_registeredbooleanOptional

If specified, filters results based on whether a domain is linked to those merchants

Responses
chevron-right
200

An array with all partner merchants

application/json
get
/portal/merchants
200

An array with all partner merchants

Create merchant

post

Create a new merchant in your partner account

Authorizations
AuthorizationstringRequired

API key generated in Clym Partner Portal.

Body
merchant_idstring · max: 204Required

Your merchant id

company_namestringOptional

The company name

Example: My Company Inc
descriptionstringOptional

An optional description for this merchant

Example: Merchant one
metaobjectOptional

Optional key-value object containing merchant metadata

Example: {"iso_id":"id"}
Responses
chevron-right
200

Merchant added to the partner account

application/json
post
/portal/merchants
200

Merchant added to the partner account

Get merchant

get

Retrieve information about a single merchant

Authorizations
AuthorizationstringRequired

API key generated in Clym Partner Portal.

Path parameters
merchantIdstringRequired

Merchant id

Responses
chevron-right
200

The partner domain information

application/json
get
/portal/merchants/{merchantId}
200

The partner domain information

Update merchant

put

Update information about a merchant

Authorizations
AuthorizationstringRequired

API key generated in Clym Partner Portal.

Path parameters
merchantIdstringRequired

Merchant id

Body
merchant_idstringOptional

The new merchant id to use

Example: my-merchant-id
company_namestringOptional

The company legal name to use

Example: My Company Inc
descriptionstringOptional

Optional merchant description

Example: My merchant description
metaobjectOptional

Optional key-value object containing merchant metadata

Example: {"iso_id":"id"}
domain_idstring · nullableOptional

The domain id to attach to this merchant. If set to null, it will unassign the domain from the merchant.

Example: dadcc24837ff49a2b409b288ur0tdpfd
Responses
chevron-right
200

Acknowledgement that request was successful.

application/json
put
/portal/merchants/{merchantId}
200

Acknowledgement that request was successful.

Delete merchant

delete

Completely delete the merchant and associated domain (if any) from your partner account

Authorizations
AuthorizationstringRequired

API key generated in Clym Partner Portal.

Path parameters
merchantIdstringRequired

Merchant id

Responses
chevron-right
200

Merchant deletion confirmation

application/json
delete
/portal/merchants/{merchantId}
200

Merchant deletion confirmation

Bulk create merchants

post

Create up to 200 merchants in bulk with a single API call

Authorizations
AuthorizationstringRequired

API key generated in Clym Partner Portal.

Body
Responses
chevron-right
200

Acknowledgement that request was successful.

application/json
post
/portal/merchants/bulk/create
200

Acknowledgement that request was successful.

Bulk delete merchants

post

Delete up to 200 merchants in bulk with a single API call

Authorizations
AuthorizationstringRequired

API key generated in Clym Partner Portal.

Body
merchantsstring[]Required

Merchant id

Responses
chevron-right
200

Acknowledgement that request was successful.

application/json
post
/portal/merchants/bulk/delete
200

Acknowledgement that request was successful.

Last updated