# Royal Pay API > Royal Pay takes UPI and bank deposits through a hosted checkout. Merchants create a pay-in from their server (POST https://api.royalpe.site/merchant/initial-payment), redirect the user to the returned paymentUrl, and receive the result (approved, rejected or cancelled) by a signed webhook. JSON over HTTPS; amounts in rupees. API base URL: https://api.royalpe.site Every page is also Markdown: add .md to its URL, or send Accept: text/markdown. ## Get started - [Royal Pay API](https://docs.royalpe.site/index.md): Accept UPI and bank deposits through a hosted checkout, and get each result by signed webhook. - [Authentication](https://docs.royalpe.site/authentication.md): Each merchant has an access key, a secret key, and a webhook signing key. - [Going live](https://docs.royalpe.site/going-live.md): A checklist of what a correct Royal Pay integration does. ## Pay-ins - [Create a pay-in](https://docs.royalpe.site/payins/create.md): POST /merchant/initial-payment creates a pay-in and returns the hosted checkout link. - [Pay-in status](https://docs.royalpe.site/payins/status.md): GET /merchant/transaction-status returns a pay-in's current status. - [Submit a UTR](https://docs.royalpe.site/payins/manual-utr.md): POST /merchant/manual-utr-upload submits the payer's UTR when they gave it to you instead of the checkout. - [Webhooks](https://docs.royalpe.site/webhooks.md): Royal Pay POSTs each pay-in's status changes to your webhookUrl, signed with your webhook signing key. - [Hosted checkout](https://docs.royalpe.site/checkout.md): What your user sees on the Royal Pay checkout, how its secure session works, and when it's cancelled. - [Statuses](https://docs.royalpe.site/statuses.md): A pay-in's status values and how it moves between them. ## Payouts - [Payouts](https://docs.royalpe.site/payouts.md): Send money from your Royal Pay balance to a bank account. Enabled per merchant on request. ## Reference - [Errors](https://docs.royalpe.site/errors.md): The error envelope, HTTP status codes and every error message the API returns. - [Changelog](https://docs.royalpe.site/changelog.md): Changes to the Royal Pay API, newest first. ## Optional - [All docs in one file](https://docs.royalpe.site/llms-full.txt): every page above, as Markdown. - [OpenAPI 3.1](https://docs.royalpe.site/openapi.json): the endpoints and schemas, machine-readable.