Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
/v1/refunds/initiate
/v1/refunds/:refundId/status
{ "transactionId": "string", "amount": 25.0, "reason": "string", "refundType": "full | partial", "metadata": {} }
transactionId
amount
reason
refundType
metadata
{ "statusCode": 201, "success": true, "message": "Refund initiated successfully", "data": { "refundId": "string", "status": "pending | processing | completed", "estimatedProcessingTime": "string" } }
refundId
status
estimatedProcessingTime
{ "statusCode": 200, "success": true, "message": "Refund status retrieved successfully", "refund": { "refundId": "string", "originalTransactionId": "string", "amount": 25.0, "originalAmount": 50.0, "currency": "string", "status": "pending | processing | completed | failed", "refundType": "full | partial", "reason": "string", "initiatedBy": "string", "processedAt": "string", "createdAt": "string", "updatedAt": "string" } }
originalTransactionId
originalAmount
currency
initiatedBy
processedAt
createdAt
updatedAt
pending
processing
completed
failed
cancelled
full
partial
{ "statusCode": 400, "success": false, "message": "Refund amount cannot exceed original transaction amount" }
{ "statusCode": 404, "success": false, "message": "Original transaction not found" }
{ "statusCode": 409, "success": false, "message": "Transaction has already been fully refunded" }