Application Load

IOrderPaymentMethodsResponse

The physical TypeScript declaration from the Nuxt starter, with linked types and field comments.

IOrderPaymentMethodsResponse

page_data is a dictionary of IPaymentMethod records keyed by method ID.

interfaces/orionplace/orders/IOrderActions.ts
TypeScript
export interface IOrderPaymentMethodsResponse {
  // Field/general errors.
  form_errors: Record<string, ApiFormError[]> | null;
  // Success message or null.
  success_message: string | null;
  // `page_data` is a dictionary of `IPaymentMethod` records keyed by method ID.
  page_data: Record<string, IPaymentMethod> | null;
}