Platform Fees
Retrieves your platform fees in sorted (by epoch) order
Changed onRetrieves a list of the application fees you've collected. They are returned in sorted (by epoch) order (default is newest first)
get/platform-fees
Request
- Base URLhttps://sandbox-api.ryftpay.com/v1
- URLhttps://sandbox-api.ryftpay.com/v1/platform-fees
- AuthAPI key in header Authorization
Query parameters
ascendingboolean
Control the order (newest or oldest) in which the platform fees are returned. false will arrange the results with newest first whereas true shows oldest first
limitinteger
Example:20
Control how many platform-fees are returned in the result list. The max limit we allow is 50.
startsAfterstring
Example:pf_01FCTS1XMKH9FF43CAFA4CXT3P
A token to identify the previous item to start querying after. The value of the paginationToken field from that response should be supplied here, to retrieve the next page of results.
Response
Successfully retrieved your platform fees
Example response
{
"items": [
{
"id": "pf_01FCTS1XMKH9FF43CAFA4CXT3P",
"paymentSessionId": "ps_01JJPPAZTNN38EMDJ72FASHE7R",
"amount": 40,
"paymentAmount": 450,
"processingFee": 7,
"refundedAmount": 45,
"netAmount": 33,
"currency": "GBP",
"fromAccountId": "ac_b83f2653-06d7-44a9-a548-5825e8186004",
"createdTimestamp": 1470989538
}
],
"paginationToken": "pf_01FCTS1XMKH9FF43CAFA4CXT3P"
}Changes
- info
added the new optional
queryrequest parameterstartsAfter - info
added the optional property
to the response with the status
- info