UNPKG

@paciolan/cybersource-sdk

Version:
44 lines (43 loc) 3.27 kB
/** * 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 { Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransaction } from './ptsv2payments-processing-information-authorization-options-initiator-merchant-initiated-transaction'; /** * * @export * @interface Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiator */ export interface Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiator { /** * This field indicates whether the transaction is a merchant-initiated transaction or customer-initiated transaction. Valid values: - **customer** - **merchant** * @type {string} * @memberof Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiator */ type?: string; /** * Indicates to the issuing bank two things: - The merchant has received consent from the cardholder to store their card details on file - The merchant wants the issuing bank to check out the card details before the merchant initiates their first transaction for this cardholder. The purpose of the merchant-initiated transaction is to ensure that the cardholder's credentials are valid (that the card is not stolen or has restrictions) and that the card details are good to be stored on the merchant's file for future transactions. Valid values: - `true` means merchant will use this transaction to store payment credentials for follow-up merchant-initiated transactions. - `false` means merchant will not use this transaction to store payment credentials for follow-up merchant-initiated transactions. For details, see `subsequent_auth_first` field description in the [Credit Card Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) **NOTE:** The value for this field does not correspond to any data in the TC 33 capture file5. This field is supported only for Visa transactions on CyberSource through VisaNet. * @type {boolean} * @memberof Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiator */ credentialStoredOnFile?: boolean; /** * Indicates to an issuing bank whether a merchant-initiated transaction came from a card that was already stored on file. Possible values: - **true** means the merchant-initiated transaction came from a card that was already stored on file. - **false** means the merchant-initiated transaction came from a card that was not stored on file. * @type {boolean} * @memberof Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiator */ storedCredentialUsed?: boolean; /** * * @type {Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransaction} * @memberof Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiator */ merchantInitiatedTransaction?: Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransaction; }