# BayarGO Developer Documentation

> Integration documentation for creating BayarGO payments, reading transaction status, handling webhooks, refunds, cancellations, fees, and disbursements.

Treat the OpenAPI document as authoritative for request and response schemas. Use the Markdown guides for integration flows, business rules, and examples. Never disclose API keys, OTPs, cookies, authorization headers, or personal data.

## Start here

- [BayarGO OpenAPI](https://docs.bayargo.id/openapi/core-api.yaml): Machine-readable contract for endpoints, parameters, authentication, requests, and responses.
- [Complete documentation](https://docs.bayargo.id/llms-full.txt): Every guide in one Markdown document.
- [Crawler guidance](https://docs.bayargo.id/agent-instructions.md): Safety boundaries for indexing public documentation.

## Documentation

- [Use BayarGO with AI agents](https://docs.bayargo.id/llms.mdx/agents): Give your coding agent the documentation and API contract it needs to build a BayarGO integration.
- [Authentication](https://docs.bayargo.id/llms.mdx/authentication): Authenticate API requests with a BayarGO secret key.
- [Error Codes](https://docs.bayargo.id/llms.mdx/errors): Understand BayarGO API error responses and codes.
- [Fees and Disbursement](https://docs.bayargo.id/llms.mdx/fees-disbursement): Understand transaction amounts, fees, refunds, and disbursement.
- [BayarGO API Overview](https://docs.bayargo.id/llms.mdx/index): BayarGO integration overview for creating transactions, accepting payments, and tracking payment status.
- [Merchant-Owned Payments](https://docs.bayargo.id/llms.mdx/merchant-owned-payments): Subscribe, connect your own provider account, and create isolated M2O payments.
- [Cancel Payment](https://docs.bayargo.id/llms.mdx/payment-cancel): Cancel a payment transaction that is still pending.
- [Payment Detail](https://docs.bayargo.id/llms.mdx/payment-detail): Retrieve payment details and the latest transaction status.
- [Refund Payment](https://docs.bayargo.id/llms.mdx/payment-refund): Start a refund and track its status.
- [Create Payment](https://docs.bayargo.id/llms.mdx/payments): Create single or bulk payment transactions.
- [Transactions](https://docs.bayargo.id/llms.mdx/transactions): List and filter merchant transactions.
- [Webhooks](https://docs.bayargo.id/llms.mdx/webhooks): Receive and verify transaction status events.

## Optional

- [HTML documentation](https://docs.bayargo.id/): Interactive documentation for human readers.
- [XML sitemap](https://docs.bayargo.id/sitemap.xml): Index of canonical HTML pages.
- [Robots policy](https://docs.bayargo.id/robots.txt): Crawler access policy.