---
title: "Validate Stripe purchase"
method: POST
path: "/api/v1/sdk/purchase/stripe/token/validate/"
tags: ["Stripe"]
---

# Validate Stripe purchase

`POST /api/v1/sdk/purchase/stripe/token/validate/`

Validates a purchase using the provided Stripe token using the credentials of Stripe in your App Settings inside Adapty Dashboard. 
If the purchase is valid, the transaction history is imported from Stripe to the profile in Adapty with the specified customer_user_id. 
If there was no profile with this customer_user_id before — it will be created.

Profile events are generated along the way and imported transactions are counted towards MTR.

## Response `200`

Purchase validated successfully

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `500` — Internal server error

---

[API](https://skmtc.dev/adapty/apis/adapty-server-side-api.md) · [All operations](https://skmtc.dev/adapty/apis/adapty-server-side-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/adapty/adapty-server-side-api/revisions/abdc1c773a17/schema)
