Payments
Check Payment Status
Payment status is crucial for merchants to track payments being processed, completed, or cancelled. You can retrieve the status of a payment using the Check Payment Status API.
Prerequisites
API-KEY, API-SECRET, and MERCHANT-ID
paymentId returned from the Initiate Payment API
Check Status
Include the paymentId in your request to the Check Payment Status API:
Payment Status Values
You can also get payment status by integrating webhooks for real-time updates, eliminating the need for frequent polling.
On successful completion of a payment, an associated transaction record is created. The transaction details can be fetched using the Transaction APIs.
Fetch Payment Information by ID
Fetching payment information allows you to retrieve specific transaction details using the unique payment identifier. This helps resolve issues and verify payment records. You can also generate and display a receipt directly from the API response.
Prerequisites
API-KEY, API-SECRET, and MERCHANT-ID
paymentId from the Initiate Payment API
Fetch Payment Details
Response Attributes
CVM Method Values
Manage Transactions
Fetch Transactions by ID
Use the Fetch Transactions by ID API to retrieve all transactions associated with an order ID, transaction ID, or payment ID. This is useful when a single order was paid through multiple partial payments.
Prerequisites
- API credentials
paymentId,transactionId, ororderIdof the transaction
Example Request
Response Attributes
Fetch All Transactions
Retrieve a complete list of transactions processed by a specific merchant.
Example Request
Query Parameters
If no query parameters are specified, transactions will be returned from latest to oldest.
Search Transactions
Use the Transaction Search API to perform a free text search on transaction data.
Example Request
You can search by any field including orderId, transactionId, amount, or any other transaction detail.
Fetch Settlement Reports
Retrieve a detailed summary of completed transactions for a specific merchant. Reports can be generated for specific periods (daily or monthly).
Prerequisites
- API credentials
merchantIdfrom the Create Merchant API