Skip to content
VoiceMint Developers

Get Purchase History

GET/credits/purchases

Get user's credit purchase history. Payments has no separate purchases collection distinct from the credit ledger, and the ledger read doesn't carry pack_key/amount_paise — so this degrades gracefully to an empty list rather than fabricating data.

Authentication

Authorization: Bearer vm_sk_… with the media.read permission (or all.read). See Authentication.

Parameters

NameInTypeDescription
skipqueryinteger
limitqueryinteger

Response

200 application/json

FieldTypeDescription
limit*integer
purchases*CreditPurchaseHistoryItem[]
skip*integer
total*integer
{
  "limit": 0,
  "purchases": [
    {
      "amount_paise": 0,
      "created_at": "2026-12-05T10:00:00Z",
      "credits_amount": 0,
      "currency": "string",
      "pack_key": "string",
      "purchase_id": "string",
      "status": "string"
    }
  ],
  "skip": 0,
  "total": 0
}

Errors

401Missing, wrong, revoked or expired key.
403The key lacks media.read, the route is not available to keys, or the key's IP allow-list refuses this client.
422The request failed validation; `detail` lists the fields.
429Over a rate limit; retry after `Retry-After` seconds.

All statuses: Errors.

Example

curl -X GET "https://api.voicemint.io/api/v1/credits/purchases" \
  -H "Authorization: Bearer $VOICEMINT_API_KEY"