We’re excited to launch our latest product to simplify your business processes. Know More →
OCR RPACPC OCR SuiteDocument Verification

Extract payment receipt details through a single API.

Automate digital payment receipt data extraction using the RPCAPC Pay slip OCR API. Convert payment receipts into structured JSON to simplify transaction recordkeeping, payment reconciliation, expense management, and financial document-processing workflows.

Live extraction Replay
1 You upload
upi_payment_receipt.jpg JPG · 850 KB
Reading payment receipt
2 You get back
✓
SUCCESS Payment details extracted
612 ms
Document UPI Payment Receipt
Payment status Completed
Amount ₹10,000
Paid to Kumar Vijay Rathod
UPI ID kumarrathod8899@oksbi
Transaction ID 543092724312
Transaction date 09 Mar 2025
Transaction time 12:43:00
Source app Google Pay
Response time
<10s

Uptime SLA
99.9%+

Rate limit
500 req / sec

Auth
Authorization token

API overview

Simplify Pay Slip OCR API.

The RPCAPC Pay Slip OCR can return the recipient’s name and UPI ID, transaction amount and currency, transaction identifier, UTR, transaction date and time, masked debit account information, payment status, and source application.

The extracted information can be integrated into payment reconciliation systems, expense management platforms, transaction recordkeeping applications, and automated financial workflows, reducing the need for manual data entry.

Key information available

Access essential Pay Slip OCR API details.

The API response may include the following information, depending on the response received:

01
Document Classification

Identifies the type of uploaded payment document.

document_type
02
Recipient Information

Provides details of the payment recipient.

paid_to.name
paid_to.upi_id
03
Transaction Amount

Contains the payment amount and its currency.

amount
currency
04
Transaction Identification

Provides transaction reference and UTR details, when available.

transaction.id
transaction.utr
05
Transaction Date and Time

Provides the date and time of the payment.

transaction.date
transaction.time
06
Debit Account Information

Provides the masked account details used for the payment, when available.

debited_from.account_masked
07
Payment Status and Source

Identifies the payment status and the source application.

status
source_app
How it works

Simple API-based verification process.

Step 01

Submit Payment Receipt

Send the payment receipt image as a binary request body to the configured OCR endpoint.

Step 02

OCR Processing

The API processes the submitted image and extracts the available payment and transaction details.

Step 03

Receive Structured Response

Receive the extracted transaction information in a structured JSON response.

Step 04

Integrate into Your Workflow

Use the returned information in transaction records, expense management, payment reconciliation, and financial applications.

API Request

Step 1 Submit Pay Slip OCR API details.

Request parameters
Parameter Type Description
Request body Binary image The payment receipt image to process. The image bytes are sent directly in the POST request.
The request values shown are illustrative dummy data.
Sample request REQUEST
headers = {
    "Authorization": "prod-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
    "Content-Type": "image/jpeg"
}

with open(file_name, "rb") as f:
    response = requests.post(url, headers=headers, data=f)
API response

Step 2Receive structured verification information.

Key response fields
Field Description
country Country associated with the processing response.
billable Indicates whether the request is billable.
output Object containing the extracted payment receipt details.
output.document_type Type of document identified by the service.
output.paid_to.name Name of the payment recipient.
output.paid_to.upi_id UPI ID associated with the recipient.
output.amount Transaction amount.
output.currency Currency symbol or currency value returned by the service.
output.transaction.id Transaction identifier.
output.transaction.utr Unique Transaction Reference (UTR), if available.
output.transaction.date Transaction date.
output.transaction.time Transaction time.
output.debited_from.account_masked Masked account information shown in the receipt, if available.
output.status Payment status returned by the service.
output.source_app Source payment application identified in the receipt.
200 · Sample responseRESPONSE
{
  "status": "Success",
  "country": "India",
  "billable": "Yes",
  "message": "Details extraction completed successfully.",
  "output": {
    "document_type": "UPI Payment Receipt",
    "paid_to": {
      "name": "Kumar Vijay Rathod",
      "upi_id": "kumarrathod8899@oksbi"
    },
    "amount": 10000,
    "currency": "₹",
    "transaction": {
      "id": "543092724312",
      "utr": "",
      "date": "2025-03-09",
      "time": "12:43:00"
    },
    "debited_from": {
      "account_masked": ""
    },
    "status": "Completed",
    "source_app": "Google Pay"
  }
}

Illustrative response using dummy data. The API may return additional fields such as request ID, sequence ID and timestamps. Field availability and values may vary.

Use cases

Pay Slip OCR API across business workflows.

Payment Reconciliation

Extract transaction IDs, amounts, dates, and recipient details to support payment record matching.

Expense Management

Capture payment receipt details for expense submissions, recordkeeping, and reimbursement workflows.

Digital Payment Records

Convert payment receipts into structured data for transaction histories and financial reporting.

Business Accounting

Integrate extracted transaction details into accounting and bookkeeping applications.

UPI Transaction Management

Process supported UPI payment receipts to organize recipient information, transaction references, and payment statuses.

FAQ

Frequently asked questions

Common questions about payment receipt OCR, extracted transaction details, and API integration.

Still have a question? Talk to an expert
How does the Payment Receipt OCR API extract transaction details?
The API processes a submitted receipt image and returns the available recipient, transaction, amount, date, time, and payment status information in structured JSON.
Can the API identify the payment recipient and UPI ID?
Yes. The response includes the recipient's name in paid_to.name and the associated UPI ID in paid_to.upi_id, when available in the receipt.
Does the API provide the payment date and time?
Yes. The transaction object includes date and time, allowing applications to organize payment records chronologically.
Does a successful OCR response confirm that a payment was actually completed?
No. A successful API response indicates successful document processing. The returned output.status reflects the status extracted or identified by the service, but it should not be treated as independent confirmation from the payment provider or bank. Verify transactions against authoritative payment records when necessary.
Which request format does the API accept?
The supplied example sends the image as a raw binary request body using Python's requests.post() with data=f and the appropriate Content-Type header, such as image/jpeg.
Can the API be integrated with accounting and expense management systems?
Yes. Its structured JSON response can be integrated with accounting applications, expense management platforms, transaction reconciliation tools, and other systems that consume HTTP APIs.
How does the API improve payment recordkeeping?
The API reduces manual data entry by extracting transaction details from receipt images, making it easier to organize payment records and support reconciliation and expense-processing workflows.
Blog

What Is the Fastest Identity Solution for a Rapidly Growing Startup?

Discover the fastest identity solution for startups to streamline customer verification, speed up onboarding, and support business growth.

Read More
What Is the Fastest Identity Solution for a Rapidly Growing Startup?

India's verification infrastructure is already here.

Empower your applications with India's Enterprise Verification Intelligence Platform for faster, more reliable verification.