@bebapps/rapyd-sdk
Version:
An un-official [Rapyd](https://rapyd.net) SDK for Node.js.
144 lines (143 loc) • 4.24 kB
text/typescript
export interface IssuedCardTransaction {
/**
* ID of the issued card transaction object. String starting with **cit_**.
*/
id: `cit_${string}`;
/**
* Amount of the transaction, in units defined in `currency`. Decimal, including the correct number of decimal places for the currency exponent, as defined in ISO 2417:2015. Response only.
*/
amount: number;
/**
* Authorization code sent to the merchant. Relevant to authorizations approved by Rapyd. Response only.
*/
auth_code: string;
/**
* Approver of the transaction when remote authorization is used. See [Remote Authorization](doc:remote-authorization). One of the following:
* - **Rapyd**
* - **Client**
*
* Response only.
*/
authorization_approved_by: 'Rapyd' | 'Client';
/**
* The first 6 digits of the card number. Response only.
*/
bin: string;
/**
* ID of the card. String starting with **card_**.
*/
card: `card_${string}`;
/**
* ID of the card. String starting with **card_**. Response only.
*/
card_id: `card_${string}`;
/**
* ID of the card program that the card is issued from. String starting with **cardprog_**. Response only.
*/
card_program: `cardprog_${string}`;
/**
* Time of creation of the transaction object, in [*Unix time*](ref:glossary). Response only.
*/
created_at: number;
/**
* The currency of the transaction. Three-letter ISO 4217 code. Uppercase. Response only.
*/
currency: (string)[];
/**
* Timestamp of the last transaction or later, in [*Unix time*](ref:glossary).
*/
end_date: number;
/**
* The exchange rate. Response only.
*/
fx_rate: string;
/**
* Type of the transaction. One of the following:
* - **sale**
* - **reversal**
* - **adjustment**
* - **refund**
*
* Response only.
*/
issuing_txn_type: 'sale' | 'reversal' | 'adjustment' | 'refund';
/**
* The last 4 digits of the card number. Response only.
*/
last4: string;
/**
* Transactions smaller than a specific amount.
*/
max_amount: number;
/**
* Four-digit merchant category code (MCC) of the initiator of the transaction, as defined in [ISO 18245](https://www.iso.org/standard/33365.html). Response only.
*/
merchant_category_code: string;
/**
* Name and location of the merchant. Maximum 40 characters. Response only.
*/
merchant_name_location: string;
/**
* Filters the results to return only transactions that have this string as part of the name or location.
*/
merchant_name_search: string;
/**
* Transactions greater than a specific amount.
*/
min_amount: number;
/**
* ID of the original card transaction. Response only.
*/
original_transaction_id: string;
/**
* Original amount for FX transactions, when `currency` is different from `original_txn_currency`. Response only.
*/
original_txn_amount: number;
/**
* Original currency in FX transaction. Three-letter ISO 4217 code. Response only.
*/
original_txn_currency: string;
/**
* Page number to retrieve.
*/
page_number: string;
/**
* Number of results per page.
*/
page_size: number;
/**
* The mode of the POS entry. One of the following:
* - **magstripe**
* - **manual_entered**
* - **emv**
* - **emv_standin**
* - **nfc**
* - **network_token**
* - **ecommerce**
* - **3ds_ecommerce**
* - **adjustment**
*
* Response only.
*/
pos_entry_mode: 'magstripe' | 'manual_entered' | 'emv' | 'emv_standin' | 'nfc' | 'network_token' | 'ecommerce' | '3ds_ecommerce' | 'adjustment';
/**
* Retrieval reference number for a card transaction. Appears in the response to [List Issued Card Transactions](ref:list-issued-card-transactions). Response only.
*/
retrieval_reference_number: string;
/**
* Timestamp of the first transaction or later, in [*Unix time*](ref:glossary).
*/
start_date: number;
/**
* Reserved.
*/
systems_trace_audit_number: string;
/**
* ID of the card transaction. String starting with **cit_**.
*/
transaction: `cit_${string}`;
/**
* ID of the wallet transaction. String starting with **wt_**. Response only.
*/
wallet_transaction_id: `wt_${string}`;
};