# Toffee - [Introduction](https://docs.toffeepay.com/introduction.md): Payment processing platform for games - [Getting Started](https://docs.toffeepay.com/getting-started.md): Integrate ToffeePay in minutes - [Payments](https://docs.toffeepay.com/payments.md): Sessions, statuses and payment flow - [Refunds](https://docs.toffeepay.com/refunds.md): Initiate and track refunds - [Disputes](https://docs.toffeepay.com/disputes.md): Track and manage payment disputes - [Wallet](https://docs.toffeepay.com/wallet.md): Wallet, accounts and deposits - [Authentication](https://docs.toffeepay.com/authentication.md): Access token authentication - [Idempotency](https://docs.toffeepay.com/idempotency.md): Prevent duplicate operations - [Webhooks](https://docs.toffeepay.com/webhooks.md): Event notifications and signature verification - [Sandbox](https://docs.toffeepay.com/sandbox.md): Test your integration without real payments - [TypeScript](https://docs.toffeepay.com/sdks/typescript.md): SDK for TypeScript/JavaScript - [Python](https://docs.toffeepay.com/sdks/python.md): SDK for Python - [Go](https://docs.toffeepay.com/sdks/go.md): SDK for Go - [Create Session](https://docs.toffeepay.com/api-reference/sessions/create.md): Initiate a new payment session - [List Sessions](https://docs.toffeepay.com/api-reference/sessions/list.md): List payments sessions - [Get Session](https://docs.toffeepay.com/api-reference/sessions/get.md): Returns session by its id - [Get Session Status](https://docs.toffeepay.com/api-reference/sessions/status.md): Returns session status by its id - [Cancel Session](https://docs.toffeepay.com/api-reference/sessions/cancel.md): Cancel an existing payment session - [List Payments](https://docs.toffeepay.com/api-reference/payments/list.md): List completed payments - [Get Payment](https://docs.toffeepay.com/api-reference/payments/get.md): Returns payment details by its id - [Complete Payment](https://docs.toffeepay.com/api-reference/payments/complete.md): Captures a payment for the session after authorization - [Cancel Payment](https://docs.toffeepay.com/api-reference/payments/cancel.md): Initiates a payment cancellation of the authorization - [Create Refund](https://docs.toffeepay.com/api-reference/refunds/create.md) - [List Refunds](https://docs.toffeepay.com/api-reference/refunds/list.md) - [Get Refund](https://docs.toffeepay.com/api-reference/refunds/get.md) - [List Disputes](https://docs.toffeepay.com/api-reference/disputes/list.md) - [List Accounts](https://docs.toffeepay.com/api-reference/accounts/list.md): List accounts - [Get Account](https://docs.toffeepay.com/api-reference/accounts/get.md): Returns account details by its id - [List Deposits](https://docs.toffeepay.com/api-reference/deposits/list.md): List deposits - [Get Deposit](https://docs.toffeepay.com/api-reference/deposits/get.md): Returns deposit details by its id - [Create Bonus](https://docs.toffeepay.com/api-reference/bonuses/create.md): Add bonus to user's wallet account - [List Bonuses](https://docs.toffeepay.com/api-reference/bonuses/list.md): List bonuses filtered by provided params - [Get Bonus](https://docs.toffeepay.com/api-reference/bonuses/get.md): Get bonus info by id or external key - [List Offers](https://docs.toffeepay.com/api-reference/offers/list.md): List hub offers - [Get Offer](https://docs.toffeepay.com/api-reference/offers/get.md): Get hub offer by its id - [Create Offer](https://docs.toffeepay.com/api-reference/offers/create.md): Create hub offer - [Update Offer](https://docs.toffeepay.com/api-reference/offers/update.md): Update hub offer - [Delete Offer](https://docs.toffeepay.com/api-reference/offers/delete.md): Delete hub offer - [session.created](https://docs.toffeepay.com/api-reference/webhooks/session.created.md): Fired when a payment session is created. - [session.paid](https://docs.toffeepay.com/api-reference/webhooks/session.paid.md): Fired when a session is successfully paid. - [session.failed](https://docs.toffeepay.com/api-reference/webhooks/session.failed.md): Fired when a payment attempt related to a session fails. - [session.expired](https://docs.toffeepay.com/api-reference/webhooks/session.expired.md): Fired when a session expires without payment. - [session.cancelled](https://docs.toffeepay.com/api-reference/webhooks/session.cancelled.md): Fired when a session is cancelled by user. - [payment.created](https://docs.toffeepay.com/api-reference/webhooks/payment.created.md): Fired when a payment is created. - [payment.succeeded](https://docs.toffeepay.com/api-reference/webhooks/payment.succeeded.md): Fired when a payment is successfully processed. - [payment.failed](https://docs.toffeepay.com/api-reference/webhooks/payment.failed.md): Fired when a payment attempt fails. - [payment.authorized](https://docs.toffeepay.com/api-reference/webhooks/payment.authorized.md): Fired when a payment is authorized (e.g. for later capture). - [payment.cancelled](https://docs.toffeepay.com/api-reference/webhooks/payment.cancelled.md): Fired when a payment is cancelled. - [refund.created](https://docs.toffeepay.com/api-reference/webhooks/refund.created.md): Fired when a refund is created and processing begins. - [refund.succeeded](https://docs.toffeepay.com/api-reference/webhooks/refund.succeeded.md): Fired when a refund has been processed successfully. - [refund.failed](https://docs.toffeepay.com/api-reference/webhooks/refund.failed.md): Fired when a refund attempt fails. - [dispute.created](https://docs.toffeepay.com/api-reference/webhooks/dispute.created.md): Fired when a dispute is created and registered. - [deposit.succeeded](https://docs.toffeepay.com/api-reference/webhooks/deposit.succeeded.md): Fired when a deposit is completed successfully. - [deposit.failed](https://docs.toffeepay.com/api-reference/webhooks/deposit.failed.md): Fired when a deposit fails. ## OpenAPI Specs - [openapi](/api-reference/openapi.json) - [openapi](https://api.toffeepay.com/openapi.yaml)