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

# Overview

Payment module is not available for all the partners. If you want this to be activated, please contact [info@transactbridge.com](https://mailto:info@transactbridge.com/). This module allows the partner to collect payments with it's own invoicing system. Partner will need to upload those invoices through API.

## API Flow for PACB

```mermaid theme={null}
sequenceDiagram
    participant Customer
    participant Partner
    participant TB as Transact Bridge

    Customer->>Partner: Customer wants to pay using UPI
    Partner->>TB: Call Create Server Payment Request API
    Note right of TB: /payment/v1.0/createPaymentRequest
    TB-->>Partner: Response Status: Success
    Partner-->>Customer: Customer gets a payment request in their UPI App
    Note over Customer,TB: Customer makes the payment directly in their UPI App and Transact Bridge gets the event from the acquirer directly
    TB-->>Partner: Webhook for Successful

    Partner->>TB: Call Upload Verification Details API
    Note right of TB: /transaction/v1.0/uploadPaymentVerificationDetails
    TB-->>Partner: Response Status: Success

    Partner->>TB: Get Verification Status API to fetch status
    Note right of TB: /transaction/v1.0/getPaymentVerificationDetails
    TB-->>Partner: Response Status: Success

    TB-->>Partner: Webhook for Verification Details being Rejected
    Note over Partner: Verification details need to be re-uploaded using Upload Verification API

    Partner->>TB: Call Upload Verification Details API
    Note right of TB: /transaction/v1.0/uploadPaymentVerificationDetails
    TB-->>Partner: Response Status: Success

    TB-->>Partner: Webhook for Verification Details being Verified
    Note over Partner: Once the Payment details have been marked verified the partner is eligible for settlement of this transaction
```


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