Skip to main content

Transaction API

After having set up your Connectors you have different options to run tests against the Transaction API. Either use the API Testing directly in the IXOPAY platform or see our

Transaction API documentation for further information.

To use the API Testing in the IXOPAY platform, follow these steps:

  1. Navigate to the API Testing section, sub-section Transaction API
  2. Select a Connector from the list (API Key and Shared Secret will be filled automatically) or
  3. Fill in the API Key and Shared Secret (see Create and Assign Connectors & Adapters section)
  4. Select User in the dropdown list
  5. Select if you want to use
    1. Transaction API client
    2. Transaction API JSON

The Target URL is pre-filled with the URL to the appropriate IXOPAY platform instance and usually does not require any further adjustments. No matter how you test your set up, please keep the following notes in mind:

note

Before you start your tests, please consider that Transactions performed on Connectors which do not have the Test mode enabled, will be considered as Live Transactions and therefore appear in any reports and statistics.

Be aware that for transactions performed on Connectors with Test mode enabled as well as transactions performed with Connectors SimulatorPci, Simulator or Dummy with Test mode disable do have a rate limit of 5 transactions per 60 seconds.

Transaction API client

The IXOPAY platform Transaction API client tab will be selected by default, with that you can execute tests using different values for the enabled features.

Fill in the necessary parameters for the testing in the Client Form:

  1. Transaction
  2. Customer
  3. 3D-Secure data
  4. DCC
  5. Level 2/3 Data
  6. Schedule - Data
  7. Items

Once you are ready and want to see the requests about to be sent without submitting, click Show JSON (see Show JSON). To initiate the Transaction click Submit. The Transaction will be shown immediately in the Transaction List

The Result Box will display the response containing information about the Transaction (e.g. current state). Depending on your entered information the transaction can be successful, result in errors due to missing fields or invalid data, or redirected.

In case a redirect is required, you can click Open Redirect URL in new Tab or Open Redirect URL in iFrame in the Transaction API client. Open Redirect URL in iFrame will load the URL in the Redirect iFrame Box next to the result box (see Result and Redirect iFrame Box).

Click Go to Transaction to follow the link to the Transaction Details.

Transaction

In this section you can configure Transaction Details (see Transaction Table).

FieldDescription
Transaction TypeSelect a mandatory Transaction Type for the scheduled transaction: Debit, Preauthorize, Capture, Void, Register, Deregister, Refund, Payout, Incremental Authorization
LanguageFill in the language (optional, two letter language code )
Merchant Transaction IDPrefilled Merchant Transaction ID (optional)
Increase Transaction ID automatically by oneEnable option to automatically increase the Transaction ID
Transaction TokenFill in the Transaction Token for card-on-file/recurring transaction. You can also create a creditcard token (tokenize the card used for the Transaction) or load the Token from (a Customer) Profile by selecting the option. If not filled, the transaction flow will prompt user interaction. If a CC token is created, a red button will appear "Clear CC Token". This button lets you remove the token and select another transaction without refreshing the page.
Additional ID 1Fill in the Additional ID 1 (adapter-specific)
Additional ID 2Fill in the Additional ID 2 (adapter-specific)
Reference UUIDFor card-on-file/recurring transactions (e.g. Recurring Debits, Refunds, Capture, Voids and Deregisters) fill in the Reference UUID
Surcharge AmountFill in the optional Surcharge Amount.
AmountFill in a mandatory amount
CurrencySelect a mandatory currency
Auto capture in minutesOnly available for Transaction Type Preauthorize. Fill in a number of minutes after a transaction should be captured automatically
DescriptionFill in an optional description
Success URLPrefilled URL in case of a successful transaction
Cancel URLPrefilled URL in case of a cancelled transaction
Error URLPrefilled URL in case of a transaction in error state
Callback URLPrefilled Callback URL the platform will send status notifications
With RegisterEnable this option in case the first transaction of Recurring Payments (not applicable for all transaction types).
Add to Customer ProfileEnable this option to add the payment instrument to a Customer Profile (Customer Identification mandatory) or create a new Customer Profile
Transaction IndicatorSelect an optional Transaction Indicator from the list
Extra DataFill in additional Key-Value Extra Data pairs. Add new Extra Data lines by selecting + Add Line (adapter-specific)
PspPassthroughDataFill in additional Key-Value PspPassthroughData pairs to be passed through to the PSP. Add new PspPassthroughData lines by selecting + Add Line
Merchant Meta DataNot available by default: Fill in additional Merchant Meta Data (string, max. length of 255 characters)
Pay by linkNot available by default: Enable this option to test the Pay By Link Configuration (adapter-specific)
Request DCCNot available by default: Enable this option to enable the DCC request (in hosted payment page or directly as DCC request) (adapter-specific).
note

In case the button Create CC Token is greyed out, ensure that the Connector used has set a Public Integration Key see Create and Assign Connectors & Adapters section)

Customer

In this section you can fill in Customer Details (see Customer Details, Customer Billing Data, Customer Shipping Data and Additional Data).

Customer Details

FieldDescription
IdentificationFill in the mandatory and unique Identification ID for the Customer
First NameFill in the Customer First Name
Last NameFill in the Customer Last Name
Birth DateFill in the optional Customers Birth Date in the format YYYY-MM-DD
GenderSelect optional Male or Female
CompanyFill in the optional Customers Company
EmailFill in the Customer Email
Email VerifiedEnable if the Customer Email is verified (for example via verification email)
IP AddressPrefilled IP Address
National IDFill in the optional National ID (e.g. social insurance number)

Customer Billing Data

FieldDescription
Address 1Fill in Address Line 1 of Customers Billing Address
Address 2Fill in Address Line 2 of Customers Billing Address
CityFill in the City
Post CodeFill in the Postal Code
StateFill in the State
CountryFill in the Country Code (format depending on the adapter-specific requirements, ususally 2-letter)
PhoneFill in the Phone number
IBANFill in the IBAN (adapter-specific)
BICFill in the BIC (adapter-specific)
Mandate IDFill in the Mandate ID (adapter-specific, SEPA mandate Identification)
Mandate Date (YYYY-MM-DD)Fill in the Mandate Date (adapter-specific, Date of the SEPA mandate)

Customer Shipping Data

FieldDescription
First NameFill in the First Name
Last NameFill in the Last Name
CompanyFill in the Company of Customers Shipping Address
Address 1Fill in Address Line 1 of Customers Shipping Address
Address 2Fill in Address Line 2 of Customers Shipping Address
CityFill in the City
Post CodeFill in the Postal Code
StateFill in the State
CountryFill in the Country Code (format depending on the adapter-specific requirements, ususally 2-letter)
PhoneFill in the Phone number

Additional Data

FieldDescription
Extra DataFill in additional Key-Value Extra Data pairs. Add new Extra Data lines by selecting + Add Line (adapter-specific)

3-D Secure

In this section you can fill in additional 3-D Secure data (see 3-D Secure Data).

3-D Secure Data

FieldDescription
3dsecureSelect the optional 3-D Secure setting: Off, Optional, Mandatory. In case you want to test the 3-D Secure Flow of for payment flow, select Mandatory to enforce 3-D Secure
ChannelSelect the optional Channel: 01 (App-based), 02 (Browser), 03 (3DS Requestor Initiated)
Authentication IndicatorSelect the optional Authentication Indicator: 01 (Payment transaction), 02 (Recurring transaction), 03 (Installment transaction), 04 (Add card), 05 (Maintain card), 06 (Cardholder verification as part of EMV token ID&V)
Cardholder Authentication DateTimeSelect the optional Date and Time of the Cardholders Authentication from the Date-/Time Picker
CardHolder Authentication DataFill in the optional Authentication Data of the Cardholder
Challenge IndicatorSelect the optional Challenge Indicator: 01 (no preference), 02 (No challenge requested), 03 (Challenge requested: 3DS Requestor Preference), 04 (Challenge requested: Mandate), 05 (No challenge requested: transaction risk analysis is already performed), 06 (No challenge requested: Data share only), 07 (No challenge requested: strong consumer authentication is already performed), 08 (No challenge requested: utilise whitelist exemption if no challenge required), 09 (Challenge requested: whitelist prompt requested if challenge required)
Prior ReferenceFill in the optional Prior Reference
Prior Authentication MethodSelect the optional Prior Authentication Method: 01 (Frictionless authentication occurred by ACS), 02 (Cardholder challenge occurred by ACS), 03 (AVS verified), 04 (Other issuer methods)
Prior Authentication DateTimeSelect the optional Date and Time of a Prior Authentication from the Date-/Time Picker
Prior Authentication DataFill in the optional Prior Authentication Data
Cardholder Account TypeSelect the optional Account Type of the Cardholder: 01 (Not applicable), 02 (Credit), 03 (Debit), 04 (JCB specific value for Prepaid)
Cardholder Account Age IndicatorSelect the optional Age Indicator of the Cardholder Account: 01 (No account: guest check-out), 02 (No account: guest check-out), 03 (Less than 30 days), 04 (30-60 days), 05 (More than 60 days)
Cardholder Account DateSelect the optional Date and Time of the Cardholders Account Date from the Date-/Time Picker
Cardholder AccountChange IndicatorSelect the optional Cardholder AccountChange Indicator: 01 (Changed during this transaction), 02 (Less than 30 days), 03 (Less than 30 days), 04 (30-60 days), 05 (More than 60 days)
Cardholder Account Last ChangeSelect the optional Date and Time of the last change of the Cardholders Account from the Date-/Time Picker
Cardholder Account Password Change IndicatorSelect the optional Cardholder Account Password Change Indicator: 01 (No change), 02 (Changed during this transaction), 03 (Less than 30 days), 04 (30-60 days), 05 (More than 60 days)
Shipping Address Usage IndicatorSelect the optional Shipping Address Usage Indicator: 01 (This transaction), 02 (Less than 30 days), 03 (30-60 days), 04 (More than 60 days)
Shipping Address First UsageSelect the optional Date and Time of the Shipping Address First Usage from the Date-/Time Picker
Transaction Activity DayFill in the optional Transaction Activity Day
Transaction Activity YearFill in the optional Transaction Activity Year
Add Card attempts DayFill in the optional Add Card attempts Day
Purchase Count Six MonthsFill in the optional Purchase Count Six Months
Suspicious Account Activity IndicatorSelect the optional Suspicious Account Activity Indicator: 01 (No suspicious activity has been observed), 02 (Suspicious activity has been observed)
Shipping Name Equal IndicatorSelect the optional Shipping Name Equal Indicator: 01 (Account Name identical to shipping Name), 02 (Account Name different than shipping Name)
Payment Account Age IndicatorSelect the optional Payment Account Age Indicator: 01 (No account: guest check-out), 02 (During this transaction), 03 (Less than 30 days), 04 (30-60 days), 05 (More than 60 days)
Payment Account Age DateSelect the optional Date of the Payment Account Age Date from the Date-Picker
Billing Address Line3Fill in the optional Billing Address Line3
Shipping Address Line3Fill in the optional Shipping Address Line3
Billing Shipping Address MatchSelect the optional Billing Shipping Address Match: Y (Shipping Address matches Billing Address), N (Shipping Address does not match Billing Address
Home Phone Country PrefixFill in the optional Home Phone Country Prefix
Home Phone NumberFill in the optional Home Phone Number
Mobile Phone Country PrefixFill in the optional Mobile Phone Country Prefix
Mobile Phone NumberFill in the optional Mobile Phone Number
Work Phone Country PrefixFill in the optional Work Phone Country Prefix
Work Phone NumberFill in the optional Work Phone Number
Purchase Instal DataFill in the optional Purchase Instal Data
ship IndicatorSelect the optional ship Indicator: 01 (Ship to cardholder's billing address), 02 (Ship to another verified address on file with merchant), 03 (Ship to address that is different than the cardholder's billing address), 04 ("Ship to Store" / Pick-up at local store: Store address shall be populated in shipping address fields), 05 (Digital goods: includes online services, electronic gift cards and redemption codes), 06 (Travel and Event tickets, not shipped, 07 (Other: for example, Gaming, digital services not shipped, emedia subscriptions, etc.)
Delivery TimeframeSelect the optional Delivery Timeframe: 01 (Electronic Delivery), 02 (Same day shipping), 03 (Overnight shipping), 04 (Two-days or more shipping)
Delivery Email AddressFill in the optional Delivery Email Address
Reorder Items IndicatorSelect the optional Reorder Items Indicator: 01 (First time ordered), 02 (Reordered)
Pre-order Purchase IndicatorSelect the optional Pre-order Purchase Indicator: 01 (Merchandise available), 02 (Future availability)
Pre-order DateSelect the optional Pre-order Date from the Date-Picker
Gift Card AmountFill in the optional Gift Card Amount
Gift Card CurrencyFill in the optional Gift Card Currency
Gift Card CountFill in the optional Gift Card Count
Purchase DateSelect the optional Date and Time of the Purchase from the Date-/Time Picker
Recurring ExpirySelect the optional Recurring Expiry Date from the Date-Picker
Recurring FrequencyFill in the optional Recurring Frequency
Transaction TypeSelect the optional Transaction Type: 01 (Goods / Service purchase), 03 (Check Acceptance), 10 (Account Funding), 11 (Quasi-Cash Transaction), 28 (Prepaid activation and Loan)
Exemption IndicatorSelect the optional Exemption Indicator: 01 (Low Value Transaction: amount under 30 EURs), 02 (Low Risk Transaction), 03 (Whitelisted transaction, merchant is added as "Trusted Beneficiary" by cardholder), 04 (Secure Corporate Payment), 05 (Recurring or Merchant-initiated transaction), 06 (Mail or Telephone Order), 07 ( Anonymous payment card)

DCC

In this section you can fill in additional DCC data (see DCC Data).

info

This section is only relevant if Dynamic Currency Conversion is supported for the Connector used for Testing.

DCC Data

FieldDescription
Send DCC DataEnable option to send DCC data
SelectedCurrencyFill in the selected Currency
ConversionRateFill in the conversion rate
ConvertedAmountFill in the converted amount
ConvertedCurrencyFill in the converted Currency
MarkUpFill in the MarkUp
OriginalAmountFill in the Original Amount
OriginalCurrencyFill in the Original Currency
RemoteIdentifierFill in the remote identifier (adapter-specific)

Level 2/3

In this section you can fill in additional Level 2/3 data (see Level 2/3 Data and Tax Details).

info

This section is only relevant if Level 2/3 data is supported for the Connector used for Testing.

Level 2/3 Data

FieldDetails
Send Level 2/3 DataEnable option to send Level 2/3 Data
Tax AmountFill in the Tax Amount
VAT Registration NumberFill in the VAT Registration Number
National Tax IncludedFill in the National Tax
Discount AmountFill in the Discount Amount
Commodity CodeFill in the Commodity Code
Freight AmountFill in the Freight Amount
Tax DetailsFill in additional Tax Detail items. Add new Tax Detail items by selecting + Add Tax Detail items

Tax Details

FieldDescription
TypeFill in the Type
AmountFill in the Amount
RateFill in the Rate
CodeFill in the Code
Tax IDFill in the Tax ID
AppliedFill in the Applied value
Exemption CodeFill in an Exemption Code

Schedule

In this section you can fill in additional Schedule — data (see Schedule Data and also Create a Schedule section).

Schedule Data

FieldDescription
Schedule ActionSelect the Schedule Action: None, Start Schedule, Start Schedule (with trial period, first period differs)
callback URLPrefilled Callback URL the platform will send status notifications
Merchant Meta DataNot available by default: Fill in additional Merchant Meta Data

Items

In this section you can fill in additional Items data (see Item Data, Tax Details).

Item Data

FieldDescription
ItemFill in additional Items. Add new Items by selecting + Add Item
Item IdentificationFill in the Item identification
Item NameFill in the Item Name
Item DescriptionFill in the Item Description
Item QuantityFill in the Item Quantity
Item PriceFill in the Item Price
Item CurrencyFill in the Item Currency
Item TypeFill in the Item Type
Item Commodity CodeFill in the Item Commodity Code
Item UnitFill in the Item Unit
Item Unit PriceFill in the Item Unit Price
Item DiscountFill in the Item Discount
Item Shipping AmountFill in the Item Shipping Amount
Item Tax AmountFill in the Item Tax Amount
Item Tax RateFill in the Item Tax Rate
Tax DetailsFill in additional Tax Detail items. Add new Tax Detail items by selecting + Add Tax Detail items
Extra DataFill in additional Key-Value Extra Data pairs. Add new Extra Data lines by selecting + Add Line (adapter-specific)

Tax Details

FieldDescription
TypeFill in the Type
AmountFill in the Amount
RateFill in the Rate
CodeFill in the Code
Tax IDFill in the Tax ID
AppliedFill in the Applied value
Exemption CodeFill in an Exemption Code

Transaction API JSON

Instead of using the Transaction API client, you may also use the Transaction API JSON.

  1. Select the transaction type from the list
  2. Click Load JSON Example to see the example request (using prefilled parameters)

To initiate the Transaction click Submit.

Transaction API XML

note

API V2 (XML) is a Legacy Version. New features and functionality will only be available using API V3 (JSON)