Top-Up Credits

Top-ups are one-time credit purchases that let you add balance to your account whenever you need it, with no recurring subscription required. Learn about available packs, payment methods, and how credits are applied automatically after payment.

What Are Top-Up Packs?

A top-up pack is a one-time purchase of a fixed credit amount at a fixed price. Purchased credits do not expire over time — they remain available until fully consumed. This model is ideal for developers and businesses who prefer pre-paid billing without recurring charges.

Starter
$5
5,000 credits
Business
$50
70,000 credits

Viewing Available Packs via API

You can retrieve the list of currently available packs along with their prices and credit amounts via the following endpoint:

HTTP Request
GET https://llmapi.resayil.io/api/billing/topup-packs Authorization: Bearer YOUR_API_KEY
JSON Response
{ "packs": [ { "id": "pack_starter", "name": "Starter Pack", "price": 5.00, "currency": "USD", "credits": 5000, "popular": false }, { "id": "pack_pro", "name": "Pro Pack", "price": 20.00, "currency": "USD", "credits": 25000, "popular": true }, { "id": "pack_business", "name": "Business Pack", "price": 50.00, "currency": "USD", "credits": 70000, "popular": false } ] }

The credits field represents the number of credit units added to your account upon successful payment. The popular flag indicates the most commonly chosen pack.

How to Purchase

Important: There is currently no API endpoint for completing a purchase directly — payment must be initiated through the web UI only.

Follow these steps to purchase a top-up pack:

1
Log in to your account
Log in to your account at llm.resayil.io.
2
Navigate to Billing
Navigate to Billing → Plans in the sidebar.
3
Select your pack
Select your desired pack and click Buy Now.
4
Complete payment
Complete the payment through the secure MyFatoorah gateway. Credits are added to your account automatically as soon as payment is confirmed.
Go to Billing →

Accepted Payment Methods

Payments are processed through MyFatoorah, a certified and secure payment gateway. Supported payment methods include:

  • International credit and debit cards (Visa, Mastercard)
  • STC Pay (Saudi Arabia)
  • Additional local payment methods depending on your country (displayed automatically at checkout)

Security: No card data is stored on LLM Resayil servers. MyFatoorah processes all payment data securely in accordance with PCI-DSS standards.

How Credits Are Applied After Payment

The system relies on a webhook from MyFatoorah to receive instant payment confirmations. Upon a successful transaction:

  • The server receives the payment notification from MyFatoorah within seconds.
  • The credit amount for the purchased pack is immediately added to your existing balance.
  • The transaction is recorded in your purchase history and viewable via API or dashboard.

Delayed credit? In the rare case of a delayed notification, wait a few minutes and refresh. If credits have not appeared after 15 minutes, contact support with your transaction reference number.

Viewing Purchase History via API

You can retrieve your past top-up transactions via the following endpoint (20 records per page):

HTTP Request
GET https://llmapi.resayil.io/api/billing/topup-history Authorization: Bearer YOUR_API_KEY

To paginate, append ?page=2 (and so on) to the URL.

JSON Response
{ "data": [ { "id": "txn_abc123", "pack_name": "Pro Pack", "credits": 25000, "amount_paid": 20.00, "currency": "USD", "status": "completed", "created_at": "2025-11-14T09:31:00Z" }, { "id": "txn_xyz789", "pack_name": "Starter Pack", "credits": 5000, "amount_paid": 5.00, "currency": "USD", "status": "completed", "created_at": "2025-10-02T14:17:00Z" } ], "meta": { "current_page": 1, "per_page": 20, "total": 2 } }

The status field may be completed, pending, or failed. Query transactions with a pending status if you are expecting credits that have not yet appeared.

Want to understand the full credits system?

Read the comprehensive guide to how credits work and per-model multipliers.

Go to Credits System →