saman-payment-pos
    Preparing search index...

    Function validateBill

    • Validate a bill id / payment id pair and decode what it means.

      Mirrors Common.ValidatePaymentId: both must be 6–13 digits after stripping leading zeros, the payment id's second-to-last digit must check over the payment id body, and its last digit must check over billId + paymentId body.

      Parameters

      • billIdRaw: string
      • paymentIdRaw: string

      Returns BillValidation