feat(refunds_v2): Add Refunds Retrieve and Refunds Sync Core flow (#7835)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Amey Wale
2025-05-07 12:04:39 +05:30
committed by GitHub
parent f11de00f6e
commit a289f19cd0
12 changed files with 470 additions and 14 deletions

View File

@ -3265,6 +3265,47 @@
]
}
},
"/v2/refunds/{id}": {
"get": {
"tags": [
"Refunds"
],
"summary": "Refunds - Retrieve",
"description": "Retrieves a Refund. This may be used to get the status of a previously initiated refund",
"operationId": "Retrieve a Refund",
"parameters": [
{
"name": "id",
"in": "path",
"description": "The identifier for refund",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Refund retrieved",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/RefundResponse"
}
}
}
},
"404": {
"description": "Refund does not exist in our records"
}
},
"security": [
{
"api_key": []
}
]
}
},
"/v2/process_tracker/revenue_recovery_workflow/{revenue_recovery_id}": {
"get": {
"tags": [