SDKs and tools
The coordinates below point to public, immutable releases. Each release was confirmed in its registry and validated through a clean install or resolution before being listed here.
MuPag coordinates
| Ecosystem | Public coordinate | Status |
|---|---|---|
| Node.js/TypeScript | mupag-sdk@0.2.0 | Published on npm and validated through a clean install |
| Python | mupag-sdk==0.2.0 | Published on PyPI and validated through a clean install |
| Python compatibility | mupay-sdk==0.2.0 | Published legacy bridge; installs mupag-sdk==0.2.0 and emits DeprecationWarning |
| Java core | br.com.mupag:mupag-sdk:0.2.0 | Published on Maven Central and validated through a clean resolution |
| Java Spring Boot | br.com.mupag:mupag-sdk-spring-boot-starter:0.2.0 | Published on Maven Central and validated through a clean resolution |
| Java core compatibility | br.com.mupay:mupay-sdk:0.2.0 | Published legacy POM; relocates to br.com.mupag:mupag-sdk:0.2.0 |
| Java Spring Boot compatibility | br.com.mupay:mupay-sdk-spring-boot-starter:0.2.0 | Published legacy POM; relocates to br.com.mupag:mupag-sdk-spring-boot-starter:0.2.0 |
| Go | github.com/mupaybr/mupag-sdk-go@v0.2.0 | Published through the Go proxy and pkg.go.dev |
| PHP | mupag/mupag-sdk:^0.2.0 | Published on Packagist from the dedicated repository |
| Widget | @mupag/widget@0.1.1 | Published on npm; versioned bundles available from unpkg and jsDelivr |
The @mupag/mcp-server@0.1.0 MCP server and its discovery channels are documented in AI integration.
Create a PIX charge with your SDK
Choose your language and call mupag.charges.create or the equivalent SDK method:
npm install mupag-sdk@0.2.0import { MuPag } from 'mupag-sdk';
const mupag = new MuPag({
apiKey: process.env.MUPAG_API_KEY,
env: 'test',
});
const charge = await mupag.charges.create({
amount_cents: 1290,
payment_method: 'pix',
customer: {
name: 'Ana Silva',
email: 'ana@example.com',
tax_id: '12345678909',
},
}, { idempotencyKey: 'order_123_charge_1' });
console.log(charge.charge_id);
Keep the secret key on the backend. The SDK generates an Idempotency-Key; for distributed retries, provide and persist one stable key for the same intent.
Public artifacts and source
- Public OpenAPI for generation and validation
- Postman collection published on this portal, limited to the public OpenAPI, with no filled-in secrets
llms.txtandllms-full.txtfor AI tooling- Source, tests, examples, and releases for the Go and PHP SDKs in their dedicated public repositories
The remaining source and issue trackers stay internal. Public metadata points to this documentation, and the Java POM keeps the private SCM allowed by Maven Central while using this public portal as its project URL.
When you mention a package
Always use the coordinate and version shown on this page. Do not replace pinned versions with latest in production or agent configurations.
Did this page unblock the next step?
Feedback stays inside the docs flow and should never include customer or card data.