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
    • 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
      • Submit Bulk Invoice Refund
        POST
      • Mark the invoice payment status
        POST
    • Approve the invoice
      PUT
    • Get Invoices
      POST
    • Refund amount calculation
      POST
    • Invoice Refund
      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
  • Schemas
    • Invoice
      • InvoiceSubscriptionDTO
      • InvoiceInfo
      • InvoiceDetail
      • InvoiceProduct
      • InvoiceLineItemDTO
      • BulkInvoiceRefundRequest
      • BulkInvoiceRefundResponse
      • InvoicePayment
      • InvoiceAttributeDTO
      • InvoiceRequestDTO
      • InvoiceRequestProduct
      • InvoiceRequestLineItem
      • InvoiceRequestLineItemTax
      • InvoiceRequestDiscount
      • InvoicePaginatedResponse
      • InvoiceRefundCalculationRequest
      • InvoiceRefundCalculationResponse
    • Vendor
      • Vendor
      • VendorContact
      • VendorAddress
      • VendorBill
    • Subscriptions
      • Skip Invoice
        • SkipInvoiceRequest
        • SkipInvoiceItem
        • SkipInvoiceResponse
      • SubscritpionPaginatedResponse
      • ManageAddonRequest
      • Subscription
      • ResourceQuantities
      • ChangeSubscriptionRequest
      • 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
    • AccessTokenResponse
    • ProductAPIKey
    • Country
    • CustomerAddress
    • PaymentInfo
    • CustomerWithSubscription
    • State
    • Addon
    • RefundBreakdownItem
    • SubscriptionRefundCalculationResponse
    • SubscriptionRefundCalculationRequest
    • ExternalCancelSubscriptionRequest
    • Customer
    • CustomerContact
    • HostedPageAccessRequest
    • Submerchant
    • ProratedRefundDetails
    • IntegationInfo
  1. payments

Submit Bulk Invoice Refund

Developing
POST
/invoices/refunds/bulk
Submits refund requests for multiple invoices in a single API call and returns the bulk refund details along with the status of each individual invoice refund.

Request

Header Params

Body Params application/jsonRequired

Examples

Responses

🟢200Success
application/json
Bodyapplication/json

🔴500ErrorResponse
Request Request Example
Shell
JavaScript
Java
Swift
curl --location '/invoices/refunds/bulk' \
--header 'Authorization: Bearer {{bearerToken}}' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
    "reason": "Subscription Cancelled",
    "invoices": [
        {
            "invoiceId": "5b6808cc-8725-4184-8053-6f3b6cd1cb22"
        },
        {
            "invoiceId": "d2b4bc6d-ddc4-476a-a925-26d61014b68f",
            "refundAmount": 100
        },
        {
            "invoiceId": "06a2027c-dd4e-4aeb-87c0-2ee07fd765ff",
            "refundAmount": 30
        }
    ]
}'
Response Response Example
200 - Example 1
{
    "bulkRefundId": "BRF-0d284521-3d81-465c-a6ee-fa96bda9f26e",
    "status": "Accepted",
    "reason": "Subscription Cancelled",
    "totalCount": 3,
    "createdAt": "2026-10-30T05:28:20",
    "counts": {
        "Queued": 3
    },
    "items": [
        {
            "invoiceRefundId": "IRF-32dee2d3-b945-4957-a040-fdf4cf8871d6",
            "invoiceId": "5b6808cc-8725-4184-8053-6f3b6cd1cb22",
            "status": "Queued",
            "updatedAt": "2026-10-30T05:28:21"
        },
        {
            "invoiceRefundId": "IRF-e5c4e717-bbd1-43da-a19c-460aaf0988dd",
            "invoiceId": "d2b4bc6d-ddc4-476a-a925-26d61014b68f",
            "status": "Queued",
            "requestedAmount": 89.0,
            "updatedAt": "2026-10-30T05:28:21"
        },
        {
            "invoiceRefundId": "IRF-44e819e7-b236-496e-a858-a897ddc02824",
            "invoiceId": "06a2027c-dd4e-4aeb-87c0-2ee07fd765ff",
            "status": "Queued",
            "requestedAmount": 13.0,
            "updatedAt": "2026-10-30T05:28:21"
        }
    ]
}
Previous
Get the invoices by subscription
Next
Mark the invoice payment status
Built with