Refund
Retrieve all refunds
Retrieve all refund resources of an existing transaction including their attributes.
get/v2/transactions/{ratepay_transaction_id}/refunds
Request
- Base URLhttps://api-integration.ratepay.com/transaction/management
- URLhttps://api-integration.ratepay.com/transaction/management/v2/transactions/{ratepay_transaction_id}/refunds
- AuthHTTP bearer
Path parameters
ratepay_transaction_idstring required
ID of transaction to retrieve. Get an overview of key identifiers used in payment API.
Headers
Prefer'return=representation'
According to RFC 7240: Provide return=representation if you prefer that the response to a request includes the current state of the resource.
X-Partnerstring
The partner ID for the operation is required only when using a single credential set for multiple integrations, such as countries or brands associated with one company.
Response
Refunds retrieved
Example response
{
"_embedded": {
"refunds": [
{
"_links": {
"self": {
"href": "https://api-integration.ratepay.com/transaction/management/v2/transactions/scwBgARW-nE93I7_ywhp/refunds/9FkZsddr-MaFFFx7gAs_"
}
},
"ratepay_refund_id": "9FkZsddr-MaFFFx7gAs_"
}
]
},
"_links": {
"self": {
"href": "https://api-integration.ratepay.com/transaction/management/v2/transactions/scwBgARW-nE93I7_ywhp"
}
},
"ratepay_transaction_id": "scwBgARW-nE93I7_ywhp"
}Changes
No recorded changes to this operation across all 3 revisions of this API.