Skip to content

Refunds endpoints

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}

ParameterInTypeRequired
orgIdpathstringYes
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}

ParameterInTypeRequired
idpathstringYes
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);
  };
}