---
title: "Purchase credit pack (MPP SPT or Checkout URL)"
method: POST
path: "/credits/purchase"
tags: ["Credits"]
---

# Purchase credit pack (MPP SPT or Checkout URL)

`POST /credits/purchase`

## Request

- Base URL: `https://verifyref.com/api/v1`
- URL: `https://verifyref.com/api/v1/credits/purchase`
- Auth: HTTP bearer

## Request body

- object
  - `package` '5' | '20' | '50' | '100', required
  - `currency` 'USD' | 'AUD'

## Response `200`

Purchase completed or checkoutUrl returned

- PurchaseCreditsResponse
  - `success` boolean
  - `credits` integer
  - `checkoutUrl` string, uri: Present when the user must complete Stripe Checkout

## Other responses

- `402`: MPP payment required (Shared Payment Token challenge)

---

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