Platform Management API
POST /services/platforms/v1/admin/subscriptions/refund/reopen Auth

Reopen a denied refund request for re-review

Request Body Required

FieldTypeRequiredDescriptionExample
refund_request_id integer Yes 9
note string|null
max: 2000
No Customer reached out again with proof of the bug, granting partial.

Responses

500
200
404
403
422
401
429
Internal server error
Headers
HeaderTypeDescriptionExample
X-RateLimit-Limit integer Maximum number of requests allowed per minute 60
X-RateLimit-Remaining integer Number of requests remaining in the current window 57
FieldTypeDescription
error boolean
message string
data mixed[]
Successful response
Headers
HeaderTypeDescriptionExample
X-RateLimit-Limit integer Maximum number of requests allowed per minute 60
X-RateLimit-Remaining integer Number of requests remaining in the current window 57
FieldTypeDescription
error boolean
message string
data object
data.refund_request object
Resource not found
Headers
HeaderTypeDescriptionExample
X-RateLimit-Limit integer Maximum number of requests allowed per minute 60
X-RateLimit-Remaining integer Number of requests remaining in the current window 57
FieldTypeDescription
error boolean
message string
data mixed[]
Forbidden — insufficient permissions
Headers
HeaderTypeDescriptionExample
X-RateLimit-Limit integer Maximum number of requests allowed per minute 60
X-RateLimit-Remaining integer Number of requests remaining in the current window 57
FieldTypeDescription
error boolean
message string
data mixed[]
Validation error
FieldTypeDescription
message string Errors overview.
errors object A detailed description of each field that failed validation.
Unauthenticated — missing or invalid Bearer token
Headers
HeaderTypeDescriptionExample
X-RateLimit-Limit integer Maximum number of requests allowed per minute 60
X-RateLimit-Remaining integer Number of requests remaining in the current window 57
FieldTypeDescription
error boolean
message string
Too Many Requests — rate limit exceeded
Headers
HeaderTypeDescriptionExample
X-RateLimit-Limit integer Maximum number of requests allowed per minute 60
X-RateLimit-Remaining integer Number of requests remaining in the current window 57
Retry-After integer Seconds until the rate limit resets 60
FieldTypeDescription
error boolean
message string
Base URL
https://api.wemasy.nl/api
Authentication

Request Sample
cURL
JS
PHP
Python
curl -X POST "https://api.wemasy.nl/api/services/platforms/v1/admin/subscriptions/refund/reopen" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{
    "refund_request_id": 9,
    "note": "Customer reached out again with proof of the bug, granting partial."
}'
fetch('https://api.wemasy.nl/api/services/platforms/v1/admin/subscriptions/refund/reopen', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    "refund_request_id": 9,
    "note": "Customer reached out again with proof of the bug, granting partial."
})})
.then(r => r.json())
.then(data => console.log(data));
$response = Http::withToken('YOUR_API_TOKEN')
    ->accept('application/json')
    ->post('https://api.wemasy.nl/api/services/platforms/v1/admin/subscriptions/refund/reopen', {
    "refund_request_id": 9,
    "note": "Customer reached out again with proof of the bug, granting partial."
});
$data = $response->json();
import requests

headers = {
    "Authorization": "Bearer YOUR_API_TOKEN",
    "Accept": "application/json"
}
data = {
    "refund_request_id": 9,
    "note": "Customer reached out again with proof of the bug, granting partial."
}
r = requests.post("https://api.wemasy.nl/api/services/platforms/v1/admin/subscriptions/refund/reopen", headers=headers, json=data)
print(r.json())
Response Example
{
    "error": false,
    "message": "string",
    "data": {
        "refund_request": {
            "id": 0,
            "ticket_id": 0,
            "subscription_id": 0,
            "invoice_id": 0,
            "refund_invoice_id": 0,
            "requested_by_user_id": 0,
            "reviewed_by_user_id": 0,
            "amount_cents": 0,
            "currency": "string",
            "status": "string",
            "reason_code": "string",
            "reason_comment": "string",
            "gateway_refund_id": "string",
            "gateway_response": [],
            "denied_reason": "string",
            "approved_at": "string",
            "denied_at": "string",
            "processed_at": "string",
            "failed_at": "string",
            "failure_reason": "string",
            "stuck_alerted_at": "string",
            "created_at": "string",
            "updated_at": "string"
        }
    }
}

Try It
Request Body Required

Export