interface MicrotransactionProvider {
    account: null | {
        charges_enabled: boolean;
        country: null | string;
        id: string;
        merchant_name?: null | string;
        payouts_enabled: boolean;
        requirements_due: string[];
    };
    available: boolean;
    channels: string[];
    checked_at: null | string;
    configuration: MicrotransactionProviderConfiguration;
    configured: boolean;
    countries: string[];
    currencies: string[];
    enabled: boolean;
    environment: MicrotransactionEnvironment;
    minimum_amounts: Record<string, number>;
    payment_methods: string[];
    payout_account: {
        available: boolean;
        country: null | string;
        id: null | string;
        payouts_enabled: boolean;
        reasons: string[];
        requirements_due: string[];
        source: "managed" | "platform" | "user" | "community";
        transfers_active: boolean;
    };
    priority: number;
    provider: MicrotransactionProviderName;
    reasons: string[];
    revision?: number;
    tax: {
        missing_fields: string[];
        status: string;
    };
    tax_collection?: null | MicrotransactionTaxCollection;
    warnings?: string[];
}

Properties

account: null | {
    charges_enabled: boolean;
    country: null | string;
    id: string;
    merchant_name?: null | string;
    payouts_enabled: boolean;
    requirements_due: string[];
}

Type declaration

  • charges_enabled: boolean
  • country: null | string
  • id: string
  • Optional merchant_name?: null | string
  • payouts_enabled: boolean
  • requirements_due: string[]
available: boolean

Actual external provider/account capability, not a manual approval flag.

channels: string[]
checked_at: null | string
configured: boolean
countries: string[]
currencies: string[]
enabled: boolean
minimum_amounts: Record<string, number>
payment_methods: string[]
payout_account: {
    available: boolean;
    country: null | string;
    id: null | string;
    payouts_enabled: boolean;
    reasons: string[];
    requirements_due: string[];
    source: "managed" | "platform" | "user" | "community";
    transfers_active: boolean;
}

The game's payout target. Do not substitute the platform processing account's payouts_enabled.

Type declaration

  • available: boolean
  • country: null | string
  • id: null | string
  • payouts_enabled: boolean
  • reasons: string[]
  • requirements_due: string[]
  • source: "managed" | "platform" | "user" | "community"
  • transfers_active: boolean
priority: number
reasons: string[]
revision?: number
tax: {
    missing_fields: string[];
    status: string;
}

Type declaration

  • missing_fields: string[]
  • status: string
tax_collection?: null | MicrotransactionTaxCollection

Current route facts only. Never use these to reinterpret an existing order's frozen decision.

warnings?: string[]

Non-blocking collection warnings, separate from reasons and payout_account availability.

Generated using TypeDoc