Type alias RefundCreditLotResult

RefundCreditLotResult: {
    status: "reserved" | "existing";
    refundableMicro: number;
} | {
    status: "refused";
    reason: "not_found" | "not_paid" | "not_active" | "insufficient_refundable" | "conflict";
    refundableMicro: number;
}

A refund reservation's answer; refundableMicro is the lot's free paid principal at that moment. conflict: the refund id is reserved for another scope, lot or amount, and nothing is reserved for this request.

Type declaration

  • status: "reserved" | "existing"
  • refundableMicro: number

Type declaration

  • status: "refused"
  • reason: "not_found" | "not_paid" | "not_active" | "insufficient_refundable" | "conflict"
  • refundableMicro: number