Create Wallet

Create a new wallet. Note that in the Create Wallet and Add to Wallet, API calls, the assets may also be identified by their visual reference numbers. If the assetId does not interpret as a UUID, the system will attempt to resolve it as a visual reference number.

Authentication

x-np-api-keystring
API Key authentication via header

Path parameters

tenantstringRequired

Your Entra Tenant ID. More details.

environmentstringRequired

Your Business Central Environment. More details.

companystringRequired

Your Business Central Company. More details.

Headers

x-api-versiondateOptional

Used for API versioning. More details.

Request

This endpoint expects an object.
namestringOptional

A human-readable description of the wallet.

ticketslist of UUIDsOptional
memberCardslist of UUIDsOptional
couponslist of UUIDsOptional
voucherslist of UUIDsOptional
externalReferenceNumberslist of stringsOptional
originatesFromItemNostringOptional
The item number from which the wallet originates.

Response

This endpoint returns an object.
descriptionstring

A human-readable description of the wallet.

expiryDatetimestring
The expiry datetime of the wallet in ISO 8601 format. Use an empty string if not applicable.
lastPrintedAtstring
The datetime when the wallet was last printed in ISO 8601 format. Use an empty string if not applicable.
printCountinteger
The number of times the wallet has been printed.
referenceNumberstring
The visual reference number associated with the wallet.
walletIdUUID
A globally unique identifier for the wallet.
assetslist of objectsOptional
externalReferenceNumberstringOptional

The first external reference on the wallet that is neither blocked nor expired. null when there is none.

originatesFromDescriptionstringOptional
The item description from which the wallet originates.
originatesFromItemNostringOptional
The item number from which the wallet originates.