Platform Management API
POST /services/platforms/v1/admin/subscriptions/refund/process-manual Auth

Mark a refund manually processed (escape hatch for Stripe-dashboard refunds)

Request Body Required

FieldTypeRequiredDescriptionExample
refund_request_id integer Yes 7
gateway_refund_id string
max: 255
Yes re_3Q4xY2L8aBcDeFgH
amount number
min: 0.01
Yes 9

Responses

500
200
422
404
403
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 string
Validation error
FieldTypeDescription
message string Errors overview.
errors object A detailed description of each field that failed validation.
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[]
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/process-manual" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{
    "refund_request_id": 7,
    "gateway_refund_id": "re_3Q4xY2L8aBcDeFgH",
    "amount": 9
}'
fetch('https://api.wemasy.nl/api/services/platforms/v1/admin/subscriptions/refund/process-manual', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    "refund_request_id": 7,
    "gateway_refund_id": "re_3Q4xY2L8aBcDeFgH",
    "amount": 9
})})
.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/process-manual', {
    "refund_request_id": 7,
    "gateway_refund_id": "re_3Q4xY2L8aBcDeFgH",
    "amount": 9
});
$data = $response->json();
import requests

headers = {
    "Authorization": "Bearer YOUR_API_TOKEN",
    "Accept": "application/json"
}
data = {
    "refund_request_id": 7,
    "gateway_refund_id": "re_3Q4xY2L8aBcDeFgH",
    "amount": 9
}
r = requests.post("https://api.wemasy.nl/api/services/platforms/v1/admin/subscriptions/refund/process-manual", headers=headers, json=data)
print(r.json())
Response Example
{
    "error": false,
    "message": "string",
    "data": {
        "refund_request": "string"
    }
}

Try It
Request Body Required

Export