Search refunds
Search refunds by 'from' and 'to' date. The Authorisation token needs to be specified in the 'authorization' header as 'authorization: Bearer YOUR_API_KEY_HERE'
Query parameters
From date of refunds to be searched (this date is inclusive). Example=2015-08-13T12:35:00Z
To date of refunds to be searched (this date is exclusive). Example=2015-08-14T12:35:00Z
From settled date of refund to be searched (this date is inclusive). Example=2015-08-13
To settled date of refund to be searched (this date is inclusive). Example=2015-08-13
Page number requested for the search, should be a positive integer (optional, defaults to 1)
Number of results to be shown per page, should be a positive integer (optional, defaults to 500, max 500)
Response
OK
Example response
{
"total": 100,
"count": 20,
"page": 1,
"results": [
{
"refund_id": "act4c33g40j3edfmi8jknab84x",
"created_date": "2017-01-10T16:52:07.855Z",
"amount": 120,
"_links": {
"self": {
"href": "https://an.example.link/from/payment/platform",
"method": "GET"
},
"payment": {
"href": "https://an.example.link/from/payment/platform",
"method": "GET"
}
},
"status": "success",
"settlement_summary": {
"settled_date": "2016-01-21"
}
}
],
"_links": {
"self": {
"href": "https://an.example.link/from/payment/platform",
"method": "GET"
},
"first_page": {
"href": "https://an.example.link/from/payment/platform",
"method": "GET"
},
"last_page": {
"href": "https://an.example.link/from/payment/platform",
"method": "GET"
},
"prev_page": {
"href": "https://an.example.link/from/payment/platform",
"method": "GET"
},
"next_page": {
"href": "https://an.example.link/from/payment/platform",
"method": "GET"
}
}
}Changes
Changed in 8 of the 50 revisions of this API.3219
- ○
added the new optional
queryrequest parameterfrom_settled_datenew-optional-request-parameter
- ○
added the new optional
queryrequest parameterto_settled_datenew-optional-request-parameter
- ○
- ▲
removed the media type
application/jsonfor the response with the status200response-media-type-removed
- ▲
removed the media type
application/jsonfor the response with the status422response-media-type-removed
- ▲
removed the media type
application/jsonfor the response with the status500response-media-type-removed
- ○
the endpoint scheme security
Authorizationwas added to the APIapi-security-added
- ○
the endpoint scheme security
BearerAuthwas removed from the APIapi-security-removed
This revision also has 46 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
the endpoint scheme security
BearerAuthwas added to the APIapi-security-added
- ○
the endpoint scheme security
Authorizationwas removed from the APIapi-security-removed
- ○
added the media type
application/jsonfor the response with the status200response-media-type-added
- ○
added the media type
application/jsonfor the response with the status422response-media-type-added
- ○
added the media type
application/jsonfor the response with the status500response-media-type-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
api tag
Refunding card paymentsaddedapi-tag-added
- ○
api tag
Refunding paymentsremovedapi-tag-removed
- ○
- ○
api tag
Refunding paymentsaddedapi-tag-added
- ○
api tag
Refundsremovedapi-tag-removed
- ○
- ○
api operation id
searchRefundsremoved and replaced withSearch refundsapi-operation-id-removed
- ○
- ○
api tag
Refundsaddedapi-tag-added
- ○
api tag
refundsremovedapi-tag-removed
- ○
- ●
deleted the
queryrequest parameterfrom_settled_daterequest-parameter-removed
- ●
deleted the
queryrequest parameterto_settled_daterequest-parameter-removed
- ○
api operation id
Search refundsremoved and replaced withsearchRefundsapi-operation-id-removed
- ○
api tag
refundsaddedapi-tag-added
- ○
api tag
Refunding card paymentsremovedapi-tag-removed
- ●