Get Commissions
Retrieves commission configurations with comprehensive filtering capabilities.
This endpoint returns commission rates for various transaction types, currencies, and customers, allowing partners to view their commission structures and overrides.
Endpoint
GET/v2/billing/commission
Link
Request
Authentication
An API key is required for authentication. Include it in the Authorization header.
Header:
AuthorizationValue: Your API key token
HTTP Method & URL
Method:
GETURL:
https://stagep.tst-apidmndelss.com/v2/billing/commission
Query Parameters
Currency & Transaction Filters
currencyIsoFrom
string
Source currency ISO code.
No
USD
currencyIsoTo
string
Target currency ISO code.
No
EUR
operationType
string
Type of operation (see values).
No
TRANSFER
paymentType
string
Payment method type (see values).
No
SWIFT
Customer Filters
customerCuid
string
Customer identifier.
No
cust_abc123
customerName
string
Customer name.
No
Acme Corp
withAllCustomers
boolean
Include all customers.
No
true
Date Range Filters
fromCreatedAt
string
Start creation date (ISO format).
No
2024-01-01T00:00:00Z
toCreatedAt
string
End creation date (ISO format).
No
2024-03-31T23:59:59Z
fromUpdatedAt
string
Start update date (ISO format).
No
2024-01-01T00:00:00Z
toUpdatedAt
string
End update date (ISO format).
No
2024-03-31T23:59:59Z
Operation Type Values
NOTSET- No specific typeDEPOSIT- Deposit operationsTRANSFER- Transfer operationsWITHDRAW- Withdrawal operationsCOMMISSION- Commission operationsEXCHANGE- Currency exchangeCORRECTING- Correction operations
Payment Type Values
PAYMENT_TYPE_NOT_SET- No specific payment typeEMPTY- Empty payment typeACH- Automated Clearing HouseFEDWIRE- Fedwire transfersSWIFT- SWIFT transfersCRYPTO- CryptocurrencyEFT- Electronic Funds TransferSEPA_CT- SEPA Credit TransferIMPS- Immediate Payment Service
Headers
Authorization
Bearer <JWT>
Yes
Accept
application/json
Yes
Response (200 OK)
Returns an array of commission configurations matching the filter criteria.
Response Fields
Commission Object (items[])
currencyIsoFrom
string
Source currency ISO code.
USD
currencyIsoTo
string
Target currency ISO code.
EUR
operationType
string
Operation type.
TRANSFER
paymentType
string
Payment method type.
SWIFT
createdAt
string
Commission creation timestamp.
2024-01-15T10:30:00Z
updatedAt
string
Last update timestamp.
2024-03-20T14:22:00Z
customerCuid
string
Customer identifier.
cust_abc123
customerName
string
Customer name.
Acme Corporation
Commission Structure (commission)
partner
object
Partner-specific commission rates.
→ percent
number
Percentage commission rate.
0.5
→ fixed
number
Fixed commission amount.
2.5
default
object
Default system commission rates.
→ percent
number
Percentage commission rate.
1.0
→ fixed
number
Fixed commission amount.
5.0
Example Response:
Examples
Basic Commission Query (cURL)
Filter by Currency and Operation
Filter by Customer and Date Range
Error Responses
Unauthorized:
Invalid Date Format:
Invalid Operation Type:
Notes
Commission Hierarchy
Partner rates: Custom rates specific to your partner account
Default rates: Base rates that apply when no partner rates exist
Customer-specific overrides: Rates that apply to specific customers
Filtering Logic
Multiple filters are combined with AND logic
Omitted filters return all matching records
Date ranges are inclusive
Currency filters can be used for conversion rate commissions
Best Practices
Cache commission data to reduce API calls
Use specific filters to narrow down results
Monitor
updatedAtfor changes in commission structuresHandle null customer fields for general commission rates
Common Use Cases:
Displaying commission rates in partner dashboards
Calculating expected earnings from transactions
Auditing commission structures and changes
Customer-specific rate negotiations
Rate Calculation Example: For a $1000 transfer with 0.5% + $2.50 commission:
Data Freshness:
Commission rates may change based on market conditions
Always use the latest rates for accurate calculations
Consider implementing rate change notifications
Request sample
Response sample
Last updated

