> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.pay4power.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.pay4power.com/_mcp/server.

# Pay4Power API Docs

> Build bill-payment integrations for electricity, airtime, data, TV, and transaction status.

Build bill-payment integrations for electricity, airtime, data, TV, provider discovery, and transaction status checks.

These docs are organized like an API workspace: start with authentication and the integration flow, then use the product guides for implementation context, and jump into the API Reference when you need request and response details.

## Start here

| Step | Page                                                            | Purpose                                               |
| ---- | --------------------------------------------------------------- | ----------------------------------------------------- |
| 1    | [Get Access Token](/get-access-token)                           | Authenticate server-side requests.                    |
| 2    | [Integration Flow](/integration-flow)                           | Follow the recommended transaction sequence.          |
| 3    | [Services and Providers](/bill-payments/services-and-providers) | Discover product categories and provider codes.       |
| 4    | [API Reference](../../entry/authentication-sandbox)             | Inspect endpoint parameters, examples, and responses. |

## Product areas

| Area        | What you can build                                              |
| ----------- | --------------------------------------------------------------- |
| Electricity | Meter validation, transaction initiation, and vending.          |
| Airtime     | Network airtime purchases using provider codes.                 |
| Data        | Data package lookup and bundle vending.                         |
| TV          | Package lookup, customer verification, initiation, and vending. |
| Requery     | Final transaction status confirmation and reconciliation.       |

## Base URLs

| Environment | Base URL                                                   |
| ----------- | ---------------------------------------------------------- |
| Sandbox     | `https://p4p-core-bill-payments-service.dev.payinvert.com` |
| Live        | `https://bills.v2.pay4power.com`                           |

Use the Sandbox base URL while you build and test your integration, and switch to the Live base URL when you go live. The Sandbox also accepts reserved identifiers that simulate success, failure, and processing outcomes; see [Sandbox Testing](/sandbox-testing). Combine the base URL with the endpoint paths shown in the API Reference, where you can also switch between the two environments.