Overview

Gateway Website: https://globalgatewaye4.firstdata.com/
Developer Documentation: https://developer.payeezy.com/apis
Default Currency: USD

Request Objects: BillingAddress, CreditCard, Check, SoftDescriptors, StoredCredentials, ThreeDSecure

Gateway Endpoints
Production: https://api.payeezy.com/v1/
Test: https://api-cert.payeezy.com/v1/

Supported Request Parameters

* denotes a required field

Field NameTypePayeezy MappingNotes
gatewaystringN/APayeezy
merchantId*stringtokenThis is used to identify the merchant
privateKey*stringapiKeyThis is used to identify the app.
password*stringapiSecretThis is your consumer secret.
amount*numericamountTransaction amount in smallest currency units. Example: $10.00 USD should be sent as 1000
tokenExTransactionCodestringtransaction_tag, transaction_idGenerated by this Payeezy implementation and available in the response gatewayResponse.tokenExTransactionCode. Required for capture, void, and refund actions. Optional for authorize and purchase.
merchantReferenceCodestringmerchant_refMerchant reference code – used by Payeezy system. Will be reflected in your Payeezy settlement records and webhook notifications.
feeAmountnumericfee_amountFee amount in smallest currency units. This is added to DollarAmount to produce the total charged. Specifying FeeAmount overrides any amount calculated for fees based on the configuration of the terminal. Ignored if fees are not enabled for terminal.
currencyCodestringcurrency_codeCurrency of the transaction.
Use the ISO 4217 three-letter alphabetic code for the currency.
creditCard.Brandstringcredit_card.typeOptional. The card issuer brand name. Supported values: “American Express", "Visa", "Mastercard", “JCB”, “Diners Club” or "Discover"
creditCard.CVVstringcreditcard.cvv
_or

3DS.cvv
The three- or four-digit number on the back of a credit card (on the front for American Express).

This field is required if the merchant would like to use the Card Code Verification (CCV) security feature.

Cardholder information must be stored securely and in accordance with the Payment Card Industry (PCI) Data Security Standard.
creditCard.FirstNamestringcreditcard.cardholder_name
_or

3DS.cardholder_name
The first name of the card holder. Concatenated with CreditCard.LastName. Example: "[firstName] [lastName]"
creditCard.LastNamestringcreditcard.cardholder_name
_or

3DS.cardholder_name
The last name of the card holder. Concatenated with CreditCard.FirstName. Example: "[firstName] [lastName]"
creditCard.Numberstringcreditcard.card_number
_or

3DS.card_number
Card number or TokenEx Token - TokenEx will replace the Token with the Detokenized number
creditCard.ExpMonthstringcreditcard.exp_date
_or

3DS.exp_date
The two-digit expiration month of the card. Example: 03. Combined with CreditCard.ExpYear in MMYY format.
creditCard.ExpYearstringcreditcard.exp_date
_or

3DS.exp_date
The four-digit expiration year of the card. Example: 2022. Combined with CreditCard.ExpMonth in MMYY format.
creditCard.SpecialPaymentstringcreditcard.special_payment
_or

3DS.special_payment
Special Payment works for Visa transactions only. For other cards this field will be ignored if passed. Payeezy merchant account has to be enabled in gateway to process as Special Payment.
billingAddress.Address1stringbilling_address.streetCustomer’s billing address. Combined with BillingAddress.Address2
billingAddress.Address2stringbilling_address.streetCustomer’s billing address, line 2. Combined with BillingAddress.Address1
billingAddress.Statestringbilling_address.state_provinceState/Province of customer’s billing address.
billingAddress.Citystringbilling_address.cityCity of customer’s billing address.
billingAddress.Countrystringbilling_address.countryAlpha-3 ISO country code of the customer's billing address.
billingAddress.Emailstringbilling_address.emailEmail address associated with customer’s billing address.
billingAddress.Phonestringbilling_address.phone.numberPhone number associated with customer’s billing address.
billingAddress.PhoneTypestringbilling_address.phone.typeType of phone number. Example: Cell, Landline, Work.
softDescriptors.MerchantName*stringsoft_descriptors.dba_nameBusiness name.
softDescriptors.MerchantAddress.Address1stringsoft_descriptors.streetFirst line of the business address.
softDescriptors.MerchantAddress.Address2stringsoft_descriptors.streetSecond line of the business address.
softDescriptors.MerchantAddress.Citystringsoft_descriptors.cityCity of the business address.
softDescriptors.MerchantAddress.Statestringsoft_descriptors.regionState/Province of the business address.
softDescriptors.MerchantIdstringsoft_descriptors.midMerchant ID.
softDescriptors.MerchantCategoryCodestringsoft_descriptors.mccYour merchant category code. Please see the Visa Merchant Data Standards manual for details.
softDescriptors.MerchantAddress.Zipstringsoft_descriptors.postal_codeBusiness postal/zip code.
softDescriptors.MerchantAddress.Countrystringsoft_descriptors.country_codeAlpha-3 ISO country code of the business address.
softDescriptors.MerchantContactInfostringsoft_descriptors.merchant_contact_infoMerchant contact information.
orderInfo.Subtotalnumericorder_data.subtotalAmount in smallest whole currency units before additional taxes.
tax.LocalTaxAmountnumericorder_data.local_tax_amountLocal tax amount in smallest whole currency units.
tax.VatAmountnumericorder_data.vat_amountValue added tax amount in smallest whole currency units.
tax.Tax1Amountnumericlevel2.tax1_amountTax value included in total amount in smallest whole currency units. Only applicable to merchants passing level 2 (Corporate Credit Card - Level II) data. For Canadian merchants this field is the PST amount.
Payeezy only supports Level II processing for Visa and MasterCard. It does not support American Express Level II processing.
tax.Tax1Numberstringlevel2.tax1_numberRegistered number associated with the tax value. Used for reference or government claims purposes and only applicable to merchants passing level 2 (Corporate Credit Card - Level II) data. For Canadian merchants this field is the PST number.
Payeezy only supports Level II processing for Visa and MasterCard. It does not support American Express Level II processing.
tax.Tax2Amountnumericlevel2.tax2_amountTax value included in total amount in smallest whole currency units. Only applicable to merchants passing level 2 (Corporate Credit Card - Level II) data. For Canadian merchants this field is the PST amount.
Payeezy only supports Level II processing for Visa and MasterCard. It does not support American Express Level II processing.
tax.Tax2Numberstringlevel2.tax2_numberRegistered number associated with the tax value. Used for reference or government claims purposes and only applicable to merchants passing level 2 (Corporate Credit Card - Level II) data. For Canadian merchants this field is the PST number.
Payeezy only supports Level II processing for Visa and MasterCard. It does not support American Express Level II processing.
customerReferenceCodestringlevel2.customer_refA merchant defined value that can be used to internally identify the transaction. It is passed on to the financial institution. The following characters will be stripped from this field: ; ` " / % as well as -- (2 consecutive dashes).
threeDSecure.Typestring3DS.typeTakes the value “D“ indicating a Decrypted Apple Pay™ 3DS transaction.
threeDSecure.XIDstring3DS.xid3DS transaction ID.
threeDSecure.CAVVstring3DS.cavv3DS value returned by Plug-in software application. For Mastercard it is AAV (Accountholder Authentication Value)
threeDSecure.WalletProviderIdstring3DS.wallet_provider_idThis is an optional field which enables Payeezy to identify the Mobile Wallet the transaction is originating from. Valid values for Wallet Provider Id are "NO_WALLET" (Default), "VISA_CHECKOUT", "MASTER_PASS", "APPLE_PAY" (Including the Web Apple Pay), "SAMSUNG_PAY", "ANDROID_PAY"
threeDSecure.ProgramProtocolstring3DS.program_protocolThe 3D Secure protocol version to use. Can be either "1" or "2"; defaults to "1"
threeDSecure.ECIstringeci_indicatorElectronic Commerce Indicator (ECI) is a value that is returned from the Directory Server (Visa®, MasterCard®, and JCB®) to indicate the authentication results of your customer credit card payment on 3DS.
threeDSecure.DSTransIdstring3DS.directory_server_transaction_idThis is a universally unique Transaction ID that the merchant should provide to Payeezy Gateway. This ID is sent back to merchant by 3-D Secure Merchant Plug-in software application.
Note: DO NOT MANIPULATE this value in any way.
check.CheckNumberstringtele_check.check_numberThe check number.
check.AccountTypestringtele_check.check_typeType of account from which the check will withdraw. Valid input Values
1 or Checking
2 or Savings
3 or GeneralLedger
Payeezy mapping
Checking - C
Savings - S
GeneralLedger - G
check.RoutingNumberstringtele_check.routing_numberThe nine-digit bank routing ("ABA") number for the customer's bank account.
check.AccountNumberstringtele_check.account_numberAccount number of the check or TokenEx Token - Tokenex will replace the Token with the Detokenized value
check.FirstNamestringtele_check.accountholder_nameThe first name of the account holder. Combined with Check.LastName into this Payeezy field.
check.LastNamestringtele_check.accountholder_nameThe last name of the account holder. Combined with Check.FirstName into this Payeezy field.
check.CustomerIdTypestringtele_check.customer_id_typeThe type of identification the customer has provided.
check.CustomerIdNumberstringtele_check.customer_id_numberThe ID number of the provided customer identification.
check.ClientEmailstringtele_check.client_emailValid customer email address.
check.GiftCardAmountnumerictele_check.gift_card_amountThe amount in smallest whole currency units paid from a gift card.
check.VIPstringtele_check.vipIndicates VIP status for this transaction.
check.ClerkIdstringtele_check.clerk_idThe ID of the clerk generating the transaction.
check.DeviceIdstringtele_check.device_idThe ID of the device generating the transaction.
check.ReleaseTypestringtele_check.release_typeThe fulfillment method of the order.
check.RegistrationNumberstringtele_check.registration_numberCustomer's merchant account registration number.
check.RegistrationDatestringtele_check.registration_dateCustomer's merchant account registration date. YYYY-MM-DD format.
check.DateOfBirthstringtele_check.date_of_birthCustomer's date of birth. YYYY-MM-DD format.
storedCredentials.Initiatorstringstored_credentials.initiatorValid values: "cardholder" or "merchant". These values are made upper case and then forwarded.
Payeezy documentation
storedCredentials.CredentialStoredbooleanstored_credentials.sequenceSee usage in The Basics - Stored Credentials. True = "SUBSEQUENT", False = "FIRST"
storedCredentials.PreviousNetworkTransactionIdstringstored_credentials.cardbrand_original_transaction_idSee usage in The Basics - Stored Credentials. Matches Payeezy response field "cardbrand_original_transaction_id".
storedCredentials.TransactionTypestringstored_credentials.isScheduledValid value mappings:
"recurring" = true
"installment" = true
"unscheduled" = false
any other string value = false
*note: Authorize or Purchase requests that use values recurring or installment will change the Payeezy API eci_indicator to "2".
storedCredentials.CardBrandOriginalAmountstringstored_credentials.cardbrand_original_amountPassthrough. Payeezy documentation
storedCredentials.Amexstringstored_credentials_amexPassthrough. Payeezy documentation

📘

To indicate a transaction is recurring

To reference a previous transaction in an authorize or purchase action, send the relevant transaction's TokenExTransactionCode in the body. If the transaction was not processed by TokenEx's Payeezy implementation, it can still be processed by generating a value for the TokenExTransactionCode by base64 encoding the Payeezy transaction_id and transaction_tag in the following format: transaction_id;transaction_tag

Example Requests

{
  "gateway": "Payeezy",
  "testMode": true,
  "merchantId": "<Your Payeezy Merchant Token>",
  "password": "<Your Payeezy API Secret>",
  "privateKey": "<Your Payeezy API Key>",
  "amount": 1085,
  "currencyCode": "USD",
  "merchantReferenceCode": "834d031f-e3a5-4b51-866c-da1ad8a795ab",
  "softDescriptors": {
    "merchantName": "Oberbrunner - Bergnaum",
    "merchantCategoryCode": "3351",
    "merchantContactInfo": "5772798386",
    "merchantAddress": {
      "address1": "123 Someplace Lane",
      "address2": "Some Place",
      "city": "East Mariloustad",
      "state": "Pennsylvania",
      "zip": "01583-1892",
      "country": "USA"
    }
  },
  "storedCredentials": {
    "initiator": "merchant",
    "credentialStored": true,
    "previousNetworkTransactionId": "380220075428366",
    "transactionType": "installment",
    "cardBrandOriginalAmount": "10.85"
  },
  "creditCard": {
    "brand": "Discover",
    "number": "6510000000001248",
    "expMonth": 2,
    "expYear": 2024,
    "firstName": "Mark",
    "lastName": "Willms",
    "cvv": "339"
  },
  "billingAddress": {
    "phoneType": "Work",
    "phone": "95993749529139",
    "firstName": "Lorena",
    "lastName": "Feest",
    "address1": "123 Someplace Lane",
    "address2": "Some Place",
    "city": "Lake Kristoferfurt",
    "state": "Minnesota",
    "zip": "42861",
    "country": "USA"
  }
}
{
  "gateway": "Payeezy",
  "testMode": true,
  "merchantId": "<Your Payeezy Merchant Token>",
  "password": "<Your Payeezy API Secret>",
  "privateKey": "<Your Payeezy API Key>",
  "amount": 1085,
  "currencyCode": "USD",
  "merchantReferenceCode": "268ab12d-4ac8-4256-af38-a32e9e67e3f9",
  "tokenExTransactionCode": "<TokenExTransactioncode from a previous Card Authorize or Card Purchase>"
}
{
  "gateway": "Payeezy",
  "testMode": true,
  "currencyCode": "USD",
  "amount": 7,
  "merchantId": "<Your Payeezy Merchant Token>",
  "password": "<Your Payeezy API Secret>",
  "privateKey": "<Your Payeezy API Key>",
  "check": {
    "dateOfBirth": "2014-01-01",
    "registrationDate": "2014-01-01",
    "registrationNumber": "12345",
    "releaseType": "X",
    "deviceId": "jkhsdfjkhsk",
    "clerkId": "RVK_001",
    "vip": "n",
    "giftCardAmount": 0,
    "clientEmail": "[email protected]",
    "customerIdNumber": "7623786df",
    "customerIdType": "1",
    "accountNumber": "17101874",
    "routingNumber": "BN1234567801234567890",
    "checkNumber": "0101",
    "firstName": "Kelli",
    "lastName": "Tromp",
    "accountType": 1
  },
  "billingAddress": {
    "phoneType": "Cell",
    "phone": "18519217597182",
    "firstName": "Leona",
    "lastName": "Goodwin",
    "address1": "123 Someplace Lane",
    "address2": "Some Place",
    "city": "South Cleta",
    "state": "Michigan",
    "zip": "28256-6966",
    "country": "USA"
  }
}
{
  "gateway": "Payeezy",
  "testMode": true,
  "currencyCode": "USD",
  "amount": 7,
  "merchantId": "<Your Payeezy Merchant Token>",
  "password": "<Your Payeezy API Secret>",
  "privateKey": "<Your Payeezy API Key>",
  "tokenExTransactionCode": "<TokenExTransactionCode from a previous Check purchase>",
  "billingAddress": {
    "phoneType": "Cell",
    "phone": "12104721983",
    "firstName": "Woodrow",
    "lastName": "Ortiz",
    "address1": "123 Someplace Lane",
    "address2": "Some Place",
    "city": "Lake Frank",
    "state": "Missouri",
    "zip": "47917-1994",
    "country": "USA"
  }
}

Gateway Response Parameters

Field NameTypePayeezy Result MappingNotes
approvedbooleanvalidation_status & transaction_statusTrue if validation_status and transaction_status are "success" and "approved", respectively.
approvalCodestringgateway_resp_codePayeezy gateway Response code indicates the status of a transaction as it is sent to the financial institution and returned to the client.
providerTransactionCodestringtransaction_tagThe Transaction Tag is the unique order ID value assigned by Payeezy Gateway for every transaction processed and incremented by one each time. See this property's description in the Response section of the Payeezy Transaction API page for more information

Example Responses

{
    "gatewayResponse": {
        "rawResponse": "{\"correlation_id\":\"29.0198779959946\",\"transaction_status\":\"approved\",\"validation_status\":\"success\",\"transaction_type\":\"authorize\",\"transaction_id\":\"ET171779\",\"transaction_tag\":\"10123819340\",\"method\":\"credit_card\",\"amount\":\"500\",\"currency\":\"USD\",\"avs\":\"1\",\"cvv2\":\"I\",\"token\":{\"token_type\":\"FDToken\",\"token_data\":{\"value\":\"1407663716410026\"}},\"card\":{\"type\":\"Visa\",\"cardholder_name\":\"Frank Walter\",\"card_number\":\"0026\",\"exp_date\":\"0724\"},\"bank_resp_code\":\"100\",\"bank_message\":\"Approved\",\"gateway_resp_code\":\"00\",\"gateway_message\":\"Transaction Normal\",\"retrieval_ref_no\":\"231207\"}",
        "gatewayErrors": [],
        "tokenExTransactionCode": "RVQxNzE3Nzk7MTAxMjM4MTkzNDA=",
        "approvalCode": "00",
        "providerTransactionCode": "10123819340",
        "approved": true
    },
    "referenceNumber": "23120716231815549424",
    "success": true,
    "error": "",
    "message": "",
    "thirdPartyStatusCode": "201"
}
{
    "gatewayResponse": {
        "rawResponse": "{\"correlation_id\":\"29.0198788921737\",\"transaction_status\":\"approved\",\"validation_status\":\"success\",\"transaction_type\":\"purchase\",\"transaction_id\":\"ET174974\",\"transaction_tag\":\"10123819374\",\"method\":\"credit_card\",\"amount\":\"500\",\"currency\":\"USD\",\"avs\":\"1\",\"cvv2\":\"I\",\"token\":{\"token_type\":\"FDToken\",\"token_data\":{\"value\":\"1403195903860026\"}},\"card\":{\"type\":\"Visa\",\"cardholder_name\":\"Frank Walter\",\"card_number\":\"0026\",\"exp_date\":\"0724\"},\"bank_resp_code\":\"100\",\"bank_message\":\"Approved\",\"gateway_resp_code\":\"00\",\"gateway_message\":\"Transaction Normal\",\"retrieval_ref_no\":\"231207\"}",
        "gatewayErrors": [],
        "tokenExTransactionCode": "RVQxNzQ5NzQ7MTAxMjM4MTkzNzQ=",
        "approvalCode": "00",
        "providerTransactionCode": "10123819374",
        "approved": true
    },
    "referenceNumber": "23120716244778947567",
    "success": true,
    "error": "",
    "message": "",
    "thirdPartyStatusCode": "201"
}
{
    "gatewayResponse": {
        "rawResponse": "{\"correlation_id\":\"29.0198851351849\",\"transaction_status\":\"approved\",\"validation_status\":\"success\",\"transaction_type\":\"capture\",\"transaction_id\":\"ET195166\",\"transaction_tag\":\"10123819673\",\"method\":\"credit_card\",\"amount\":\"500\",\"currency\":\"USD\",\"token\":{\"token_type\":\"FDToken\",\"token_data\":{\"value\":\"1675816774690026\"}},\"bank_resp_code\":\"100\",\"bank_message\":\"Approved\",\"gateway_resp_code\":\"00\",\"gateway_message\":\"Transaction Normal\",\"retrieval_ref_no\":\"231207\"}",
        "gatewayErrors": [],
        "tokenExTransactionCode": "RVQxOTUxNjY7MTAxMjM4MTk2NzM=",
        "approvalCode": "00",
        "providerTransactionCode": "10123819673",
        "approved": true
    },
    "referenceNumber": "23120716351276103735",
    "success": true,
    "error": "",
    "message": "",
    "thirdPartyStatusCode": "201"
}
{
    "gatewayResponse": {
        "rawResponse": "{\"correlation_id\":\"29.0198794344561\",\"transaction_status\":\"approved\",\"validation_status\":\"success\",\"transaction_type\":\"refund\",\"transaction_id\":\"RETURN\",\"transaction_tag\":\"10123819420\",\"method\":\"credit_card\",\"amount\":\"500\",\"currency\":\"USD\",\"token\":{\"token_type\":\"FDToken\",\"token_data\":{\"value\":\"1403195903860026\"}},\"bank_resp_code\":\"100\",\"bank_message\":\"Approved\",\"gateway_resp_code\":\"00\",\"gateway_message\":\"Transaction Normal\",\"retrieval_ref_no\":\"231207\"}",
        "gatewayErrors": [],
        "tokenExTransactionCode": "UkVUVVJOOzEwMTIzODE5NDIw",
        "approvalCode": "00",
        "providerTransactionCode": "10123819420",
        "approved": true
    },
    "referenceNumber": "23120716254237936302",
    "success": true,
    "error": "",
    "message": "",
    "thirdPartyStatusCode": "201"
}
{
    "gatewayResponse": {
        "rawResponse": "{\"correlation_id\":\"29.0198853448283\",\"transaction_status\":\"approved\",\"validation_status\":\"success\",\"transaction_type\":\"void\",\"transaction_id\":\"ET183614\",\"transaction_tag\":\"10123819684\",\"method\":\"credit_card\",\"amount\":\"500\",\"currency\":\"USD\",\"token\":{\"token_type\":\"FDToken\",\"token_data\":{\"value\":\"1675816774690026\"}},\"bank_resp_code\":\"100\",\"bank_message\":\"Approved\",\"gateway_resp_code\":\"00\",\"gateway_message\":\"Transaction Normal\",\"retrieval_ref_no\":\"231207\"}",
        "gatewayErrors": [],
        "tokenExTransactionCode": "RVQxODM2MTQ7MTAxMjM4MTk2ODQ=",
        "approvalCode": "00",
        "providerTransactionCode": "10123819684",
        "approved": true
    },
    "referenceNumber": "23120716353342204723",
    "success": true,
    "error": "",
    "message": "",
    "thirdPartyStatusCode": "201"
}
{
    "gatewayResponse": {
        "rawResponse": "{\"correlation_id\":\"29.0204931849798\",\"Error\":{\"messages\":[{\"code\":\"invalid_exp_date\",\"description\":\"Expiry Date is invalid\"}]},\"transaction_status\":\"Not Processed\",\"validation_status\":\"failed\",\"transaction_type\":\"authorize\",\"method\":\"credit_card\",\"amount\":\"500\",\"currency\":\"USD\"}",
        "gatewayErrors": [
            {
                "code": "invalid_exp_date",
                "message": "Expiry Date is invalid"
            }
        ],
        "tokenExTransactionCode": "",
        "approved": false
    },
    "referenceNumber": "23120809283797202634",
    "success": true,
    "error": "",
    "message": "",
    "thirdPartyStatusCode": "400"
}
{
    "gatewayResponse": {
        "rawResponse": "{\"correlation_id\":\"29.0204997928276\",\"transaction_status\":\"declined\",\"validation_status\":\"success\",\"transaction_type\":\"authorize\",\"transaction_tag\":\"10123882445\",\"method\":\"credit_card\",\"amount\":\"530300\",\"currency\":\"USD\",\"avs\":\"1\",\"cvv2\":\"I\",\"token\":{\"token_type\":\"FDToken\",\"token_data\":{\"value\":\"7116870975131111\"}},\"card\":{\"type\":\"Visa\",\"cardholder_name\":\"Frank Walter\",\"card_number\":\"1111\",\"exp_date\":\"0725\"},\"bank_resp_code\":\"303\",\"bank_message\":\"Processor Decline\",\"gateway_resp_code\":\"00\",\"gateway_message\":\"Transaction Normal\",\"retrieval_ref_no\":\"231208\"}",
        "gatewayErrors": [],
        "tokenExTransactionCode": "",
        "approvalCode": "00",
        "providerTransactionCode": "10123882445",
        "approved": false
    },
    "referenceNumber": "23120809393711524461",
    "success": true,
    "error": "",
    "message": "",
    "thirdPartyStatusCode": "201"
}