Contains information for wallet authorization.

interface Authorization {
    accountId: string;
    cardAmount?: number;
    cardCurrency?: string;
    cardId?: string;
    cardPresence?: CardPresence;
    cardholderPresence?: CardholderPresence;
    challenge?: Challenge;
    creationTime?: string;
    customerAmount?: number;
    customerCurrency?: string;
    customerId: string;
    direction: AuthorizationDirection;
    fees?: SimpleFeePayment[];
    id: string;
    mcc?: number;
    merchantCity?: string;
    merchantCountry?: string;
    merchantName?: string;
    merchantState?: string;
    mobileWallet?: string;
    netAmount?: number;
    netCurrency?: string;
    panEntryMethod?: PanEntryMethod;
    responseCode?: string;
    slipId?: string;
    status: AuthorizationStatus;
    transactionAmount?: number;
    transactionCurrency?: string;
    type?: AuthorizationType;
}

Properties

accountId: string

Account Id associated with this authorization.

cardAmount?: number

The amount in the currency of the card, in minor units. Card currency and wallet currency are always USD in the USA. For the other markets, please reach out to your implementation manager.

cardCurrency?: string

Currency alphabetic code as specified by ISO 4217.

Example

"EUR"
cardId?: string

Card id.

cardPresence?: CardPresence

Card presence.

cardholderPresence?: CardholderPresence

Cardholder presence.

challenge?: Challenge

Challenge.

creationTime?: string

Creation time.

Format should be ISO 8601 in UTC. Represents RFC 3339, section 5.6 date-time.

Example

"2021-07-15T17:54:12Z"
customerAmount?: number

The transaction amount in wallet currency including all transactional fees, in minor units.

customerCurrency?: string

Currency alphabetic code as specified by ISO 4217.

Example

"EUR"
customerId: string

Wallet customer id.

Authorization direction.

Customer fees attached to the authorization, in minor units.

id: string

Authorization id.

mcc?: number

Merchant category code.

merchantCity?: string

Merchant city.

merchantCountry?: string

Merchant country. Represents ISO-3166 Alpha 2 country code.

Example

"GB"
merchantName?: string

Merchant name.

merchantState?: string

Merchant state.

mobileWallet?: string

Mobile wallet.

netAmount?: number

The net amount of the transaction in wallet currency, in minor units. Does not include any fees.

netCurrency?: string

Currency alphabetic code as specified by ISO 4217.

Example

"EUR"
panEntryMethod?: PanEntryMethod

Pan entry method.

responseCode?: string

Response code.

slipId?: string

ID of the settlement slip. Available only if the authorization is settled and a settlement transaction is created. The value can be used in a request to the transaction history endpoint to retrieve the settlement transaction.

Prepaid Card Authorization status.

transactionAmount?: number

The transaction amount at the point of sale, in minor units. Does not include any fees.

transactionCurrency?: string

Currency alphabetic code as specified by ISO 4217.

Example

"EUR"

Authorization transaction type.