---
title: "1) Creates a Stripe Connect Account 2) Creates a gateway account in connector and links this with the Stripe Connect Account id 3) Disables the old sandbox account"
method: POST
path: "/v1/api/service/{serviceId}/request-stripe-test-account"
tags: ["Gateway accounts"]
---

# 1) Creates a Stripe Connect Account 2) Creates a gateway account in connector and links this with the Stripe Connect Account id 3) Disables the old sandbox account

`POST /v1/api/service/{serviceId}/request-stripe-test-account`

## Request

- The document declares no server URL.
- Auth: none declared

## Path parameters

- `serviceId` string, required

## Response `201`

OK

## Other responses

- `404`: Not found - Account with serviceId does not exist
- `409`: Stripe Connect Account already exists, or existing test account is not a Sandbox one

## Changes

- **2024-08-15** `d17fb88f26e9`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/government-digital-service/apis/connector-api/changes/v1/api/service/:serviceId/request-stripe-test-account/post.md)

---

[API](https://skmtc.dev/government-digital-service/apis/connector-api.md) - [All operations](https://skmtc.dev/government-digital-service/apis/connector-api/llms.txt) - [OpenAPI document](https://skmtc.dev/government-digital-service/apis/connector-api/revisions/7f294e492d3c?raw)
