---
title: "Record acceptance of Stripe terms"
method: POST
path: "/v1/api/services/{serviceExternalId}/stripe-agreement"
tags: ["Services"]
---

# Record acceptance of Stripe terms

`POST /v1/api/services/{serviceExternalId}/stripe-agreement`

Records that a GOV.UK Pay agreement has been accepted for the service.

## Path parameters

- `serviceExternalId` string, required

## Request body

- StripeAgreementRequest
  - `ip_address` string, required

## Response `200`

Stripe agreement already created

## Other responses

- `201` — Created
- `422` — Invalid JSON payload or IP address

## Changes

- **2023-09-13** `0e33f22825b4` — 2 info
  - removed the non-success response with the status `409`
  - added the success response with the status `200`

[Change history](https://skmtc.dev/government-digital-service/apis/adminusers-api/changes/v1/api/services/:serviceExternalId/stripe-agreement/post.md)

---

[API](https://skmtc.dev/government-digital-service/apis/adminusers-api.md) · [All operations](https://skmtc.dev/government-digital-service/apis/adminusers-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/government-digital-service/adminusers-api/revisions/8f9d543f352b/schema)
