MiniPay first-party
The COP By miniapp calls/api/breb/* (same bodies as /api/integrations/breb/*) with no Bearer key. Those aliases pin integration_id to copby and require userAddress on list, get, and confirm so one wallet cannot read another.
Use /api/integrations/breb/* from a partner backend. Use /api/breb/* from the miniapp.
Playground
- Open any endpoint in API reference.
- Paste the key in the Authorization field. You can omit the
Bearerprefix; Mintlify adds it. - Pick the Local server (
http://localhost:3000) whilepnpm --filter web devis running.
Isolation
The key maps to oneintegration_id. List and confirm routes ignore any other integration id in the query or body. A payout created by partner A is not visible to partner B.
Errors
Choose a product
Compare settlement, swaps, and BRE-B payout flows.
Errors and lifecycle
Handle expired quotes, idempotency conflicts, and retries.