Skip to content
Coritan Docs

Organization API: Customer Portal: Refund requests

The 2 Organization API operations for refund requests.

View as Markdown

Part of Customer Portal.

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

GET /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.

Name In Type Required
org_slug path string yes
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 pending

POST /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.

Name In Type Required
request_id path integer yes
org_slug path string yes
Status Meaning
200 Success.
422 The request is not valid. detail lists each problem.