Organization API: Customer Portal: Refund requests
The 2 Organization API operations for refund requests.
Part of Customer Portal.
Operations
Section titled Operations| Method | Path | Summary |
|---|---|---|
| GET | /api/v1/orgs/{org_slug}/portal/refund-requests |
List my refund requests |
| POST | /api/v1/orgs/{org_slug}/portal/refund-requests/{request_id}/withdraw |
Withdraw one of your refund requests while it is still pending |
List my refund requests
Section titled List my refund requestsGET /api/v1/orgs/{org_slug}/portal/refund-requests
Your refund requests, newest first, under items: the ones you sent and
the ones staff opened for you. Each has its
status (pending, approved, rejected, withdrawn or failed),
the invoice_id and invoice_number, the amount, and the staff's
decision_note once decided.
Parameters
Section titled Parameters| Name | In | Type | Required |
|---|---|---|---|
org_slug |
path | string | yes |
Responses
Section titled Responses| Status | Meaning |
|---|---|
200 |
Success. |
422 |
The request is not valid. detail lists each problem. |
Withdraw one of your refund requests while it is still pending
Section titled Withdraw one of your refund requests while it is still pendingPOST /api/v1/orgs/{org_slug}/portal/refund-requests/{request_id}/withdraw
Withdraw one of your refund requests while it is still pending. The
answer is the request, now withdrawn; 400 once staff have decided it.
Parameters
Section titled Parameters| Name | In | Type | Required |
|---|---|---|---|
request_id |
path | integer | yes |
org_slug |
path | string | yes |
Responses
Section titled Responses| Status | Meaning |
|---|---|
200 |
Success. |
422 |
The request is not valid. detail lists each problem. |