PayOrc
Settlement

Settlement Details

Fetch detailed settlement breakdown including transaction-level details for reconciliation.

Settlement Details

Generate an API Key for Payment Link channel: Navigate to Developers → API Keys → Add new API key → Select HOSTED in the Channel Dropdown.

Endpoint

MethodURL
GEThttps://api.payorc.com/settlements/v1/details?settlement_id=id

Settlement APIs are available in live mode only. Requests made with test/sandbox credentials return Settlement is not available for test mode. Use your live merchant-key and merchant-secret.

Headers

FieldTypeDescription
merchant-keyStringYour merchant key (e.g. live-D111PIS13YK)
merchant-secretStringYour merchant secret (e.g. sec-JI11G0P13Z0)

Query Parameters

FieldTypeRequiredDescription
settlement_idStringYesThe settlement/payout ID to fetch details for. Returns Settlement ID is required if omitted and Invalid Settlement ID if not found.

This endpoint returns the full transaction list for the settlement. Pagination parameters are not currently applied.

Request

curl -X GET "https://api.payorc.com/settlements/v1/details?settlement_id=100001020" \
  -H "merchant-key: live-XXXXXXXXXX" \
  -H "merchant-secret: sec-XXXXXXXXXX"

Response (200)

{
  "data": {
    "submerchant_name": "Demo",
    "date": "15-04-2025",
    "payout_id": "1000010002",
    "sales_amount": "AED 2200.29",
    "total_tax": "AED 112.35",
    "settled_amount": "AED 2087.94",
    "status": "Settled",
    "transaction": [
      {
        "txn_date": "06-04-2025 17:33:14",
        "settlement_id": "1000010002",
        "payorc_order_id": "1000010445",
        "psp_ref_no": "030036755660",
        "settled_amount": "AED 2095.00",
        "mdr": "AED 84.80",
        "fee": "AED 0.00",
        "tax": "AED 4.24",
        "net_amount": "AED 2005.96",
        "settlement_date": "07-05-2025",
        "channel": "HOSTED",
        "email": "[email protected]",
        "status": "Settled"
      }
    ]
  },
  "message": "Success",
  "status": "success",
  "code": "00"
}

Amount fields are returned as currency-prefixed strings (e.g. AED 2200.29). There is no separate currency field. Dates use DD-MM-YYYY (with HH:mm:ss for txn_date).

Response Fields — Settlement Summary

FieldTypeDescription
submerchant_nameStringName of the submerchant
dateStringDate of payout statement (DD-MM-YYYY)
payout_idStringID of the payout
sales_amountStringTotal sales amount, currency-prefixed (e.g. AED 2200.29)
total_taxStringTotal tax amount, currency-prefixed
settled_amountStringSettled amount after deductions, currency-prefixed
statusStringSettled status
transactionArrayList of transaction details

Response Fields — Transaction Details

FieldTypeDescription
txn_dateStringTransaction date and time (DD-MM-YYYY HH:mm:ss)
settlement_idStringSettlement/payout ID this transaction belongs to
payorc_order_idStringOrder ID from PayOrc
psp_ref_noStringPSP reference number
settled_amountStringSettled amount for transaction, currency-prefixed
mdrStringMDR fee deducted for the transaction, currency-prefixed
feeStringAdditional fee charged, currency-prefixed
taxStringTax deducted for the transaction, currency-prefixed
net_amountStringNet amount after deductions, currency-prefixed
settlement_dateStringDate of settlement (DD-MM-YYYY)
channelStringChannel through which payment was processed
emailStringEmail associated with transaction
statusStringStatus of the transaction

On this page