Skip to content

REST API v2. Authenticate with a Bearer JWT in the Authorization header unless an endpoint is marked public.

Servers​

https://v2-staging.tscheckout.comCurrent host

List third party accounts​

GET
/api/v2/settings/third-party-accounts

Returns a searchable paginated list of third party accounts

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Responses​

Third party account list

application/json
JSON
{
  
"count": 10,
  
"totalCount": 25,
  
"limit": 50,
  
"offset": 25,
  
"data": [
  
]
}

Playground​

Authorization

Samples​


Create third party account​

POST
/api/v2/settings/third-party-accounts

Create a new third party account

Authorizations​

bearerAuth
Type
HTTP (bearer)

Request Body​

application/json
JSON
"string"

Responses​

Created third party account

application/json
JSON
{
  
"data": "string"
}

Playground​

Authorization
Body

Samples​


Get third party account by ID​

GET
/api/v2/settings/third-party-accounts/{id}

Returns a single third party account by ID

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Path Parameters

id*

Third party account ID

Type
integer
Required
Format
"int64"

Responses​

Third party account object

application/json
JSON
{
  
"data": "string"
}

Playground​

Authorization
Variables
Key
Value

Samples​


Delete third party account​

DELETE
/api/v2/settings/third-party-accounts/{id}

Delete a third party account

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Path Parameters

id*

Third party account ID

Type
integer
Required
Format
"int64"

Responses​

Third party account deleted successfully

Playground​

Authorization
Variables
Key
Value

Samples​


Update third party account​

PATCH
/api/v2/settings/third-party-accounts/{id}

Update an existing third party account

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Path Parameters

id*

Third party account ID

Type
integer
Required
Format
"int64"

Request Body​

application/json
JSON
"string"

Responses​

Updated third party account

application/json
JSON
{
  
"data": "string"
}

Playground​

Authorization
Variables
Key
Value
Body

Samples​


Bulk delete third party accounts​

POST
/api/v2/settings/third-party-accounts/bulk-delete

Deletes multiple third party accounts

Authorizations​

bearerAuth
Type
HTTP (bearer)

Request Body​

application/json
JSON
{
  
"ids": [
  
  
[
  
  
  
1,
  
  
  
2,
  
  
  
3
  
  
]
  
]
}

Responses​

Third party accounts deleted successfully

Playground​

Authorization
Body

Samples​


Powered by VitePress OpenAPI