Interface GrantCreditLotInput

What grantCreditLot grants.

interface GrantCreditLotInput {
    scopeId: string;
    lotId?: string;
    kind: CreditLotKind;
    fundingRef: string;
    principalMicro: number;
    expiresAt?: null | number;
    at: number;
}

Properties

scopeId: string
lotId?: string

The lot's id; one is made when absent.

fundingRef: string

The confirmed payment or the promotion the lot is for; a second grant for it answers the first lot.

principalMicro: number
expiresAt?: null | number

When a promotion expires; null or absent for a lot that does not.

at: number