UNPKG

@paciolan/cybersource-sdk

Version:
31 lines (30 loc) 1.68 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. */ /** * * @export * @interface Ptsv2paymentsOrderInformationAmountDetailsSurcharge */ export interface Ptsv2paymentsOrderInformationAmountDetailsSurcharge { /** * The surcharge amount is included in the total transaction amount but is passed in a separate field to the issuer and acquirer for tracking. The issuer can provide information about the surcharge amount to the customer. If the amount is positive, then it is a debit for the customer. If the amount is negative, then it is a credit for the customer. **NOTE**: This field is supported only for CyberSource through VisaNet (CtV) for Payouts. For CtV, the maximum string length is 8. #### PIN debit Surcharge amount that you are charging the customer for this transaction. If you include a surcharge amount in the request, you must also include the surcharge amount in the value for `orderInformation.amountDetails.totalAmount`. Optional field for transactions that use PIN debit credit or PIN debit purchase. * @type {string} * @memberof Ptsv2paymentsOrderInformationAmountDetailsSurcharge */ amount?: string; /** * Merchant-defined field for describing the surcharge amount. * @type {string} * @memberof Ptsv2paymentsOrderInformationAmountDetailsSurcharge */ description?: string; }