Retrieve platform fee refund(s)
Changed onThis is used to fetch a platform fee refunds by their platformFeeId
Request
- Base URLhttps://sandbox-api.ryftpay.com/v1
- URLhttps://sandbox-api.ryftpay.com/v1/platform-fees/{platformFeeId}/refunds
- AuthAPI key in header Authorization
Path parameters
PlatformFee to retrieve refunds for
Query parameters
Control the order (newest or oldest) in which the platform fee refunds are returned. false will arrange the results with newest first whereas true shows oldest first
Control how many platform fee refunds are returned in the result list. The max limit we allow is 25.
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 the platform fee refunds
Example response
{
"items": [
{
"id": "fr_01FM9XMMV1MYDG6NGMHPDE065N_01FM9XNFXDYXAT0BJN5BBN794B",
"platformFeeId": "pf_01FM9XMMV1MYDG6NGMHPDE065N",
"amount": 5,
"currency": "GBP",
"reason": "Requested by the customer",
"status": "Succeeded",
"createdTimestamp": 1470989538,
"lastUpdatedTimestamp": 1470989538
}
],
"paginationToken": "fr_01FM9XMMV1MYDG6NGMHPDE065N_01FM9XNFXDYXAT0BJN5BBN794B"
}Changes
- info
added the new optional
queryrequest parameterascending - info
added the new optional
queryrequest parameterlimit - info
added the new optional
queryrequest parameterstartsAfter - info
added the non-success response with the status
- info
added the optional property
to the response with the status
- info