Create a Close Reason

Adds a close reason to the tenant's list. The new reason is active and available for new closures. In Backoffice, users select it in the Close Reason window. Through the API, send its id as closeReasonId when closing a submerchant with Disable a Submerchant or Update Submerchant Information.

Each close reason must be unique, and capitalization is ignored when checking, so "Fraud" and "fraud" count as the same reason.

If the text matches a deactivated close reason, no new reason is created. Instead, the deactivated reason is reactivated, and the response returns it with its original id and text.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The tenant identifier.

Body Params
string
required
length ≤ 200

The text of the close reason, up to 200 characters. Must contain characters other than spaces.

Headers
string
required

The API key id used to authenticate and authorize your request to Infinicept. API keys are managed within your Backoffice tenant.

string
required

The API key value used to authenticate and authorize your request to Infinicept. API keys are managed within your Backoffice tenant.

string
enum
Defaults to application/json-patch+json

Generated from available request content types

Allowed:
Responses

400

Bad Request

404

Not Found

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json