> For the complete documentation index, see [llms.txt](https://guide.pay.gov.sg/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://guide.pay.gov.sg/api-resources.md).

# API RESOURCES

- [Events](https://guide.pay.gov.sg/api-resources/events.md)
- [The event object](https://guide.pay.gov.sg/api-resources/events/the-event-object.md)
- [Types of events](https://guide.pay.gov.sg/api-resources/events/types-of-events.md)
- [Payments](https://guide.pay.gov.sg/api-resources/payments.md)
- [Create a payment](https://guide.pay.gov.sg/api-resources/payments/create-a-payment.md): Creates a payment object.
- [Retrieve payments](https://guide.pay.gov.sg/api-resources/payments/retrieve-payments.md): Retrieves the details of a payment that has previously been created.
- [Send email for payment](https://guide.pay.gov.sg/api-resources/payments/send-email-for-payment.md): Sends an email notification to intended payer with the details of a payment that has previously been created.
- [Cancel a payment](https://guide.pay.gov.sg/api-resources/payments/cancel-a-payment.md): Cancels a payment with an 'unpaid' status.
- [Refund a payment](https://guide.pay.gov.sg/api-resources/payments/refund-a-payment.md): Refunds a payment with a 'paid' status.
- [Get all payments from payment service](https://guide.pay.gov.sg/api-resources/payments/get-all-payments-from-payment-service.md): Returns a list of payments created within a payment service.
