Skip to main content
InputObject Input for authorizing a cardholder initiated transaction.

Input Fields

paymentMethodDetails
required
Details regarding the payment method.
authorizationIntent
required
The intent of the authorization.
reason
required
The consumer or transactor’s reason for submitting the payment transaction. This enum is used in conjunction with the mutation to authorize a customer initiated transaction (CIT) payment. If not specified, the value will default to GENERAL_PURCHASE.
transactionAmountDetails
required
Specifies the total amount of the transaction and its currency.
captureIt
[DEPRECATED: Use automaticCapture instead] Automatically capture this authorization.
automaticCapture
Option to automatically capture this authorization.
cohortId
A unique, 36 character identifier created by Tesouro for the purpose of linking together multiple transaction requests and related fees.
adjustedPartnerFeeAmount
An amount that adjusts the partner fee for this transaction. Must be a non-negative value.
lineItems
Line item details for this order.
pointOfInteraction
If the payment transaction is performed at a specific point of interaction this field should be provided.
billToAddress
The billing address associated with the payment method used on the transaction.
orderDetails
Details pertaining to the customer’s order.
channel
required
How the consumer interacts with the acceptor. Defaults to ECOMMERCE if not provided.
acceptorId
required
A unique, 36 character identifier created by Tesouro and assigned to the entity providing the goods or services to the cardholder, such as a Merchant, a Submerchant of a Payment Facilitator, a Seller within a Marketplace, or a Biller of a Consumer Bill Payment Service Provider (CBPS). Historically, processors have called this identifier the Merchant ID (or MID), Outlet ID, or Customer number.
transactionReference
required
A unique identifier created by the entity holding the direct relationship with the Acceptor, and used by that entity for reconciliation and transaction search. Tesouro uses this identifier to manage idempotency.
{
  "paymentMethodDetails": AuthorizeCustomerInitiatedTransactionPaymentMethodInput,
  "authorizationIntent": "UNDEFINED_AUTHORIZATION",
  "reason": "DEBT_REPAYMENT",
  "transactionAmountDetails": AmountDetailsWithFeesInput,
  "captureIt": true,
  "automaticCapture": "NEVER",
  "cohortId": "72ef289d-77d4-4696-8a08-da83ed15b751",
  "adjustedPartnerFeeAmount": Decimal,
  "lineItems": [
    LineItemInput
  ],
  "pointOfInteraction": PointOfInteractionInput,
  "billToAddress": AddressDetailsInput,
  "orderDetails": OrderDetailsInput,
  "channel": "ECOMMERCE",
  "acceptorId": "72ef289d-77d4-4696-8a08-da83ed15b751",
  "transactionReference": Max36Text
}