> ## Documentation Index
> Fetch the complete documentation index at: https://docs.quidkey.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Payment API

> The endpoints for creating payment transactions and following them: checkout, payment links, refunds, payouts, balances and webhooks

The Payment API is the part of the [Quidkey API](https://docs.quidkey.com/api-v1/overview.md) that creates payment transactions and follows them. It's for a merchant taking payment through its own integration, and for a partner taking payment for its merchants.

It holds the endpoints for:

* creating a payment transaction, sending the customer to pay, and reading and searching payment transactions;
* the currencies a merchant can receive and the banks its customer can pay from;
* payment links;
* refunds;
* payouts, and the balances of a merchant's bank accounts;
* webhook endpoints, a merchant's own and a partner's, and the events about payment transactions they receive.

## Credential

Call it with a merchant's own credential, or with a partner's for any of its merchants. A merchant finds its `client_id` and `client_secret` in the [Quidkey Console](https://console.quidkey.com), and a partner gets them from Quidkey. Either is exchanged for a token as [Getting started](https://docs.quidkey.com/api-v1/getting-started.md) shows.

A merchant runs its own webhook endpoints. A partner has one endpoint, which receives the events for the payment transactions it creates.

## Read First

* [Getting started](https://docs.quidkey.com/api-v1/getting-started.md)
* [Take a payment with hosted checkout](https://docs.quidkey.com/api-v1/journeys/hosted-checkout.md)
* [Take a payment with a payment link](https://docs.quidkey.com/api-v1/journeys/payment-links.md)
* [Refund a payment transaction](https://docs.quidkey.com/api-v1/journeys/refunds.md) and [handle a reversal](https://docs.quidkey.com/api-v1/journeys/reversals.md)
* [Reconcile payouts](https://docs.quidkey.com/api-v1/journeys/reconcile.md)
* [Webhooks](https://docs.quidkey.com/api-v1/webhooks.md)
* [Test an integration](https://docs.quidkey.com/api-v1/journeys/test-payments.md)
* [Recover a lost response](https://docs.quidkey.com/api-v1/journeys/lost-responses.md)

Every endpoint follows the API's standards: [responses and links](https://docs.quidkey.com/api-v1/standards/responses.md), [lists, pagination and filters](https://docs.quidkey.com/api-v1/standards/collections.md), [errors and retries](https://docs.quidkey.com/api-v1/standards/errors.md), [idempotency](https://docs.quidkey.com/api-v1/standards/idempotency.md), [authentication and access](https://docs.quidkey.com/api-v1/standards/access.md) and [versioning](https://docs.quidkey.com/api-v1/standards/versioning.md).

The endpoints in this tab are also in the [API Reference](https://docs.quidkey.com/api-v1/overview.md) tab, with the rest of the API.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.