---
title: "Quote a crypto payment for prepaid credit"
method: POST
path: "/v1/billing/crypto/intents"
tags: ["Billing"]
---

# Quote a crypto payment for prepaid credit

`POST /v1/billing/crypto/intents`

## Request

- Base URL: `https://ratchetgate.com`
- URL: `https://ratchetgate.com/v1/billing/crypto/intents`
- Auth: HTTP bearer

Returns an address, an exact token amount, and a memo. Credit is applied only after the transfer confirms on-chain. A transfer short of the quote is not credited.

## Request body

- object
  - `token_mint` string, required
  - `chain` 'solana' | 'ethereum' | 'bitcoin'
  - `usd_micros` integer, required

## Response `200`

Default Response

- object

## Other responses

- `400`: Invalid request.
- `401`: Missing or invalid API key.
- `402`: Insufficient prepaid credit.
- `403`: Scope, policy, or budget refusal.
- `404`: Not found.
- `409`: Conflicting state or idempotency-key reuse.
- `413`: Payload too large.
- `429`: Rate limit exceeded.
- `503`: Default Response

---

[API](https://skmtc.dev/ratchetgate/apis/ratchet-api.md) · [All operations](https://skmtc.dev/ratchetgate/apis/ratchet-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ratchetgate/apis/ratchet-api/revisions/5712f33c692f?raw)
