Partner

Get prepaid credit

Changed on

Returns the prepaid credit you have left and your recent top-ups. Allo pays what you buy through the Partner API from this credit first, then charges your card on file for the rest. Without enough credit and without a card, a request that charges fails with 402 PARTNER_CREDIT_INSUFFICIENT and nothing is created. Requires the PARTNER scope and a Discounted licence (reseller) partner contract.

get/v2/api/partner/credit

Request

  • Base URL
    https://api.withallo.com
  • URL
    https://api.withallo.com/v2/api/partner/credit
  • Auth
    API key in header Authorization

Response

Your prepaid credit

Example response

{
  "data": {
    "balance_cents": 120000,
    "currency": "eur",
    "prepaid": true,
    "last_top_up": {
      "amount_cents": 150000,
      "currency": "eur",
      "at": "2026-10-01T09:12:44Z"
    },
    "top_ups": [
      {
        "amount_cents": 150000,
        "currency": "eur",
        "invoice_id": "in_1Q2w3E4r5T6y7U8i",
        "at": "2026-10-01T09:12:44Z"
      }
    ]
  }
}

Changes