2 endpoints at https://api.vaif.studio, generated from the API's OpenAPI document. The REST API page covers authentication, and All endpoints lists every group.
GET /refunds/org/{orgId}
| Parameter | In | Type | Required |
|---|
orgId | path | string | Yes |
Response 200 (application/json)
{
refunds: {
id: string;
orgId: string;
stripeRefundId: null | string;
stripeChargeId: null | string;
stripePaymentIntentId: null | string;
amount: number;
currency: string;
status: string;
reason: string;
description: null | string;
refundedByUserId: null | string;
metadata: any;
createdAt: string (date-time);
updatedAt: string (date-time);
}[];
}
GET /refunds/{id}
| Parameter | In | Type | Required |
|---|
id | path | string | Yes |
Response 200 (application/json)
{
refund: {
id: string;
orgId: string;
stripeRefundId: null | string;
stripeChargeId: null | string;
stripePaymentIntentId: null | string;
amount: number;
currency: string;
status: string;
reason: string;
description: null | string;
refundedByUserId: null | string;
metadata: any;
createdAt: string (date-time);
updatedAt: string (date-time);
};
}