POST /admin/billing/refund-approval/{plan_id}/execute
Execute the actual refund operation for an approved refund approval, calling wallet-service to complete the debit/refund transaction.
Billing Service `bearerAuth` application/json
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
id |
path |
string |
Yes |
|
|
|
Refund approval ID |
Request Body
Schema: dto.ExecuteRefundRequest
| Field | Type | Required | Example | Constraints | Description |
user_id |
string |
Yes |
usr_abc123 |
|
|
Referenced Schemas
dto.ExecuteRefundDetailResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
data |
dto.ExecuteRefundResponse |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|
dto.ExecuteRefundResponse
| Field | Type | Required | Example | Constraints | Description |
amount |
number |
No |
99 |
|
|
refund_id |
string |
No |
ref_001 |
|
|
status |
string |
No |
completed |
|
|
wallet_transaction_id |
string |
No |
txn_def456 |
|
|
dto.SimpleResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|