---
title: "Create Payment Intent"
method: POST
path: "/api/billing/payment-intent"
tags: ["Billing"]
---

# Create Payment Intent

`POST /api/billing/payment-intent`

Create a Stripe PaymentIntent for depositing compute credits.

``amount_cad`` is pretax wallet credit. Stripe Tax uses the **account**
country/province (settings/profile) — no deposit province picker. IP is a
fallback when the account has no location. Wallet is credited pretax only.

## Request body

- PaymentIntentRequest
  - `customer_id` string, required
  - `amount_cad` number, required
  - `description` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/aabiro/apis/xcelsior.md) · [All operations](https://skmtc.net/aabiro/apis/xcelsior/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aabiro/xcelsior/versions/b4f5ef136e6a/schema)
