# Easybilling ## Docs - [Create a new account](https://docs.easybilling.cloud/api-reference/account/create-a-new-account.md) - [Get an account by Accoumt Number](https://docs.easybilling.cloud/api-reference/account/get-an-account-by-accoumt-number.md) - [Get an account by id](https://docs.easybilling.cloud/api-reference/account/get-an-account-by-id.md) - [Update an account by id](https://docs.easybilling.cloud/api-reference/account/update-an-account-by-id.md) - [Get credit memo details by id](https://docs.easybilling.cloud/api-reference/billing-document/get-credit-memo-details-by-id.md) - [Get invoice details by id](https://docs.easybilling.cloud/api-reference/billing-document/get-invoice-details-by-id.md) - [Query invoices & credit memos](https://docs.easybilling.cloud/api-reference/billing-document/query-invoices-&-credit-memos.md) - [Create Contract Action](https://docs.easybilling.cloud/api-reference/contract-action/create-contract-action.md) - [generate customer portal account token](https://docs.easybilling.cloud/api-reference/customer-portal/generate-customer-portal-account-token.md) - [Preset payment method by account](https://docs.easybilling.cloud/api-reference/customer-portal/preset-payment-method-by-account.md): Presets a payment method for a customer on the selected payment gateway and returns the gateway-hosted setup page URL. - [download pdf](https://docs.easybilling.cloud/api-reference/invoice-pdf/download-pdf.md) - [generate pdf](https://docs.easybilling.cloud/api-reference/invoice-pdf/generate-pdf.md) - [preview pdf](https://docs.easybilling.cloud/api-reference/invoice-pdf/preview-pdf.md) - [Close transaction](https://docs.easybilling.cloud/api-reference/payment-hub/close-transaction.md) - [Get payment list](https://docs.easybilling.cloud/api-reference/payment-hub/get-payment-list.md) - [Initiate refund](https://docs.easybilling.cloud/api-reference/payment-hub/initiate-refund.md) - [Initiate transaction](https://docs.easybilling.cloud/api-reference/payment-hub/initiate-transaction.md): Creates a new payment request and returns the gateway redirect URL and the payment transaction status. Idempotent on transactionId — re-issuing an already-PROCESSING / FAILED transaction may reuse the existing gateway link or re-issue depending on each gateway's shouldReissuePaymentOnFailed policy. - [Preset payment method](https://docs.easybilling.cloud/api-reference/payment-hub/preset-payment-method.md): Presets a payment method for a customer on the selected payment gateway and returns the gateway-hosted setup page URL. - [Refresh refund status](https://docs.easybilling.cloud/api-reference/payment-hub/refresh-refund-status.md) - [Refresh Transaction Status](https://docs.easybilling.cloud/api-reference/payment-hub/refresh-transaction-status.md) - [Preset payment method](https://docs.easybilling.cloud/api-reference/payment-method/preset-payment-method.md): Set up a payment method for a customer on the selected payment gateway and returns the gateway-hosted setup page URL. - [Get usage-pricing snapshot history](https://docs.easybilling.cloud/api-reference/plan-itemsplan-item-usage-pricing/get-usage-pricing-snapshot-history.md): Returns the active usage-pricing timeline for the plan item. - [Overwrite a usage-pricing snapshot](https://docs.easybilling.cloud/api-reference/plan-itemsplan-item-usage-pricing/overwrite-a-usage-pricing-snapshot.md): Overwrites the complete usage-pricing snapshot for an active usage-based plan item. The effective date must be strictly after the tenant business date. Reusing the same idempotency key with the same payload returns the committed result; reusing it with a different payload returns 409. - [Get Credit Schedule by Account](https://docs.easybilling.cloud/api-reference/prepaid-credits/get-credit-schedule-by-account.md) - [Ingest usage events](https://docs.easybilling.cloud/api-reference/usage-event/ingest-usage-events.md): support atomic operation: all or nothing max number of usage events: 50 per request - [Who is Easybilling?](https://docs.easybilling.cloud/index.md) - [Who should use EasyBilling?](https://docs.easybilling.cloud/index-copied-1.md) - [Key Challenges for AI Company Expanding Globally](https://docs.easybilling.cloud/index-copied-2.md) - [Platform Capabilities](https://docs.easybilling.cloud/index-copied-3.md) - [AI Pricing Models](https://docs.easybilling.cloud/index-copied-4.md) - [Benefits of Payment Routing](https://docs.easybilling.cloud/index-copied-5.md) - [EasyBilling Integration Guide](https://docs.easybilling.cloud/integration-guide.md) - [Quickstart](https://docs.easybilling.cloud/quickstart.md): Through standardized data models and a flexible billing engine, EasyBilling automatically converts complex AI usage data into billable revenue, delivering a complete closed loop from product usage to cash collection. ## OpenAPI Specs - [billing.openapi](https://docs.easybilling.cloud/billing.openapi.json) - [payment.openapi](https://docs.easybilling.cloud/payment.openapi.json) - [Paymentmodule.openapi](https://docs.easybilling.cloud/api-reference/Paymentmodule.openapi.json) - [Billingmodule.openapi](https://docs.easybilling.cloud/Billingmodule.openapi.json) - [openapi](https://docs.easybilling.cloud/api-reference/openapi.json)