Generate a primary transactionpost https://cert.api.firstdata.com/gateway/v2/paymentsUse this to originate a financial transaction like a sale, preauthorization, or credit.Body ParamsAccepted request types: PaymentCardSaleTransaction, PaymentCardPreAuthTransaction, PaymentCardPayerAuthTransaction, PaymentTokenCreditTransaction, PaymentTokenPreAuthTransaction, PaymentTokenSaleTransaction, PaypalCreditTransaction.PaymentCardSaleTransactionPaymentCardPreAuthTransactionPaymentTokenCreditTransactionPaymentTokenPreAuthTransactionPaymentTokenSaleTransactionPaymentCardForcedTicketTransactionPaymentCardPayerAuthTransactionpaymentMethodobjectVarious payment methods the Gateway supports. Abstract class, do not use this class directly, use one of its children.paymentMethod objectstoredCredentialsobjectObject for sending stored credentials.storedCredentials objectsettlementSplitarray of objectslength between 1 and 5Settle with multiple sub-merchants, sale and preAuth only.settlementSplitADD objectcreateTokenobjectUse this model to create a payment token.createToken objectcurrencyConversionobjectCurrency conversion. Abstract class, do not use this class directly, use one of its children: Dcc, DynamicPricing.currencyConversion objectauthenticationRequestobjectRequest authentication of the payment card to verify the cardholder and be eligible for liability shift. An AuthenticationRequest should not be submitted with in the same request as an AuthenticationResult. Abstract class, do not use this class directly, use one of its children.authenticationRequest objectauthenticationResultobjectSubmit the result of 3DS authentication managed outside of the gateway. An AuthenticationResult should not be submitted within the same request as an AuthenticationRequest. Abstract class, do not use this class directly, use one of its children.authenticationResult objectauthOptimizationobjectObject for sending Card Account Updater.authOptimization objectparDataRequestedbooleanDefaults to falseIndicates if the merchant wants payment account reference number from the network token using endpoint(PaymentAccountReferenceFlag = true).falsetruefalseHeadersContent-TypestringenumrequiredDefaults to application/jsonContent type.application/jsonAllowed:application/jsonClient-Request-IdstringrequiredA client-generated ID for request tracking and signature creation, unique per request. This is also used for idempotency control. We recommend 128-bit UUID format.Api-KeystringrequiredKey given to merchant after boarding associating their requests with the appropriate app in Apigee.Timestampint64requiredEpoch timestamp in milliseconds in the request from a client system. Used for Message Signature generation and time limit (5 mins).Message-SignaturestringrequiredUsed to ensure the request has not been tampered with during transmission. The Message-Signature is the Base64 encoded HMAC hash (SHA256 algorithm with the API Secret as the key.) For more information, refer to the supporting documentation on the Developer Portal.Responses 200Success response. 400The request cannot be validated. 401The request cannot be authenticated or was submitted with the wrong credentials. 403The request was unauthorized. 404The requested resource doesn't exist. 409The attempted action is not valid according to gateway rules. For example, the merchant is not set-up or the order already exists. 415Format that is not supported by the server for the HTTP method. 422The processor declined the transaction. 500An unexpected internal server error occurred. 502There was a problem communicating with the endpoint.Updated 8 months ago