1. payments
Saaslogic
  • Authentication
  • Introduction
  • Enum Reference
  • Products
    • Resources
      • Create Product Resource
    • Coupons
      • Withdraw Coupon
      • Publish Coupon
      • Create Coupon
      • Update Coupon
      • Get Coupon
      • Get Coupons
    • Configurations
      • Update Product Configurations
    • Create Product
    • Get Product
    • List all products
    • Update Product
  • Authentication
    • saaslogic token
      • Get the saaslogic access token
    • login Url
      • Gives the login URL
    • logout Url
      • Gives the logout URL
  • Countries
    • Get list of countries
  • Plans
    • Create Plan
    • Update Plan
    • Publish Plan
    • Get Plan
    • Get Plans
    • Withdraw Plan
    • Cancel Plan Change Order
    • List all plans for a product
  • Subscriptions
    • Get Subscriptions
    • Change subscription plan
    • Cancel the subscription
    • Refund amount calculation
    • Manage Addon
    • Skip Subscription Invoices
    • List Skip Subscription Invoice Requests
    • Cancel Skip Subscription Invoice Request
    • Enable Recurring Invoice
    • Create a product subscription
    • Retrieve a subscription
    • Create Customer and Subscription
    • Subscription with details permissions, menus and features
    • The Saaslogic URL for creating subscription
  • Usage Reporting
    • Report the resource usages in subscription for invoicing
    • Retrieves the resource usages of a subscription in the current billing cycle
  • Customers
    • addresses
      • Create an address
      • List all addresses
      • Update an address
      • Retrieve an address
      • Delete an address
    • contacts
      • Create a contact
      • List all contacts
      • Update a contact
      • Retrieve a contact
      • Delete a contact
    • Create a customer
    • List all customers
    • Update a customer
    • Retrieve a customer
    • Delete a customer
  • Vendors
    • vendor addresses
      • Create a vendor address.
      • List all vendor addresses.
      • Update a vendor address.
      • Retrieve a vendor address..
      • Delete a vendor address.
    • vendor contacts
      • Create a vendor contact.
      • List all vendor contacts.
      • Update a vendor contact.
      • Retrieve a vendor contact.
      • Delete a vendor contact.
    • vendor bills
      • Create a vendor bill
      • Cancel a vendor bill.
    • vendor bills payout
      • Update payment details to vendor bills.
    • Create a vendor
    • Update a vendor.
    • Activate a vendor.
    • Deactivate a vendor
  • Invoices
    • subscriptions
      • Get the invoices
      • Get the invoices by subscription
    • payments
      • Get Payment Transactions
        POST
      • Get Payment Transaction by Reference ID
        GET
      • Get Invoice Payments
        POST
      • Mark the invoice payment status
        POST
    • Approve the invoice
      PUT
    • Get Invoices
      POST
    • Refund amount calculation
      POST
    • Invoice Refund
      POST
    • Submit Bulk Invoice Refund
      POST
    • Submit Bulk Invoice Cancel
      POST
    • Get the invoice details .
      GET
    • Cancel the invoice
      POST
    • Send invoice as pdf with payment link.
      POST
    • Create an on-demand invoice
      POST
  • States
    • Get list of states
  • Addons
    • Create Addon
    • Update Addon
    • Publish Addon
    • Get Addon
    • Withdraw Addon
    • List all addons for a product
  • Submerchant
    • Create a submerchant
  • UOM
    • Create UOM
    • Update UOM
    • List UOMs
    • Get UOM
  • HostedPages
    • Disable Hosted Page
    • Enable Hosted Page
  • Configurations
    • Update Configurations
  • Integrations
    • Get Integrations
    • Update SMTP Integration
    • Save SMTP integration
  • Billing Frequencies
    • Billing Frequency
  • Schemas
    • Invoice
      • InvoiceSubscriptionDTO
      • InvoiceInfo
      • ExternalInvoicePaymentDTO
      • InvoiceDetail
      • InvoiceProduct
      • InvoiceLineItemDTO
      • BulkInvoiceRefundResponse
      • BulkInvoiceRefundRequest
      • InvoicePayment
      • InvoiceAttributeDTO
      • InvoiceRequestDTO
      • InvoiceRequestProduct
      • InvoiceRequestLineItem
      • InvoiceRequestLineItemTax
      • InvoiceRequestDiscount
      • InvoicePaginatedResponse
      • InvoiceRefundCalculationRequest
      • InvoiceRefundCalculationResponse
    • Vendor
      • Vendor
      • VendorContact
      • VendorAddress
      • VendorBill
    • Subscriptions
      • Skip Invoice
        • SkipInvoiceRequest
        • SkipInvoiceItem
        • SkipInvoiceResponse
      • SubscritpionPaginatedResponse
      • ChangeSubscriptionRequest
      • Subscription
      • ManageAddonRequest
      • ResourceQuantities
      • SubscriptionDiscount
    • Pagination
      • PageRequest
      • SortCriteria
      • FilterCriteria
      • Pagination
      • InvoiceList
      • PageResponse
    • Plan
      • UpdatePlan
      • CreatePlan
      • PlanSearchRequest
    • UOM
      • UOM
    • Product
      • ProductResource
      • AddonChargeDTO
      • AddonResourceDTO
      • ProductAddonDTO
      • ProductFeature
      • Product
      • Coupon
      • ProductAttribute
      • CouponSearchRequest
    • Integrations
      • SmtpIntegrationRequest
    • Payments
      • PaymentTransaction
      • PaymentTransactionResponse
    • Billing Frequencies
      • BillingFrequency
    • Addon
      • UpdateAddonDto
      • AddonResponseDto
    • AccessTokenResponse
    • ProductAPIKey
    • Country
    • CustomerAddress
    • PaymentInfo
    • CustomerWithSubscription
    • State
    • Addon
    • Customer
    • ExternalCancelSubscriptionRequest
    • RefundBreakdownItem
    • SubscriptionRefundCalculationResponse
    • SubscriptionRefundCalculationRequest
    • HostedPageAccessRequest
    • Submerchant
    • CustomerContact
    • ProratedRefundDetails
    • IntegationInfo
    • InvoiceCancelRequest
    • InvoiceCancelResponse
  1. payments

Get Invoice Payments

Developing
POST
/payments/fetch
Returns the successful payments a merchant has received against its customers' invoices, one record per payment applied to an invoice, with optional date, customer, invoice and payment method filters.

Request

Header Params

Body Params application/json

Examples

Responses

🟢200Success
application/json
Bodyapplication/json

Request Request Example
Shell
JavaScript
Java
Swift
curl --location '/payments/fetch' \
--header 'Authorization: Bearer {{bearerToken}}' \
--header 'Authorization: Bearer {{bearerToken}}' \
--header 'Accept: application/json' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
    "pagination": {
        "page": 0,
        "size": 50
    },
    "filters": [
        {
            "propertyName": "fromDate",
            "operation": "GREATER_THAN_OR_EQUAL",
            "value": "2026-11-01"
        },
        {
            "propertyName": "toDate",
            "operation": "LESS_THAN_OR_EQUAL",
            "value": "2026-11-30"
        },
        {
            "propertyName": "paymentMethod",
            "operation": "IN",
            "values": [
                "Credit/Debit Card",
                "Cheque",
                "Credit"
            ]
        }
    ],
    "sort": [
        {
            "propertyName": "paymentDate",
            "direction": "DESC"
        }
    ]
}'
Response Response Example
{
    "content": [
        {
            "paymentDate": [
                2026,
                11,
                14,
                10,
                32,
                5
            ],
            "paymentRefNumber": "pi_3QxYzAbCdEf",
            "paymentType": "Payment Gateway",
            "paymentMethod": "Credit/Debit Card",
            "paymentAmount": 1000,
            "invoiceId": "c41d9b7e-1a2b-4c3d-8e9f-0a1b2c3d4e5f",
            "invoiceNumber": "INV-0001001",
            "invoiceAmount": 1500,
            "currencyIsoCode": "USD",
            "customerId": "9585bba0-5cad-408d-a533-e7ef9134fe03",
            "customerName": "Acme Corp"
        },
        {
            "paymentDate": [
                2026,
                11,
                12,
                0,
                0
            ],
            "paymentRefNumber": "CHQ-55821",
            "paymentType": "Manual",
            "paymentMethod": "Cheque",
            "paymentAmount": 500,
            "invoiceId": "e63f1d90-3c4d-4e5f-a0b1-2c3d4e5f6071",
            "invoiceNumber": "INV-0000998",
            "invoiceAmount": 800,
            "currencyIsoCode": "USD",
            "customerId": "1b2c3d4e-5f60-7182-93a4-b5c6d7e8f901",
            "customerName": "Globex"
        },
        {
            "paymentDate": [
                2026,
                11,
                10,
                8,
                0
            ],
            "paymentType": "Customer Credit",
            "paymentMethod": "Credit",
            "paymentAmount": 500,
            "invoiceId": "c41d9b7e-1a2b-4c3d-8e9f-0a1b2c3d4e5f",
            "invoiceNumber": "INV-0001001",
            "invoiceAmount": 1500,
            "currencyIsoCode": "USD",
            "customerId": "9585bba0-5cad-408d-a533-e7ef9134fe03",
            "customerName": "Acme Corp"
        }
    ],
    "pageNumber": 0,
    "pageSize": 50,
    "totalElements": 3,
    "totalPages": 1,
    "first": true,
    "last": true,
    "numberOfElements": 3,
    "empty": false
}
Previous
Get Payment Transaction by Reference ID
Next
Mark the invoice payment status
Built with