TanqoryDocs

TanqoryExtStoreCreditToolUserErrorCode

  • Enum
  • Customers and B2B

Why a store credit tool could not be used.

Values

ValueDescription
CREDIT_LIMIT_EXCEEDED

The transfer would take the target's balance over the credit limit.

DISABLED

The store credit tools are turned off for this platform.

EXPIRES_AT_IN_PAST

The new expiry date is not after now.

INSUFFICIENT_FUNDS

The account holds less than the amount.

INVALID_AMOUNT

The amount is not a number greater than zero.

MISMATCHING_CURRENCY

The amount's currency is not the account's.

NOTHING_LEFT

The credit has nothing left to change: spent, expired or moved already.

NOT_ALLOWED

Only a staff member can use the store credit tools (an app token cannot).

NOT_FOUND

No credit or account of this store has that id.

NO_CHANGE

The new expiry date is the one the credit already has.

OWNER_NOT_FOUND

The target customer or company location does not exist.

REASON_REQUIRED

The reason is blank.

SAME_OWNER

The target is the account's own owner.

Used in fields

Built from commit 0cac88ece6de · API version 2026-10