---
title: "Create a Stripe one-off payment"
method: POST
path: "/blaize/payment/stripe/buy"
tags: ["Stripe Payments"]
---

# Create a Stripe one-off payment

`POST /blaize/payment/stripe/buy`

## Request

- Base URL: `https://demo-site`
- URL: `https://demo-site/blaize/payment/stripe/buy`
- Auth: one of:
  - API key in cookie `blaize_session`
  - API key in query parameter `jwt`
  - API key in header `x-blaize-jwt`
  - API key in header `x-zephr-jwt`
  - HTTP bearer
  - API key in cookie `blaize_jwt`

Uses the payment method collected by Stripe Elements to create a one off payment.

## Request body

- object
  - `product_id` string, required: Product ID/slug
  - `price_point_id` string, required: Price Point ID/slug
  - `payment_method` string, required: Payment method from Stripe Elements UI.
  - `payment_intent_id` string: PaymentIntent ID returned after confirming a card payment.

## Response `200`

OK

- object
  - `grant_id` string: New grant of product bundle to user
  - `client_secret` string: Reference to Stripe payment required to process payment in front end.
  - `payment_intent_id` string: Reference to the payment intent if payment requires confirmation.

---

[API](https://skmtc.dev/zuora/apis/zuora-2.md) - [All operations](https://skmtc.dev/zuora/apis/zuora-2/llms.txt) - [OpenAPI document](https://skmtc.dev/zuora/apis/zuora-2/revisions/678190d04c40?raw)
