@paciolan/cybersource-sdk
Version:
CyberSource REST API Typescript SDK
63 lines (62 loc) • 5.92 kB
TypeScript
/**
* CyberSource Merged Spec
* All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
*
* OpenAPI spec version: 0.0.1
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
import { PtsV2PaymentsPost201ResponseProcessorInformationMerchantAdvice } from './pts-v2-payments-post201-response-processor-information-merchant-advice';
import { PtsV2PaymentsPost201ResponseProcessorInformationSellerProtection } from './pts-v2-payments-post201-response-processor-information-seller-protection';
/**
*
* @export
* @interface PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformation
*/
export interface PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformation {
/**
* Authorization code. Returned only when the processor returns this value. The length of this value depends on your processor. Returned by authorization service. #### PIN debit Authorization code that is returned by the processor. Returned by PIN debit credit. #### Elavon Encrypted Account Number Program The returned value is OFFLINE. #### TSYS Acquiring Solutions The returned value for a successful zero amount authorization is 000000.
* @type {string}
* @memberof PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformation
*/
approvalCode?: string;
/**
* Network transaction identifier (TID). You can use this value to identify a specific transaction when you are discussing the transaction with your processor. Not all processors provide this value. Returned by the authorization service. #### PIN debit Transaction identifier generated by the processor. Returned by PIN debit credit. #### GPX Processor transaction ID. #### Cielo For Cielo, this value is the non-sequential unit (NSU) and is supported for all transactions. The value is generated by Cielo or the issuing bank. #### Comercio Latino For Comercio Latino, this value is the proof of sale or non-sequential unit (NSU) number generated by the acquirers Cielo and Rede, or the issuing bank. #### CyberSource through VisaNet and GPN For details about this value for CyberSource through VisaNet and GPN, see \"Network Transaction Identifiers\" in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) #### Moneris This value identifies the transaction on a host system. It contains the following information: - Terminal used to process the transaction - Shift during which the transaction took place - Batch number - Transaction number within the batch You must store this value. If you give the customer a receipt, display this value on the receipt. **Example** For the value 66012345001069003: - Terminal ID = 66012345 - Shift number = 001 - Batch number = 069 - Transaction number = 003
* @type {string}
* @memberof PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformation
*/
transactionId?: string;
/**
* For most processors, this is the error message sent directly from the bank. Returned only when the processor returns this value. **Important** Do not use this field to evaluate the result of the authorization. #### PIN debit Response value that is returned by the processor or bank. **Important** Do not use this field to evaluate the results of the transaction request. Returned by PIN debit credit, PIN debit purchase, and PIN debit reversal. #### AIBMS If this value is `08`, you can accept the transaction if the customer provides you with identification. #### Atos This value is the response code sent from Atos and it might also include the response code from the bank. Format: `aa,bb` with the two values separated by a comma and where: - `aa` is the two-digit error message from Atos. - `bb` is the optional two-digit error message from the bank. #### Comercio Latino This value is the status code and the error or response code received from the processor separated by a colon. Format: [status code]:E[error code] or [status code]:R[response code] Example `2:R06` #### JCN Gateway Processor-defined detail error code. The associated response category code is in the `processorInformation.responseCategoryCode` field. String (3)
* @type {string}
* @memberof PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformation
*/
responseCode?: string;
/**
* This field is returned only for **American Express Direct** and **CyberSource through VisaNet**. Returned by authorization and incremental authorization services. #### American Express Direct System trace audit number (STAN). This value identifies the transaction and is useful when investigating a chargeback dispute. #### CyberSource through VisaNet System trace number that must be printed on the customer's receipt.
* @type {string}
* @memberof PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformation
*/
systemTraceAuditNumber?: string;
/**
* This field might contain information about a decline. This field is supported only for **CyberSource through VisaNet**.
* @type {string}
* @memberof PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformation
*/
responseDetails?: string;
/**
*
* @type {PtsV2PaymentsPost201ResponseProcessorInformationMerchantAdvice}
* @memberof PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformation
*/
merchantAdvice?: PtsV2PaymentsPost201ResponseProcessorInformationMerchantAdvice;
/**
*
* @type {PtsV2PaymentsPost201ResponseProcessorInformationSellerProtection}
* @memberof PtsV2IncrementalAuthorizationPatch201ResponseProcessorInformation
*/
sellerProtection?: PtsV2PaymentsPost201ResponseProcessorInformationSellerProtection;
}