PayFanout API reference
    Preparing search index...

    Interface GoCardlessBillingRequestLike

    Structural shapes of GoCardless REST resources (wire names, snake_case). GoCardless types its amounts and a subscription's interval as an integer or a string (oneOf), although these shapes say number: the adapter reads each through wireInteger before it reaches a PaymentInfo, a RefundInfo or a subscription record, so read those, not these fields.

    interface GoCardlessBillingRequestLike {
        created_at?: string;
        id: string;
        links?: {
            creditor?: string;
            customer?: string;
            mandate_request_mandate?: string;
            payment_request_payment?: string;
        };
        mandate_request?: { currency?: string; scheme?: string };
        metadata?: Record<string, string>;
        payment_request?: {
            amount?: number;
            currency?: string;
            description?: string;
            metadata?: Record<string, string>;
            scheme?: string;
        };
        status?: string;
    }
    Index
    created_at?: string
    id: string
    links?: {
        creditor?: string;
        customer?: string;
        mandate_request_mandate?: string;
        payment_request_payment?: string;
    }
    mandate_request?: { currency?: string; scheme?: string }
    metadata?: Record<string, string>
    payment_request?: {
        amount?: number;
        currency?: string;
        description?: string;
        metadata?: Record<string, string>;
        scheme?: string;
    }
    status?: string