B2B Customer Care - Data Objects

DOCS

Last updated: Aug 15th, 7:50am

Enums

Data Objects

AccountBalance

Details about the current value for the card/payment account.

AttributeDescription
cardUriOptional String
Unique identifier for a specific card.
availableBalanceOptional Double
The amount in the account at the moment. 100 char
availableCreditOptional Double
The amount of credit the card has available if additional credit is used with this card. 100 char
balanceAsOfDateOptional DateTime
The date when this balance was returned.
balanceErrorCodeOptional Integer
The code for any errors that were encountered when obtaining the balance.
balanceErrorMessageOptional String
The text of the error message from the error code that was encountered.

AdditionalCustomerInformation

AttributeDescription
keyRequired String
The name of a custom property.
valueRequired String
A specific setting for a custom property.

AdditionalData

AttributeDescription
keyRequired String
The name of a custom property.
valueRequired String
A specific setting for a custom property.

AdditionalDataValidation

AttributeDescription
maxLengthOptional Integer
The maximum field length for this value.
minLengthOptional Integer
The minimum field length for this value as appropriate for the payment type and property as well as whether the property is required.
regexOptional String
Sequence of characters that define the format of this additional metadata.

AdditionalHeaderValues

Additional metadata data needed to identify this event.

AttributeDescription
keyRequired String
The name of a custom property.
valueRequired String
A specific setting for a custom property.

AuditInfo

String fields available to track various information.

AttributeDescription
sourceRequired String
Indicates where the audit info comes from.
reasonCodeRequired String
A merchant-specific code used to identify the audito info type.
messageOptional String
Text for the audit info.
correlationIdOptional String
Merchant-supplied code to align this audit info internally.

B2bRequest

Identifies a request to the B2B gateway.

AttributeDescription
messageHeaderRequired MessageHeader
Header data that identifies the B2B call.

B2bResponse

Standard details about the response from the B2B Gateway.

AttributeDescription
messageHeaderRequired MessageHeader
Header data that identifies the B2B call.
configurationDetailsOptional ConfigurationDetails Enum
Communicates additional information relevant to the outcome of the call as a set of KeyValue pairs.
statusRequired Status
Conveys the results of a request, including any relevant errors

Card

Details required to describe this card/payment account.

AttributeDescription
accountUriRequired String
Unique identifier for this card (payment account).
paymentNetworkTypeUriRequired String
Unique identifier for the payment network for this card/payment account.
paymentAccountTypeUriRequired String
Unique identifier for the type of payment account for this card (payment account).
verificationStatusRequired Enum
Indicates where in the verification cycle this payment account is. Value values are:
VERIFIED
DELETED
PENDING_VERIFICATION
VERIFICATION_INITIATED
balanceUpdatesRequired Boolean
Indicates if the balance is updated.
displayWarningRequired Boolean
Indicates if a warning is displayed.
paymentAccountStateRequired Enum
Indicates the current state of the card (payment account). Valid values include:
ACTIVE
ABOUT_TO_EXPIRE
EXPIRED
additionalDataOptional AdditionalData
Entered in key/value pairs.
accountBalanceRequired AccountBalance
Current value in the account.
createDateRequired dateTime
Date the account was created.
modifiedDateRequired dateTime
Most recent date when the card/payment account was modified.
paymentNetworkTypeUriRequired String
Unique identifier for the payment network for this card/payment account.

CardDetails

A custom property value used to pass data about the card in key/value pairs.

AttributeDescription
keyRequired String
The name of a custom property.
valueRequired String
A specific setting for a custom property.

ConfigurationDetails

Key value pairs available to store configuration details. Not evaluated or used.

AttributeDescription
keyRequired String
Identifies the WLW platform on which the calling service is running, for example, Test, Production, or Staging.
valueRequired String
Identifies the WLW platform on which the calling service is running, for example, Test, Production, or Staging.

CustomerCardInfo

Details about the customer's card (payment account).

AttributeDescription
nickNameRequired String
The personal nickname given to the payment account by the user.
cardUriRequired String
The unique identifier for this card.
paymentNetworkTypeUriRequired String
Unique identifier that identifies the type of payment network for this device.
paymentAccountTypeUriRequired String
Unique identifier that identifies the type of payment account for this device.
verificationStatusRequired String
Status of whether the card has been verified. Valid valuesare:
VERIFIED
DELETED
PENDING_VERIFICATION
VERIFICATION_INITIATED
maskedCardNumberRequired String
The last four digits of the card used as an identifier.
createDateRequired dateTime
A UNIX Timestamp value representing the date on which the mobile wallet was registered.

CustomerDevice

Details that identify the customer's device.

AttributeDescription
deviceTypesInfoRequired Object
Instances of the DeviceTypesInfo object that defines the devices for this customer.
idRequired Long
An ID for the device.
activeRequired Boolean
Indicates whether the mobile wallet is functional or in a suspended state. Valid values are:
TRUE - Active
FALSE - Deactivated
createDateRequired dateTime
A UNIX timestamp value representing the date on which the mobile wallet was registered.
customerDeviceUriRequired String
The unique identifier for this customer’s device.
customerUriRequired String
The unique identifier of a registered mobile wallet user.
deletedRequired Boolean
Indicates if this device has been deleted from this customer.
deviceDescriptionRequired String
An informal name set by the customer to identify the device.
deviceUniqueIdRequired String
An alternative to uniquely identify the device for legacy systems that cannot support longer data values.
issuingPartnerUriRequired String
The unique identifier of the WLW partner that issued the mobile payments app for which the wallet is registered.
lastModifiedDateRequired dateTime
The most recent date on which the wallet was changed by this device.
lastLoginDateRequired dateTime
The most recent date on which the wallet was accessed by this device.
partnerUriRequired String
The unique identifier of the WLW partner under which the issuer is registered.

CustomerEmailInfo

Details about the customer's email.

AttributeDescription
activeBooleanRequired Boolean
Whether the mobile wallet is functional or in a suspended state. See retrieveCustomerLookupInfo - locked for more information. Valid values are:
TRUE - Active
FALSE - Deactivated
emailRequired String
The email address (username) under which the wallet is registered.
customerUriRequired String
The unique identifier of a registered mobile wallet user.

CustomerLookupInfo

Details about the customer.

AttributeDescription
devicesRequired Device
Instances of one or more mobile associated with the mobile wallet.
deviceUriRequired String
The unique identifier of the device.
deviceUniqueIdRequired String
An alternative to uniquely identify the device for legacy systems that cannot support longer data values.
deviceDescriptionRequired String
An informal name set by the customer to identify the device.
activeRequired Boolean
Indicates if the mobile wallet is functional or in a suspended state. Valid values are:
TRUE - Active
FALSE - Deactivated
lockedRequired Boolean
Indicates if the device is locked. A locked device or security profile means the customer used invalid credentials too many times. Note that this is different from the active attribute that means the account or device was explicitly deactivated via the B2B. Profiles or devices can be Active + Locked, Active + Unlocked, Inactive + Locked, but they cannot be Inactive+ Unlocked because when an account or device is explicitly deactivated that action also locks the security profile. Valid values are:
TRUE - Locked
FALSE - Unlocked
lastLoginDateRequired dateTime
The most recent date on which the wallet was accessed by this device.
additionalCustomerInformationOptional AdditionalCustomerInformation
Used to retrieve a variety of customer metadata via the B2B gateway in a KeyValue pair.
customerUriRequired String
The unique identifier of a registered mobile wallet user.
issuingPartnerUriRequired String
The unique identifier of the WLW partner that issued the mobile payments app for which the wallet is registered.
partnerUriRequired String
The unique identifier of the WLW partner under which the issuer is registered.
createDateRequired dateTime
A UNIX Timestamp value representing the date on which the mobile wallet was registered.
issuingPartnerShortNameRequired String
The common name for the issuing partner.
activeRequired Boolean
Indicates if the mobile wallet is functional or in a suspended state. See "locked" below for more information. Valid values:
TRUE - Active
FALSE - Deactivated
lockedRequired Boolean
A locked device or security profile means the customer used invalid credentials too many times. Note that this is different from the active attribute that means the account or device was explicitly deactivated via the B2B API. Profiles or devices can be Active + Locked, Active + Unlocked, Inactive + Locked, but they cannot be Inactive + Unlocked because when an account or device is explicitly deactivated that action also locks the security profile. Valid values are:
TRUE - Locked
FALSE - Unlocked
emailRequired String
The email address (username) under which the wallet is registered.
emailPendingOptional String
A new email address that was sent as a replacement but has not yet been verified.
customerIdOptionalString
A unique identifier for the customer assigned by WLW.
usernameRequired String
The email for this wallet user.
firstNameRequired String
The wallet owner’s first name. This parameter must be used in conjunction with at least one other parameter.
lastNameRequired String
The wallet owner’s last name.
address1Required String
The first line of the wallet owner’s street address.
address2Optional String
An optional second line to describe the address of the wallet owner.
cityRequired String
The city of the wallet owner’s address.
countryRequired String
The country of the wallet owner’s address.
stateRequired String
The postal state code for the state for the wallet user’s address. 2 char
zipRequired String
The postal zip code for the wallet user.
phoneRequired String
The phone number used to contact the wallet owner.
passwordChangedDateOptional dateTime
The date in UNIX Timestamp on which the wallet password was last updated. For a new customer, this is the date the customer was added.
passcodeChangedDateOptional dateTime
The date in UNIX timestamp on which the wallet passcode was last updated. For a new customer, this is the date the customer was added.
securityQuestionsChangedDateOptional dateTime
The date in UNIX timestamp on which the wallet security questions were last updated. For a new customer, this is the date the customer was added.
LastLoginDateOptional dateTime
The most recent date when the wallet owner logged in.
emailVerifiedRequired Boolean
Indicates if the email for this wallet user has been verified via a sent link. Valid values are true or false.
emailVerifiedDateOptional dateTime
The date on which the email of the wallet owner was verified via the sent link.

CustomerOfferInfo

AttributeDescription
offerUriRequired String
The unique identifier for an offer.
offerIdOptional String
An additional identifier for an offer.
offerCreatorNameOptional String
The name of the entity that created this offer.
expirationDateOptional dateTime
The date on which this offer is no longer redeemable.
offerProcessingPointOptional Enum
Indicates if the offer is processed at the POS or in the WLW cloud. Valid values are:
POS
PAYDIANT
skuItemsOptional Object
Complex object used to add the numbers of the SKU for items that are part of a reward offer for this campaign.
itemCodeRequired String
Code to identify the item.
offerCampaignExternalIdOptional String
Used to associate this offer to any identification that may be relevant for the merchant, such as the offer code on the POS system. If this value is not entered, a random value is automatically generated.
rewardTypeOptional Enum
Enum value for the kind of reward. Currently only one valid value:
VALUE_BASED_REWARD
offerDiscountAmountOptional Double
The amount by which the cost of an item is reduced when the associated offer is redeemed. This value represents a dollar amount. 100 char
offerDiscountPercentageOptional Double
The amount by which the cost of an item is reduced when the associated offer is redeemed. This value represents a percentage amount. 100 char
offerCombinableOptionalBoolean
Indicates if this offer can be combined with another offer in the wallet.
offerRefundableOptional Boolean
Indicates if their offer can be refunded if the customer cannot redeem it for some reason.
statusOptional Enum
Indicates the current status of the offer. Valid values are:
ACTIVE
REDEEMED
REDEEM_PENDING
EXPIRED
CANCELLED
REVERSAL_PENDING
REVERSAL_FAILED
VOID_PENDING
REFUND_PENDING

CustomerTransactionInfo

Details about the transaction.

AttributeDescription
merchantTransactionReferenceIdOptional String
Unique identifier that assigned by the merchant that distinguishes the service instance of this transaction.
terminalIdRequired String
Unique identifier of the specific POS terminal within a particular acceptance location.
locationRequired Object
Identifies the StoreInfo where the transaction took place.
transactionTypeRequired String
Identifies the type of transaction for the flow rule specified. Valid values are:
PURCHASE
REFUND
CASH_WITHDRAWAL
otherTransactionTypeDescriptionRequired String
When a transactionSubType of OTHER is specified, this attribute enables you to include additional information that may be relevant to the transaction, for example, donation or pre-order deposit. Used by the POS APIs, not the B2B Customer Care APIs.
offersOptional Object
The set of CustomerOfferInfo objects representing any price reductions that were redeemed for the transaction.
paymentsOptional Object
The set of PaymentInfo objects representing each individual payment authorization request made to complete the transaction. This set may include multiple paymentInfo instances for split or multi tender transactions.
instanceUriRequired String
Unique identifier for this instance.
paydiantTransactionRefIdContextual String
A unique transaction identifier generated by the WLW service. 36 char
receiptIdRequired String
A unique identifier assigned by the WLW host to associate receipt data with a specific transaction. 100 char
transactionStatusRequired String
The TransactionStatus for the current transaction.
receiptContextual Object
An instance of the Receipt object that informs the platform of the details required to generate a receipt for the transaction.
loyaltyAccrualActivityDeprecated LoyaltyAccrualActivity
Optional set of instances that define the coordinated adjustments that were made to a wallet user’s linked loyalty subscription in connection with the associated transaction.
totalAmountRequired Double
The total amount due for the transaction at the time of submission, after all adjustments have been applied. 100 char
discountAmountRequired Double
The amount of discount being applied in this transaction. 100 char
discountedAmountRequired Double
The newly calculated amount due after the discountAmount has been subtracted. 100 char
subtotalRequired Double
The amount of the purchase after discounts or tip adjustments have been applied, but before applicable tax has been added. 100 char
tipAmountRequired Double
The dollar amount added to the amount due based on the wallet user’s allocation of a gratuity. 100 char
taxRequired Double
The dollar amount added to the amount due based on required sales or meals tax calculations. 100 char

Device

Details that describe the device associated with a mobile wallet.

AttributeDescription
customerUriRequired String
The unique identifier of a registered mobile wallet user.
issuingPartnerUriRequired String
The unique identifier of the WLW partner that issued the mobile payments app for which the wallet is registered.
partnerUriRequired String
The unique identifier of the WLW partner under which the issuer is registered.
createDateRequired dateTime
A UNIX timestamp value representing the date on which the mobile wallet was registered.
deviceTypeRequired Enum
Indicates the type of device. Valid responses are:
iPhone - Phones made by Apple
Android - Phones made by Google.

DeviceTypesInfo

Details that describe the device.

AttributeDescription
deviceTypeUriRequired String
Unique identifier for a specific device.
displayNameRequired String
Name for the device to display when listing the device.
uniqueNameRequired String
Name for the device that is distinct from other devices that may be listed for this customer.

DoubleDeposit

Defines 2 values used to verify ownership of deposit accounts.

AttributeDescription
firstAmountRequired Double
Value for the first amount being deposited for verification.
secondAmountRequired Double
Value for the second amount being deposited for verification.

Error

AttributeDescription
errorCodeRequired Enum
An enum value that conveys the cause of failure for an API request. Valid values are:
ERR101- Syntax error
ERR102- Illegal operation
ERR103- Service not available.
ERR104- Partner not found
ERR105- Already exists
ERR106- Invalid Credentials
ERR107- Missing Required Data
errorMessageRequired String
A plain text message that explains the error code.

EventAttributes

Payload details about the event.

AttributeDescription
keyRequired String
The name of a custom property.
valueRequired String
A specific setting for a custom property.

LineItem

The information that uniquely identifies a a specific product that is included in a purchase or refund transaction.

AttributeDescription
categoryCodeRequired String
Unique identifier provided by the POS represents the group of products to which the line item belongs. 100 char
categoryDisplayNameRequired String
he name of the product group as it appears on the receipt, for example GRCY might represent products in the grocery category. 100 char
categoryNameRequired String
The descriptive name of the product group, such as grocery or clothing. 100 char
descriptionRequired String
The POS-generated description of the product represented in the line item, for example, red seedless grapes.
itemCountRequired String
The number of instances of this item represented in the line item total. 10 char
otherTransactionTypeDescriptionRequired String
In the event that a transactionSubType of OTHER is specified, this attribute provides a means to include additional information that may be relevant to the nature of the transaction, for example, donation or pre-order deposit.
unitPriceRequired Double
The purchase price associated with each individual instance of the line item. 100 char
amountRequired Double
The total cost of all instances of the product represented in the line item. 100 char

LoyaltyAccuralActivity

AttributeDescription
accrualActivityUriRequired String
Uniquely identifies an activity, as defined by the merchant, that qualifies the loyalty subscriber to earn points toward a reward program, such as a minimum purchase. 100 char
customerUriRequired String
The unique identifier of a mobile wallet user in the WLW platform. 100 char
loyaltyAccrualActivityTypeRequired Enum
An enum value that identifies the category of action that was completed to earn loyalty points. Valid values are:
EXTERNAL_ACTIVITY - Activity conducted outside of the mobile wallet, such as a social networking share.
ENROLLMENT - Initial subscription to the loyalty program.
PURCHASE - A qualified purchase.
REFUND - A refund of a purchase for which points were awarded. This type results in subtraction of points.
VOID_PURCHASE - A reversal of a completed, but not settled, purchase. This type results in subtraction of points.
VOID_REFUND - A reversal of a completed, but not settled, refund. If the refund subtracted previously awarded points, those points would be re-added.
loyaltyProgramUriRequired String
Uniquely identifies the loyalty program for which the activity is applicable. 100 char
paydiantReferenceIdRequired String
WLW’s unique identifier for the transaction. 10 char
pointsRequired Integer
The number of points involved in the loyalty activity instance. 100 char
refundPaydiantRefIdOptional String
WLW’s unique identifier for a refund transaction. 100 char
transactionAmountRequired Double
The dollar amount of the transaction that is associated with the loyalty activity.
transactionTimeOptional Date
The timestamp issued at the time the transaction completed.
transactionWeightRequired Integer
A multiplier used to calculate the value of the loyalty activity and the corresponding points. For example, if a loyalty program awards 2 points for every dollar spent, this value would equal 2. 100 char

LoyaltyAccrualActivityResult

Defines the result of an external loyalty program's activity.

AttributeDescription
loyaltyProgramUriRequired String
Uniquely identifies the loyalty program for which the activity is applicable. 100 char
pointsPostStatusRequired Enum
The current state of a point addition or subtraction. Valid values are:
POSTED
PENDING
FAILED
CANCELLED
pointsEarnedRequired Integer
The number of loyalty points added or subtracted based on the completion of the transaction. 100 char
pointsBalanceRequired Integer
The total number of points accrued at the time of the transaction. 100 char
rewardBalanceRequired Double
The value of the awards you have earned. For example, if you earn $5 for every 1000 points and you have 2500 points, this value equals 10.00.
pointsToRewardBalanceRequired Integer
The number of points still needed to meet the minimum amount required to redeem a reward. For example, if the minimum reward is 200 points, and the current balance is 75, this value is 25. 100 char
loyaltyAccrualActivityTypeRequired Enum
An enum value that identifies the category of action that was completed to earn loyalty points. Valid values are:

EXTERNAL_ACTIVITY - Activity conducted outside of the mobile wallet, such as a social networking share.
ENROLLMENT - Initial subscription to the loyalty program.
PURCHASE - A qualified purchase.
REFUND - A refund of a purchase for which points were awarded. This type results in subtraction of points.
VOID_PURCHASE - A reversal of a completed, but not settled, purchase. This type results in subtraction of points.
VOID_REFUND - A reversal of a completed, but not settled, refund. If the refund subtracted previously awarded points, those points would be re-added.
paydiantReferenceIdRequired String
WLW’s unique identifier for the transaction. 10 char.
refundPaydiantRefIdOptional String
WLW’s unique identifier for a refund transaction. 100 char.
transactionTimeOptional Date
The timestamp issued at the time the transaction completed.
transactionWeightRequired Integer
A multiplier used to calculate the value of the loyalty activity and the corresponding points. For example, if a loyalty program awards 2 points for every dollar spent, this value would equal 2. 100 char.

LoyaltyExternalActivity

Parameters of a loyalty activity program not managed in the WLW Platform.

AttributeDescription
externalActivityWeightRequired Integer
Multiplier used to calculate the value of the loyalty activity sent from the external activity program and the corresponding points. For example, if the external loyalty program awards 2 points for every dollar spent, this value would equal 2.
externalActivityTypeRequired Enum
Indicates the kind of external loyalty scheme used. Valid values are:
GAME_LEVEL_REACHED
SOCIAL_NETWORKING
ONDEMAND_AWARD
externalRefIdRequired Integer
Unique identifier for the external loyalty program.
externalRefIdRequired DateTime
Date on which the external loyalty activity posted. In UNIX timestamp format.

MessageHeader

Additional details about the call. These fields are for information only and are not evaluated.

AttributeDescription
partnerIdRequired String
The parent code generated by WLW that identifies the wallet issuer from which the API call originated.
messageIdRequired String
The code generated by the calling entity that identifies an API request.
versionIdRequired String
Identifies the version of the Customer Care API through which the call was made.
environmentIdRequired String
Identifies the WLW platform on which the calling service is running, for example, Test, Production, or Staging.

PaymentInfo

Details about the payment transaction.

AttributeDescription
paydiantReferenceIdRequired String
The unique identifier of the transaction within the WLW service.
currencyCodeRequired String
The CurrencyCode that identifies the monetary unit used for the transaction, as recognized by the ISO 4217 standard, for example,
USD = United States Dollar
paymentStatusRequired PaymentStatus
Describes the current status of the payment transaction.
paidOrRefundAmountRequired Double
Amount of the payment that has been paid or refunded.
paidOrRefundTimeRequired String
UNIX Timestamp of when the payment was paid or refunded. 12 char
paymentAccountNetworkUriRequired String
WLW’s identification of the tender associated with an originating payment authorization. This value is applicable for any transaction that represents a modification or continuation of a previously completed transaction or payment event, such as a void, refund, or split tender payment. 12 char
paymentAccountTypeUriRequired String
The unique identifier for the payment account type. 120 char
cardUriRequired String
The unique identifier for this card.
maskedCardNumberRequired String
The last four digits of the card used as an identifier.
merchantUriRequired String
The unique identifier for this merchant.
paymentAccountNetworkNameRequired String
The official name of the payment network that this card runs on, for example, VISA.
paymentAccountNickNameRequired String
The familiar name for this card, for example, BOAVisa
paymentAccountTypeNameRequired String
The kind of payment account this card represents, for example CREDIT.
paymentRefIdRequired String
The reference number used to identify this payment.

PaymentResponse

Includes the status of the payment in the standard B2B Response:
B2bResponse + PaymentStatus

PaymentStatus

String that conveys the results of the payment transaction.

AttributeDescription
codeRequired String
The code that describes the current state of payment transaction.
descriptionRequired String
Plain text description of the payment status.

QueryRequest

Criteria you can use to query a transaction. Adds the following query parameters to a B2bRequest.

AttributeDescription
startDateOptional dateTime
First date of the group of transactions you want to retrieve using UNIX timestamp.
endDateOptional dateTime
Last date of the group of transactions you want to retrieve in UNIX timestamp.
maxNumberOfRowsOptional String
The total number of rows that can be added to this group of transactions. Do not set the MaxNumberOfRows greater than the maximum number of rows configured by WLW which is currently 50 rows. If this value is not set, it defaults to the maximum number of rows allowed by WLW which is currently 50 rows.
startIndexOptional String
The record number of the first transaction in the collection. Used for pagination. Defaults to the first row if not provided.

QuestionAnswer

The question that will be posed.

AttributeDescription
questionRequired String
The question selected by the user to verify the user.
answerRequired String
The response required to verify the user.

QuestionDetail

The question that will be posed.

AttributeDescription
questionRequired String
The identifier for this question.
mandatoryRequired Boolean
Indicates if this question is required. Valid values are:
TRUE - This question must be answered to verify the applicationID.
FALSE - This question is not required.
newQuestionRequired Boolean
Indicates if this is question a new one that has not been stored previously. Valid values are:
TRUE - This is a new question.
FALSE - This is an existing question.

Receipt

Defines the metadata properties that the POS must provide to the WLW platform in order to generate a digital receipt for a mobile transaction.

AttributeDescription
cashierIdRequired String
Any merchant-assigned unique identifier of the employee who rang in the sale on the POS.
merchantRefundReceiptIdRequired String
The ID number generated by the merchant that identifies a refund receipt.
merchantTransactionRefIdRequired String
A unique transaction identifier generated by the POS for a merchant’s own tracking purposes. 36 char.
paydiantTransactionRefIdRequired String
A unique transaction identifier generated by the WLW service. 36 char
receiptIdRequired String
A unique identifier assigned by the WLW host to associate receipt data with a specific transaction. 100 char
secondaryIdentifierRequired String
A randomly generated access code submitted by the mobile wallet user in conjunction with payment selection for the purpose of confirming a pre-authorization charge.
terminalIdRequired String
Unique identifier of the specific POS terminal within a particular acceptance location. 8 char.
externalReceiptUrlRequired String
A URL where an external version of the receipt exists.
savingsOptional Double
The dollar amount by which the purchase total was reduced due to discounts, coupons, or other promotional reductions. 100 char.
subTotalRequired Double
The amount of the purchase after discounts or tip adjustments have been applied, but before applicable tax has been added. 100 char.
taxRequired Double
The dollar amount added to the amount due based on required sales or meals tax calculations. 100 char.
tipAmountRequired Double
The dollar amount added to the amount due based on the wallet user’s allocation of a gratuity. 100 char.
totalAmountRequired Double
The total amount due for the transaction at the time of submission, after all adjustments have been applied. 100 char.
offerDiscountRequired Double
The amount by which the cost of an item is reduced when the associated offer is redeemed. This value represents a dollar amount. 100 char.
taxRequired Double
The dollar amount added to the amount due based on required sales or meals tax calculations. 100 char.
tipAmountRequired Double
The dollar amount added to the amount due based on the wallet user’s allocation of a gratuity. 100 char.
totalAmountRequired Double
The total amount due for the transaction at the time of submission, after all adjustments have been applied. 100 char.
offerDiscountRequired Double
The amount by which the cost of an item is reduced when the associated offer is redeemed. This value represents a dollar amount. 100 char.
createDateRequired dateTime
Date the receipt was created.
itemsOptional Array
The set of LineItem objects that details each item included in the total purchase.
surchargeOptional Double
Dollar amount charged as a transaction fee, typically to cash withdrawals.

SKUItems

Used to add the numbers of the SKU for items that are part of a reward offer for a campaign.

AttributeDescription
itemCodeRequired String
Code to identify the item.

Status

AttributeDescription
statusCodeRequired Enum
Identifies the current state of an API call. Valid values are:
SUCCESS
PARTIAL_SUCCESS
PENDING_COMPLETION
FAILED
INVALID_DATA
FATAL_ERROR
TIMEOUT
INVALID_OPERATION
REQUIRED_DATA_MISSING
NOT_FOUND
ALREADY_EXISTS
INVALID_ARGUMENTS
statusDescriptionRequired String
A plain text message that further describes the nature of the status code to which it is associated.
errorRequired Error
Defines an error that occurred during processing of the call.

StoreInfo

Details that identify the store.

AttributeDescription
merchantNameOptional String
Name of the umbrella merchant for this store.
nameRequired String
Name of the store.
codeRequired String
Store code assigned by issuer.
acceptancePartnerUriOptional String
Unique identifier for the acceptance partner for this store location.
acceptanceLocationUriOptional String
Unique identifier for the physical location of this acceptance partner.
address1Optional String
The number and street of the physical address of the store location.
address2Optional String
Any secondary information about the position of the business within the street address, such as a suite number.
cityOptional String
The name of the city in which the store exists.
stateOptional String
A namespace value that identifies the US state in the postal address of an entity.
zipOptional String
A namespace value that identifies the postal zip code associated with an entity’s mailing or physical address.
countryOptional String
A value from the CountryCode enum that identifies the country of the acceptance location’s physical address.
phoneOptional String
A namespace value that specifies the phone contact number for the acceptance location.
transactionDateRequired dateTime
The UNIX Timestamp date on which the transaction took place.

TenderType

Details about the kinds of tenders used.

AttributeDescription
paymentAccountTypeNameOptional String
The name used to identify this tender type/payment account; for example Credit Card
paymentAccountTypeUriRequired String
The unique identifier that for this tender type/payment account.
paymentNetworkTypeNameOptional String
The name that identifies the type of Network this tender operates on.
paymentNetworkTypeUriRequired String
The unique identifier that identifies the payment network this tender type operates on.
networkTypeLabelRequired String
A text label used to identify the type of network.
imagePathRequired String
The unique identifier that identifies the payment network this tender type operates on.
messageKeyRequired String
The unique identifier that identifies the payment network this tender type operates on.
validateIINRequired Boolen
Indicates if the Issuer Identification Number (IIN) must be validated for this tender type. Valid values are:
TRUE - The IIN number must be validated.
FALSE - The IIN does not need to be validated for this tender type.
iinLengthOptional String
Indicates the number of characters permitted for the IIN for this tender type.
requireVerificationRequired Boolean
Specifies whether the property value requires revalidation upon any change to the payment account. Valid values are:
TRUE - The account must be re-validated if any change is made to the account
FALSE - Changes to this account do not require revalidation
supportsProvisioningRequired Boolean
Specifies whether the tender type is permitted to generate a new account for the wallet through the card provisioning feature.Valid values are:
TRUE - New accounts can be created using provisioning.
FALSE - Provisioning cannot be used to create new accounts.
metaDataOptional TenderTypeMetaData
Additional details or requirements of this payment type.

TenderTypeMetaData

Additional details or requirements about this payment type.

AttributeDescription
keyRequired String
Details about this metadata attribute. Allows metadata attribute and the values set here to be recognized by the SDK.
dataTypeRequired String
The type of data for this key, such as STRING, INTEGER, BOOLEAN.
nameOptional String
A plain language name used to refer to this metadata value such as Masked Card Number.
defaultValueOptional String
The setting for this value that will be used if no other value is entered.
maxLengthOptional Integer
The maximum field length for this value, for example if the metadata is zip code, the max length could be 5 while for a mobile phone the max length could be 10. Note: This attribute is validated before the request is processed and will throw an error if the specified criteria is not met.
minLengthOptional Integer
The minimum field length for this value as appropriate for the payment type and property as well as whether the property is required. For example, the card number of an AMEX card is 24 digits while the card number for a Visa card is 16, but if this property is not required, the minimum value would likely be 0. Note: This attribute is validated before the request is processed and will throw an error if the specified criteria is not met.
orderOptional Integer
Specifies the numerical sequence of the attribute so the UI controls can follow a logical progression.
pciEncryptionRequiredRequired Boolean
Indicates if the value must be encrypted in compliance with PCI sensistive data policies.
storageRestrictedRequired Boolean
Indicates if the value cannot be cached or stored in the app’s private data directory.
requiredRequired Boolean
Indicates if this value is required for this payment type. When set to true, a null value throws an error.
updatesAllowedRequired Boolean
Indicates if the user can change the value for this property during an update action. For example, when updating a payment account, the user can change the nickname but cannot change the card number.
reverificationRequiredRequired Boolean
Indicates if the value requires reverification upon any change to the payment account.
maskingRequiredRequired Boolean
Indicates if the payment account number must be hidden from view. When set to true, the card number is obscured up to the last 4 digits. For example XXXXXXXXXXXX4215.
ignoreForProvisioningRequired Boolean
Indicates if this metadata value should be disregarded when a new card account is generated for the wallet.
dataGroupOptional String
Identifies the category of information of the metadata. For example, CARD_INFORMATION, ISSUER_INFORMATION, BILLING_INFORMATION, etc.
additionalDataValuationRequired additionalDataValidation
An array of rules used to validate the metadata prior submission to the WLW service. For example, the rules can define if the value must be an exact character length or a future date. Each validation rule is defined by an individual dictionary object.

TransactionProcessingEvent

Details of the event.

AttributeDescription
eventReferenceIdRequired String
Unique id of the processing event used for this trigger.
eventTypeRequired String
The type of event used for this trigger.
transactionReferenceIdRequired String
Unique identifier of the transaction triggering the event.
eventAttributesOptional EventAttributes
KeyValues needed for the notification payload.
additionalHeaderValuesOptional AdditionalheaderValues
KeyValue used to transfer and additional metadata needed for the notification.

Enums and String Values

CountryCode

CodeCountry
USUnited States
CACanada
AUAustralia
ATAustria
BEBelgium
BRBrazil
CZCzech Republic
DKDenmark
FIFinland
FRFrance
DEGermany
GRGreece
IEIreland
ITItaly
LULuxembourg
NLNetherlands
NZNew Zealand
NONorway
PLPoland
PTPortugal
SISlovenia
ESSpain
SESweden
CHSwitzerland
ZASouth Africa
TRTurkey
GBGreat Britain

CurrencyCode

CodeCurrency
USDUnited States dollar
CADCanadian dollar
EUREuro
AUDAustralian dollar
BRLBrazilian Real
CZKCheck Koruna
DKKDanish Krone
NZDNew Zealand Dollar
NOKNorwegian Kroner
PLNPolish Zloty
ZARSouth Afrian Rand
SEKSwedish Krona
CHFSwiss Franc
TRYTurkish New Lira

TransactionStatus

A string value that identifies the current state of the transaction. These are the valid values for transactionStatus:

ValueDescription
BLOCKEDThe transaction was prevented from completing because it was waiting for some other process to complete.
CANCELEDThe transaction was stopped.
COMPLETETransaction is finished processing.
FAILEDTransaction did not complete.
FULL_REVERSALThe transaction was reversed.
INPROGRESSTransaction is still processing.
TIMEDOUTTransaction timed out.
VOIDTransaction was voided.