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

# Payment

> Record payments

Log payments made by customers against their documents with accuracy and efficiency.

## What We Offer

<Note>
  All the features mentioned below, and more, can be accessed directly using
  the [Swipe Portal](https://app.getswipe.in/paymentsTimeline).
</Note>

1. [Record Payment](https://developers.getswipe.in/api-reference/payment-v2/record-payment) : Record payments made by customers against their documents with accuracy and efficiency

   ### Steps to record a payment:

   1. Checkout the record payment endpoint in the API playground and use your API key to test the endpoint.
   2. If your API key is valid, this api endpoint returns a 200 response with required details in a specified JSON format.

   <Card title="Record Payment" icon="play" horizontal href="https://developers.getswipe.in/api-reference/payment-v2/record-payment">
     Try Recording a payment
   </Card>

2. [Fetch All Payments](https://developers.getswipe.in/api-reference/payment-v2/list-of-documents) : Retrieve a complete list of all payments in your system based on the status enabling seamless tracking and management.

   ### Steps to get list of recorded payments:

   1. Checkout the list document endpoint in the API playground.
   2. If your API key is valid, this API endpoint returns a 200 response with a list of all the documents with basic details in JSON format.

   <Card title="List of Payments" icon="play" horizontal href="https://developers.getswipe.in/api-reference/payment-v2/list-of-documents">
     Fetch List of all payments
   </Card>
