Purchase credit bundle

Initiates a checkout session for a credit bundle purchase. Requires billing activated.

post/api/v1/billing/credits

Request

  • Base URL: https://api.virga.dev
  • URL: https://api.virga.dev/api/v1/billing/credits
  • Auth: API key in header X-API-Key

Request body

bundle'500' | '2000' | '10000' required

500 credits = $5, 2000 credits = $18, 10000 credits = $75

Response

Checkout URL

checkoutUrlstring uri

Changes

No recorded changes to this operation across all 1 revision of this API.