---
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

---

[API](https://skmtc.net/government-digital-service/apis/adminusers-api.md) · [All operations](https://skmtc.net/government-digital-service/apis/adminusers-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/government-digital-service/adminusers-api/versions/17f1bf916172/schema)
