Skip to main content

Prerequisites

Before you begin, you’ll need:
  • An API key from Modulus Labs (contact support@moduluslabs.io)
  • curl or any HTTP client (Postman, HTTPie, etc.)

Step 1: Verify Your Key

Test that your API key works by listing your merchants:
You should receive a JSON response with your merchant list:
Save one of the id values — you’ll use it to filter transactions in the next step.

Step 2: List Transactions

Fetch the latest transactions for a merchant:

Step 3: Filter by Payment Method

Get only QR transactions:
Or only card-present transactions:

Step 4: Filter by Status and Date

Get captured transactions for a specific month:

Step 5: Get Transaction Detail

Retrieve full detail for a specific transaction:
The detail response includes lifecycle events, approval codes, and settlement information not present in the list response.

Step 6: Paginate Through Results

When has_more is true, use the next_cursor to get the next page:
Continue until has_more is false.

What’s Next?

Authentication

Understand API keys and entity scoping

Filtering & Sorting

Learn all available filters and sort options