---
title: "Buy a credit pack with MPP"
method: POST
path: "/api/v1/credits/packs/mpp"
---

# Buy a credit pack with MPP

`POST /api/v1/credits/packs/mpp`

## Request

- Base URL: `https://spoolis.com`
- URL: `https://spoolis.com/api/v1/credits/packs/mpp`
- Auth: HTTP bearer

Issues an MPP card challenge or accepts a verified MPP credential. The payment webhook credits the ledger after the provider confirms payment. Full-scope and verify-scoped account keys are accepted. On the paid retry, send the Spoolis key in the X-Api-Key header and the MPP credential as the Authorization Payment scheme; wallet clients own the Authorization header, so keep the Spoolis key out of it. Comma-separated Authorization schemes are also accepted.

## Request body

- MppCreditPackRequest
  - `pack_cents` 500 | 1000 | 2000, required

## Response `202`

Payment accepted; poll the credit balance for webhook fulfillment

- MppPaymentAccepted
  - `status` 'payment_accepted', required
  - `payment_intent_id` string, required
  - `pack_cents` 500 | 1000 | 2000, required
  - `amount_micros` integer, required
  - `credited` unknown, required
  - `poll` '/api/v1/credits/balance', required
  - `retry_after_seconds` 2, required

## Other responses

- `400`: Machine-readable API error
- `401`: Machine-readable API error
- `402`: MPP payment credential challenge
- `403`: Machine-readable API error
- `404`: Machine-readable API error
- `409`: Machine-readable API error
- `413`: Machine-readable API error
- `422`: Machine-readable API error
- `429`: Machine-readable API error
- `500`: Machine-readable API error
- `503`: Machine-readable API error

---

[API](https://skmtc.dev/spoolis/apis/spoolis-public-api.md) · [All operations](https://skmtc.dev/spoolis/apis/spoolis-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/spoolis/apis/spoolis-public-api/revisions/e438bfc05c01?raw)
