mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-28 12:15:40 +08:00
feat(refunds_v2): Add refunds list flow in v2 apis (#7966)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -3306,6 +3306,43 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"/v2/refunds/list": {
|
||||
"get": {
|
||||
"tags": [
|
||||
"Refunds"
|
||||
],
|
||||
"summary": "Refunds - List",
|
||||
"description": "To list the refunds associated with a payment_id or with the merchant, if payment_id is not provided",
|
||||
"operationId": "List all Refunds",
|
||||
"requestBody": {
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/RefundListRequest"
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": true
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "List of refunds",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/RefundListResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"security": [
|
||||
{
|
||||
"api_key": []
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"/v2/process_tracker/revenue_recovery_workflow/{revenue_recovery_id}": {
|
||||
"get": {
|
||||
"tags": [
|
||||
@ -20502,13 +20539,11 @@
|
||||
"nullable": true
|
||||
},
|
||||
"refund_id": {
|
||||
"type": "string",
|
||||
"description": "The identifier for the refund",
|
||||
"nullable": true
|
||||
},
|
||||
"profile_id": {
|
||||
"type": "string",
|
||||
"description": "The identifier for business profile",
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/components/schemas/common_utils.id_type.GlobalRefundId"
|
||||
}
|
||||
],
|
||||
"nullable": true
|
||||
},
|
||||
"limit": {
|
||||
@ -20539,7 +20574,7 @@
|
||||
"description": "The list of connectors to filter refunds list",
|
||||
"nullable": true
|
||||
},
|
||||
"merchant_connector_id": {
|
||||
"connector_id_list": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
|
||||
Reference in New Issue
Block a user