@cfxlabsinc/b2b-services
    Preparing search index...

    One vendor's outcome for one instrument.

    type PaymentInstrumentBackfillResult = {
        error?: string;
        id: string;
        outcome: "REGISTERED" | "ACTION_REQUIRED" | "SKIPPED" | "FAILED";
        type: BackfillInstrument["type"];
        vendor: PaymentInstrumentVendor;
        vendorId?: string;
    }
    Index
    error?: string

    Verbatim failure, surfaced to the operator, when outcome is FAILED.

    id: string
    outcome: "REGISTERED" | "ACTION_REQUIRED" | "SKIPPED" | "FAILED"

    REGISTERED: the vendor id was created and stored. ACTION_REQUIRED: the instrument lacks what the vendor needs and was set ACTION_REQUIRED. SKIPPED: withheld for a reason the customer cannot fix (a legacy row with no resolved bank); not retried. FAILED: the vendor refused it; left for an operator, and a re-run tries again. A vendor fault throws instead.

    type: BackfillInstrument["type"]
    vendorId?: string