Integrations
Manage integrations used by ChargebackStop APIs.
This endpoint set currently supports creating and managing CUSTOM_ORDERS integrations, and listing all integrations your API key can access.
Base URL: https://api.chargebackstop.com/v1/integrations/
Authentication: Bearer token via API key.
This endpoint set supports both organisation-level and partner-level keys.
integrations:read and integrations:write are enabled automatically for every API key.
integrations:readfor GET endpointsintegrations:writefor POST and PATCH endpoints
Access scope model:
Organisation-level keys can access integrations for their own organisation only.
Admin partner-group keys can access integrations across all organisations for their partner.
Non-admin partner-group keys can access integrations only for organisations assigned to their group.
GET /v1/integrations - List integrations
Returns integrations from organisations accessible to the API key.
API level: Organisation-level and Partner-level
Authentication: integrations:read
Query parameters
No custom filters are currently supported.
Pagination parameters are supported:
limit
integer
Number of results per page
offset
integer
Number of results to skip
Example 1 request (partner-level key)
Example 1 response (partner-level key)
Example 2 request (organisation-level key)
Example 2 response (organisation-level key)
POST /v1/integrations - Create integration
Create a new integration.
API level: Organisation-level and Partner-level
Authentication: integrations:write
Request body
organisation_id
string
Yes
Must be accessible by API key
Organisation that owns the integration
name
string
Yes
1-255 chars
Integration display name
type
string
Yes
Must be CUSTOM_ORDERS
Integration type
status
string
No
ENABLED or DISABLED
Initial integration status
merchant_ids
array[string]
Yes
Non-empty, unique, all merchants must belong to organisation_id and be accessible
Merchants linked to this integration
Status behavior on create:
If
statusis omitted, integrations are created withstatus: ENABLED.
Example 3 request
Example 3 response
GET /v1/integrations/{integration_id} - Get integration by ID
Retrieve a single integration by ID.
API level: Organisation-level and Partner-level
Authentication: integrations:read
URL parameters
integration_id
string
Integration ID
Example 4 request
Example 4 response
PATCH /v1/integrations/{integration_id} - Update integration
Update an existing integration.
API level: Organisation-level and Partner-level
Authentication: integrations:write
Important behavior
statusupdates are only allowed forCUSTOM_ORDERSintegrations.The only allowed status value in PATCH is
DISABLED.namecan be updated.You must provide at least one of
statusorname.
URL parameters
integration_id
string
Integration ID to update
Request body
status
string
No
DISABLED only; only for CUSTOM_ORDERS integrations
New integration status
name
string
No
1-255 chars
New integration name
Example 5 request
Example 5 response
Common error responses
Other business validation codes you may receive:
DUPLICATE_MERCHANT_IDS
merchant_ids contains duplicate values
INVALID_MERCHANT_IDS
One or more merchants do not exist, are inaccessible, or do not belong to the provided organisation
INVALID_INTEGRATION_TYPE
PATCH attempted on a non-CUSTOM_ORDERS integration
MISSING_UPDATE_FIELDS
PATCH request did not include either status or name
Last updated
Was this helpful?