---
title: "POST /v1/billing/purchase"
method: POST
path: "/v1/billing/purchase"
tags: ["Billing"]
---

# POST /v1/billing/purchase

`POST /v1/billing/purchase`

## Request

- Base URL: `https://api.bizverify.co` (the document declares no server; this is the origin it was published from)
- URL: `https://api.bizverify.co/v1/billing/purchase`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/bizverify/apis/bizverify-api/docs/v1/billing/purchase/post.ts> (a function with typed inputs; its response is checked against the schema)

Create a Stripe checkout session to purchase a credit package. Returns a Stripe URL to redirect the user to for payment. Credits are added to your balance automatically after successful payment via webhook.

## Request body

- object
  - `package_id` 'credits_100' | 'credits_500' | 'credits_2000' | 'credits_10000', required: Credit package ID to purchase. See GET /v1/billing for available packages.

## Response `200`

Default Response

- object
  - `session_id` string, required: Stripe checkout session ID
  - `url` string, required: Stripe checkout URL — redirect the user here to complete payment

## Other responses

- `400`: Default Response
- `401`: Default Response

---

[API](https://skmtc.dev/bizverify/apis/bizverify-api.md) - [All operations](https://skmtc.dev/bizverify/apis/bizverify-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bizverify/apis/bizverify-api/revisions/47b91ca07384?raw)
