Payment History

Returns every payment record for the org — wallet top-ups, subscription purchases, auto-recharges, auto-renewals — with tax breakdown, gateway info, and amounts in both billing currency and USD where applicable.

GET/v2.0/billing/payments

Query Parameters

Query

ParameterTypeDescription
statusstringPENDING | SUCCESS | FAILED
paymentForstringsubscription | wallet_topup | wallet_auto_recharge | subscription_auto_renew
pagenumber1-based page indexDefault: 1
limitnumberPage size (1–100)Default: 20

Example

cURL
curl -X GET "https://api.sendiee.com/v2.0/billing/payments?status=SUCCESS&limit=10" \
  -H "Authorization: Bearer YOUR_API_KEY"

Response

{
  "success": true,
  "data": [
    {
      "paymentId": "664a...",
      "orderId": "order_xyz_123",
      "amount": 3539.18,
      "baseAmount": 2999,
      "amountUSD": 39,
      "currency": "INR",
      "tax": {
        "gst": 540.18,
        "gstPercent": 18,
        "transactionCharge": 60,
        "transactionChargePercent": 2,
        "totalTax": 540.18
      },
      "status": "SUCCESS",
      "paymentFor": "subscription",
      "gateway": "razorpay",
      "subscriptionId": "664b...",
      "isRecurring": false,
      "createdAt": "2026-04-01T05:18:42.000Z"
    }
  ],
  "pagination": {
    "total": 12,
    "page": 1,
    "limit": 10,
    "totalPages": 2,
    "hasMore": true
  }
}