API Reference

Server API version 1.0
Java

Results for

icon-search-large No search results yet
Enter your search query above

Create payout

POST https://{domainname}/v1/{merchantId}/payouts

Payouts

Our payout service allows you to easily transfer money directly into a bank account of your choice.

Before we can process your payout request you will need to pre-fund the total amount of money you want to payout.
For more information about payouts please click here.

Request

This REST service creates a new payout. A payoutID is returned in the response along with payout details.

Create payout supports idempotent requests

PayloadCreatePayoutRequest

Property Type Required Details
amountOfMoney object yes read close
close

Description

Object containing amount and ISO currency code attributes
  • SDK Object type
    AmountOfMoney
amount integer (12) yes read close
close

Description

Amount in cents and always having 2 decimals
currencyCode string (3) yes read close
close

Description

Three-letter ISO currency code representing the currency for the amount
Group 1 bankAccountBban object no, one of group read close
close
Deprecated: Use bankTransferPayoutMethodSpecificInput.bankAccountBban instead

Description

Object containing account holder name and bank account information. This field can only be used for payouts in the UK. Either a BBAN account or an IBAN account should be provided, but not both
  • SDK Object type
    BankAccountBban
  • Property is part of a group
    Learn more

    Properties that make up a group are mutually exclusive, which means you can only include one of each group in any given call.

    If there are multiple groups at one level in the object hierarchy we use numbers to distinguish groups from one another.

accountHolderName string (30) depends read close
close

Description

Name of the account holder

Depends on:

Required for Create and Update token calls for ACH (730).
accountNumber string (30) depends read close
close

Description

Bank account number

Depends on:

Required for Direct Debit UK (705) and ACH (730) payments, except when a token has been included in the request that includes this value.
Required for Create and Update token calls.
bankCode string (15) depends read close
close

Description

Bank code

Depends on:

Required for Direct Debit UK (705) and ACH (730) payments, except when a token has been included in the request that includes this value.
Required for Create and Update token calls for ACH (730).
bankName string (40) no read close
close

Description

Name of the bank
branchCode string (15) no read close
close

Description

Branch code
checkDigit string (2) no read close
close

Description

Bank check digit
countryCode string (2) no read close
close

Description

ISO 3166-1 alpha-2 country code of the country where the bank account is held For UK payouts this value is automatically set to GB as only payouts to UK accounts are supported.
Group 1 bankAccountIban object no, one of group read close
close
Deprecated: Use bankTransferPayoutMethodSpecificInput.bankAccountIban instead

Description

Object containing account holder and IBAN information. Either a BBAN account or an IBAN account should be provided, but not both
  • SDK Object type
    BankAccountIban
  • Property is part of a group
    Learn more

    Properties that make up a group are mutually exclusive, which means you can only include one of each group in any given call.

    If there are multiple groups at one level in the object hierarchy we use numbers to distinguish groups from one another.

accountHolderName string (30) depends read close
close

Description

Name in which the account is held.

Depends on:

Required for the creation of a Payout
Required for Create and Update token calls.
iban string (50) depends read close
close

Description

The IBAN is the International Bank Account Number. It is an internationally agreed format for the BBAN and includes the ISO country code and two check digits.

Depends on:

Required for the creation of a Payout
Required for Create and Update token.
Required for payments with product 9000 in Austria (AT) and Germany (DE).
Required for Create mandate and Create payment with mandate calls
Group 2 bankTransferPayoutMethodSpecificInput object depends, one of group read close
close

Description

Object containing the specific input details for bank transfer payouts.

If option chosen, depends on:

Required for GlobalCollect merchants.
  • SDK Object type
    BankTransferPayoutMethodSpecificInput
  • Property is part of a group
    Learn more

    Properties that make up a group are mutually exclusive, which means you can only include one of each group in any given call.

    If there are multiple groups at one level in the object hierarchy we use numbers to distinguish groups from one another.

Group bankAccountBban object depends, one of group read close
close

Description

Object containing account holder name and bank account information.

If option chosen, depends on:

Either a BBAN account or an IBAN account should be provided, but not both. This field can only be used for payouts in the UK.
  • SDK Object type
    BankAccountBban
  • Property is part of a group
    Learn more

    Properties that make up a group are mutually exclusive, which means you can only include one of each group in any given call.

    If there are multiple groups at one level in the object hierarchy we use numbers to distinguish groups from one another.

accountHolderName string (30) depends read close
close

Description

Name of the account holder

Depends on:

Required for Create and Update token calls for ACH (730).
accountNumber string (30) depends read close
close

Description

Bank account number

Depends on:

Required for Direct Debit UK (705) and ACH (730) payments, except when a token has been included in the request that includes this value.
Required for Create and Update token calls.
bankCode string (15) depends read close
close

Description

Bank code

Depends on:

Required for Direct Debit UK (705) and ACH (730) payments, except when a token has been included in the request that includes this value.
Required for Create and Update token calls for ACH (730).
bankName string (40) no read close
close

Description

Name of the bank
branchCode string (15) no read close
close

Description

Branch code
checkDigit string (2) no read close
close

Description

Bank check digit
countryCode string (2) no read close
close

Description

ISO 3166-1 alpha-2 country code of the country where the bank account is held For UK payouts this value is automatically set to GB as only payouts to UK accounts are supported.
Group bankAccountIban object depends, one of group read close
close

Description

Object containing account holder and IBAN information.

If option chosen, depends on:

Either a BBAN account or an IBAN account should be provided, but not both.
  • SDK Object type
    BankAccountIban
  • Property is part of a group
    Learn more

    Properties that make up a group are mutually exclusive, which means you can only include one of each group in any given call.

    If there are multiple groups at one level in the object hierarchy we use numbers to distinguish groups from one another.

accountHolderName string (30) depends read close
close

Description

Name in which the account is held.

Depends on:

Required for the creation of a Payout
Required for Create and Update token calls.
iban string (50) depends read close
close

Description

The IBAN is the International Bank Account Number. It is an internationally agreed format for the BBAN and includes the ISO country code and two check digits.

Depends on:

Required for the creation of a Payout
Required for Create and Update token.
Required for payments with product 9000 in Austria (AT) and Germany (DE).
Required for Create mandate and Create payment with mandate calls
customer object yes read close
close

Description

Object containing the details of the consumer.
  • SDK Object type
    PayoutCustomer
address object yes read close
close

Description

Object containing address details
  • SDK Object type
    Address
additionalInfo string (50) no read close
close

Description

Additional address information
city string (40) depends read close
close

Description

City
Note: For payments with product 1503 the maximum length is not 40 but 20.

Depends on:

Required for Invoice payments (201)
Required for Direct Debit UK (705), except when a token has been included in the request that includes this value.
Required for the creation of a Payout.
Required for payments with product 9000 or 9001.
Required when address is included in Seller.
countryCode string (2) depends read close
close

Description

ISO 3166-1 alpha-2 country code

Depends on:

Required, except when a token has been included in the request that includes this value.
Required when address is included in Seller.
houseNumber string (15) depends read close
close

Description

House number

Depends on:

Required when address is included in Seller.
state string (35) no read close
close

Description

Full name of the state or province
stateCode string (9) no read close
close

Description

State code
Note: For payments with product 1503 the maximum length is not 9 but 2.
street string (50) depends read close
close

Description

Streetname

Depends on:

Required for Invoice payments (201)
Required for Direct Debit UK (705), except when a token has been included in the request that includes this value.
Required for the creation of a Payout.
Required for payments with product 9000 or 9001.
Required when address is included in Seller.
zip string (10) depends read close
close

Description

Zip code
Note: For payments with product 1503 the maximum length is not 10 but 8.

Depends on:

Required for Direct Debit UK (705), except when a token has been included in the request that includes this value.
Required for payments with product 9000 or 9001.
companyInformation object no read close
close

Description

Object containing company information
  • SDK Object type
    CompanyInformation
name string (40) no read close
close

Description

Name of company, as a consumer
contactDetails object no read close
close

Description

Object containing contact details like email address and phone number
  • SDK Object type
    ContactDetailsBase
emailAddress string (70) no read close
close

Description

Email address of the consumer
emailMessageType string no read close
close

Description

Preference for the type of email message markup
  • plain-text
  • html
merchantCustomerId string (15) no read close
close

Description

Your identifier for the consumer that can be used as a search criteria in the Global Collect Payment Console and is also included in the Global Collect report files. For Ingenco's Ogone Payment Platform this field is used in the fraud-screening process.
name object yes read close
close

Description

Object containing PersonalName object
  • SDK Object type
    PersonalName
firstName string (15) depends read close
close

Description

Given name(s) or first name(s) of the consumer

Depends on:

Required for payments with product 806, 9000 or 9001.
surname string (70) depends read close
close

Description

Surname(s) or last name(s) of the consumer

Depends on:

Required for the creation of a Payout.
Required for payments with product 806, 9000 or 9001.
surnamePrefix string (15) no read close
close

Description

Middle name - In between first name and surname - of the consumer
title string (35) depends read close
close

Description

Title of consumer

Depends on:

Required for payments with product 9000 or 9001 in Austria (AT), Belgium (BE), Germany (DE), the Netherlands (NL) and Switzerland (CH).
payoutDate string (8) no read close
close

Description

Date of the payout sent to the bank by us.
Format: YYYYMMDD
payoutText string (50) yes read close
close

Description

Text to be printed on the bank account statement of the beneficiary. The maximum allowed length might differ per country. The data will be automatically truncated to the maximum allowed length.
swiftCode string (11) no read close
close

Description

The BIC is the Business Identifier Code, also known as SWIFT or Bank Identifier code. It is a code with an internationally agreed format to Identify a specific bank. The BIC contains 8 or 11 positions: the first 4 contain the bank code, followed by the country code and location code.
Group 2 cardPayoutMethodSpecificInput object depends, one of group read close
close

Description

Object containing the specific input details for card payouts.

If option chosen, depends on:

Required for Ogone merchants.
  • SDK Object type
    CardPayoutMethodSpecificInput
  • Property is part of a group
    Learn more

    Properties that make up a group are mutually exclusive, which means you can only include one of each group in any given call.

    If there are multiple groups at one level in the object hierarchy we use numbers to distinguish groups from one another.

card object no read close
close

Description

Object containing the card details.
  • SDK Object type
    Card
cardNumber string (19) depends read close
close

Description

The complete credit/debit card number (also know as the PAN)
The card number is always obfuscated in any of our responses

Depends on:

Please note that this field is required, except when a token or encryptedCustomerInput has been included in the request that includes this data.
cardholderName string (51) no read close
close

Description

Card holder's name on the card
cvv string (4) depends read close
close

Description

Card Verification Value, a 3 or 4 digit code used as an additional security feature for card not present transactions.

Depends on:

Normally, this field is required except in special cases. For example: this field should not be submitted for recurring transactions. Not submitting this field for non-recurring transactions can negatively impact your authorization rate.
expiryDate string (4) depends read close
close

Description

Expiry date of the card
Format: MMYY

Depends on:

Please note that this field is required, except when a token or encryptedCustomerInput has been included in the request that includes this data.
issueNumber string (2) no read close
close

Description

Issue number on the card (if applicable)
paymentProductId integer (5) yes read close
close

Description

Payment product identifier
Please see payment products for a full overview of possible values.
token string (40) no read close
close

Description

ID of the token that holds previously stored card data. Note that this is only supported for transactions on the Ogone payment engine.
customer object no read close
close
Deprecated: Use bankTransferPayoutMethodSpecificInput.customer instead

Description

Object containing the details of the consumer.
  • SDK Object type
    PayoutCustomer
address object yes read close
close

Description

Object containing address details
  • SDK Object type
    Address
additionalInfo string (50) no read close
close

Description

Additional address information
city string (40) depends read close
close

Description

City
Note: For payments with product 1503 the maximum length is not 40 but 20.

Depends on:

Required for Invoice payments (201)
Required for Direct Debit UK (705), except when a token has been included in the request that includes this value.
Required for the creation of a Payout.
Required for payments with product 9000 or 9001.
Required when address is included in Seller.
countryCode string (2) depends read close
close

Description

ISO 3166-1 alpha-2 country code

Depends on:

Required, except when a token has been included in the request that includes this value.
Required when address is included in Seller.
houseNumber string (15) depends read close
close

Description

House number

Depends on:

Required when address is included in Seller.
state string (35) no read close
close

Description

Full name of the state or province
stateCode string (9) no read close
close

Description

State code
Note: For payments with product 1503 the maximum length is not 9 but 2.
street string (50) depends read close
close

Description

Streetname

Depends on:

Required for Invoice payments (201)
Required for Direct Debit UK (705), except when a token has been included in the request that includes this value.
Required for the creation of a Payout.
Required for payments with product 9000 or 9001.
Required when address is included in Seller.
zip string (10) depends read close
close

Description

Zip code
Note: For payments with product 1503 the maximum length is not 10 but 8.

Depends on:

Required for Direct Debit UK (705), except when a token has been included in the request that includes this value.
Required for payments with product 9000 or 9001.
companyInformation object no read close
close

Description

Object containing company information
  • SDK Object type
    CompanyInformation
name string (40) no read close
close

Description

Name of company, as a consumer
contactDetails object no read close
close

Description

Object containing contact details like email address and phone number
  • SDK Object type
    ContactDetailsBase
emailAddress string (70) no read close
close

Description

Email address of the consumer
emailMessageType string no read close
close

Description

Preference for the type of email message markup
  • plain-text
  • html
merchantCustomerId string (15) no read close
close

Description

Your identifier for the consumer that can be used as a search criteria in the Global Collect Payment Console and is also included in the Global Collect report files. For Ingenco's Ogone Payment Platform this field is used in the fraud-screening process.
name object yes read close
close

Description

Object containing PersonalName object
  • SDK Object type
    PersonalName
firstName string (15) depends read close
close

Description

Given name(s) or first name(s) of the consumer

Depends on:

Required for payments with product 806, 9000 or 9001.
surname string (70) depends read close
close

Description

Surname(s) or last name(s) of the consumer

Depends on:

Required for the creation of a Payout.
Required for payments with product 806, 9000 or 9001.
surnamePrefix string (15) no read close
close

Description

Middle name - In between first name and surname - of the consumer
title string (35) depends read close
close

Description

Title of consumer

Depends on:

Required for payments with product 9000 or 9001 in Austria (AT), Belgium (BE), Germany (DE), the Netherlands (NL) and Switzerland (CH).
payoutDate string (8) no read close
close
Deprecated: Use bankTransferPayoutMethodSpecificInput.payoutDate instead

Description

Date of the payout sent to the bank by us
Format: YYYYMMDD
payoutText string (50) no read close
close
Deprecated: Use bankTransferPayoutMethodSpecificInput.payoutText instead

Description

Text to be printed on the bank account statement of the beneficiary. The maximum allowed length might differ per country. The data will be automatically truncated to the maximum allowed length.
references object yes read close
close

Description

Object that holds all reference fields that are linked to this transaction
  • SDK Object type
    PayoutReferences
invoiceNumber string (20) no read close
close

Description

Your invoice number (on printed invoice) that is also returned in our report files
merchantOrderId integer (10) no read close
close

Description

Order Identifier generated by the merchant
Note: This does not need to have a unique value for each transaction
merchantReference string (30) yes read close
close

Description

Your unique reference of the transaction that is also returned in our report files. This is almost always used for your reconciliation of our report files.
swiftCode string (11) no read close
close
Deprecated: Use bankTransferPayoutMethodSpecificInput.swiftCode instead

Description

The BIC is the Business Identifier Code, also known as SWIFT or Bank Identifier code. It is a code with an internationally agreed format to Identify a specific bank. The BIC contains 8 or 11 positions: the first 4 contain the bank code, followed by the country code and location code.

Request example

SDK: Java

This scenario you will probably use the most

  • AmountOfMoney amountOfMoney = new AmountOfMoney();
    amountOfMoney.setAmount(2345L);
    amountOfMoney.setCurrencyCode("EUR");
    
    BankAccountIban bankAccountIban = new BankAccountIban();
    bankAccountIban.setAccountHolderName("Wile E. Coyote");
    bankAccountIban.setIban("IT60X0542811101000000123456");
    
    Address address = new Address();
    address.setCity("Burbank");
    address.setCountryCode("US");
    address.setHouseNumber("411");
    address.setState("California");
    address.setStreet("N Hollywood Way");
    address.setZip("91505");
    
    CompanyInformation companyInformation = new CompanyInformation();
    companyInformation.setName("Acme Labs");
    
    ContactDetailsBase contactDetails = new ContactDetailsBase();
    contactDetails.setEmailAddress("wile.e.coyote@acmelabs.com");
    
    PersonalName name = new PersonalName();
    name.setFirstName("Wile");
    name.setSurname("Coyote");
    name.setSurnamePrefix("E.");
    name.setTitle("Mr.");
    
    PayoutCustomer customer = new PayoutCustomer();
    customer.setAddress(address);
    customer.setCompanyInformation(companyInformation);
    customer.setContactDetails(contactDetails);
    customer.setName(name);
    
    BankTransferPayoutMethodSpecificInput bankTransferPayoutMethodSpecificInput = new BankTransferPayoutMethodSpecificInput();
    bankTransferPayoutMethodSpecificInput.setBankAccountIban(bankAccountIban);
    bankTransferPayoutMethodSpecificInput.setCustomer(customer);
    bankTransferPayoutMethodSpecificInput.setPayoutDate("20150102");
    bankTransferPayoutMethodSpecificInput.setPayoutText("Payout Acme");
    bankTransferPayoutMethodSpecificInput.setSwiftCode("swift");
    
    PayoutReferences references = new PayoutReferences();
    references.setMerchantReference("AcmeOrder001");
    
    CreatePayoutRequest body = new CreatePayoutRequest();
    body.setAmountOfMoney(amountOfMoney);
    body.setBankTransferPayoutMethodSpecificInput(bankTransferPayoutMethodSpecificInput);
    body.setReferences(references);
    
    try {
    	PayoutResponse response = client.merchant("merchantId").payouts().create(body);
    } catch (DeclinedPayoutException e) {
    	handleDeclinedPayout(e.getPayoutResult());
    } catch (ApiException e) {
    	handleApiErrors(e.getErrors());
    }
    
  • AmountOfMoney amountOfMoney = new AmountOfMoney();
    amountOfMoney.setAmount(2345L);
    amountOfMoney.setCurrencyCode("EUR");
    
    BankAccountIban bankAccountIban = new BankAccountIban();
    bankAccountIban.setAccountHolderName("Wile E. Coyote");
    bankAccountIban.setIban("***************************");
    
    Address address = new Address();
    address.setCity("Burbank");
    address.setCountryCode("US");
    address.setStreet("N Hollywood Way");
    
    PersonalName name = new PersonalName();
    name.setSurname("Coyote");
    
    PayoutCustomer customer = new PayoutCustomer();
    customer.setAddress(address);
    customer.setName(name);
    
    BankTransferPayoutMethodSpecificInput bankTransferPayoutMethodSpecificInput = new BankTransferPayoutMethodSpecificInput();
    bankTransferPayoutMethodSpecificInput.setBankAccountIban(bankAccountIban);
    bankTransferPayoutMethodSpecificInput.setCustomer(customer);
    bankTransferPayoutMethodSpecificInput.setPayoutText("Payout Acme");
    
    PayoutReferences references = new PayoutReferences();
    references.setMerchantReference("AcmeOrder001");
    
    CreatePayoutRequest body = new CreatePayoutRequest();
    body.setAmountOfMoney(amountOfMoney);
    body.setBankTransferPayoutMethodSpecificInput(bankTransferPayoutMethodSpecificInput);
    body.setReferences(references);
    
    try {
    	PayoutResponse response = client.merchant("merchantId").payouts().create(body);
    } catch (DeclinedPayoutException e) {
    	handleDeclinedPayout(e.getPayoutResult());
    } catch (ApiException e) {
    	handleApiErrors(e.getErrors());
    }
    

Responses

Please find below an overview of the possible responses.

Response 201 - CreatedPayoutResponse

For every successfully created payout a HTTP 201 response is returned.

Property Type Required Details
id string no read close
close

Description

Our unique payout transaction identifier.
payoutOutput object no read close
close

Description

Object containing payout details
  • SDK Object type
    OrderOutput
amountOfMoney object no read close
close

Description

Object containing amount and ISO currency code attributes
  • SDK Object type
    AmountOfMoney
amount integer (12) yes read close
close

Description

Amount in cents and always having 2 decimals
currencyCode string (3) yes read close
close

Description

Three-letter ISO currency code representing the currency for the amount
references object no read close
close

Description

Object that holds all reference fields that are linked to this transaction
  • SDK Object type
    PaymentReferences
merchantOrderId integer no read close
close

Description

Your order ID for this transaction that is also returned in our report files
merchantReference string no read close
close

Description

Your unique reference of the transaction that is also returned in our report files. This is almost always used for your reconciliation of our report files.
paymentReference string no read close
close

Description

Payment Reference generated by WebCollect
providerId string no read close
close

Description

Provides an additional means of reconciliation for Gateway merchants
providerReference string no read close
close

Description

Provides an additional means of reconciliation for Gateway merchants
referenceOrigPayment string no read close
close

Description

When you did not supply a merchantReference for your payment, you need to fill this field with the reference of the original payment when you want to refund it
status enum no read close
close

Description

Current high-level status of the payouts in a human-readable form. Possible values are :
  • CREATED - The transaction has been created. This is the initial state once a new payout is created.
  • PENDING_APPROVAL - The transaction is awaiting approval from you to proceed with the paying out of the funds
  • REJECTED - The transaction has been rejected
  • PAYOUT_REQUESTED - The transaction is in the queue to be payed out to the consumer
  • ACCOUNT_CREDITED - We have successfully credited the consumer
  • REJECTED_CREDIT - The credit to the account of the consumer was rejected by the bank
  • CANCELLED - You have cancelled the transaction
  • REVERSED - The payout has been reversed and the money is returned to your balance

Please see Statuses for a full overview of possible values.
statusOutput object no read close
close

Description

This object has the numeric representation of the current payout status, timestamp of last status change and performable action on the current payout resource.
In case of a rejected payout, detailed error information is listed.
  • SDK Object type
    OrderStatusOutput
errors array of object no read close
close

Description

Custom object contains the set of errors
items object no read close
close
  • SDK Object type
    APIError
category string no read close
close

Description

Category the error belongs to. The category should give an indication of the type of error you are dealing with. Possible values:
  • CONNECT_PLATFORM_ERROR - indicating that a functional error has occurred in the Connect platform.
  • PAYMENT_PLATFORM_ERROR - indicating that a functional error has occurred in the Payment platform.
  • IO_ERROR - indicating that a technical error has occurred within the Connect platform or between Connect and any of the payment platforms or third party systems.
code string yes read close
close

Description

Error code
httpStatusCode integer no read close
close

Description

HTTP status code for this error that can be used to determine the type of error
id string no read close
close

Description

ID of the error. This is a short human-readable message that briefly describes the error.
message string no read close
close

Description

Human-readable error message that is not meant to be relayed to consumer as it might tip off people who are trying to commit fraud
propertyName string no read close
close

Description

Returned only if the error relates to a value that was missing or incorrect.
Contains a location path to the value as a JSonata query.
Some common examples:
  • a.b selects the value of property b of root property a,
  • a[1] selects the first element of the array in root property a,
  • a[b='some value'] selects all elements of the array in root property a that have a property b with value 'some value'.
requestId string no read close
close

Description

ID of the request that can be used for debugging purposes
isCancellable boolean no read close
close

Description

Flag indicating if the payment can be cancelled
  • true
  • false
statusCategory enum no read close
close

Description

Highlevel status of the payment, payout or refund with the following possible values:
  • CREATED - The transaction has been created. This is the initial state once a new payment, payout or refund is created. This category groups the following statuses:
    • CREATED
  • PENDING_PAYMENT: The payment is waiting on consumer action. This category groups the following statuses:
    • PENDING_PAYMENT
    • REDIRECTED
  • ACCOUNT_VERIFIED: The account has been verified. This category groups the following statuses:
    • ACCOUNT_VERIFIED
  • PENDING_MERCHANT: The transaction is awaiting approval to proceed with the payment, payout or refund. This category groups the following statuses:
    • PENDING_APPROVAL
    • PENDING_COMPLETION
    • PENDING_CAPTURE
    • PENDING_FRAUD_APPROVAL
  • PENDING_CONNECT_OR_3RD_PARTY: The transaction is in the queue to be processed. This category groups the following statuses:
    • AUTHORIZATION_REQUESTED
    • CAPTURE_REQUESTED
    • PAYOUT_REQUESTED
    • REFUND_REQUESTED
  • COMPLETED: The transaction has completed. This category groups the following statuses:
    • CAPTURED
    • PAID
    • ACCOUNT_CREDITED
    • CHARGEBACK_NOTIFICATION
  • REVERSED: The transaction has been reversed. This category groups the following statuses:
    • CHARGEBACKED
    • REVERSED
  • REFUNDED: The transaction has been refunded. This category groups the following statuses:
    • REFUNDED
  • UNSUCCESSFUL: The transaction has been rejected or is in such a state that it will never become successful. This category groups the following statuses:
    • CANCELLED
    • REJECTED
    • REJECTED_CAPTURE
    • REJECTED_CREDIT

Please see Statuses for a full overview of possible values.
statusCode integer no read close
close

Description

Numeric status code that is returned by either Ingenico's Global Collect Payment Platform or Ingenico's Ogone Payment Platform. It is returned to ease the migration from the local APIs to Ingenico Connect. You should not write new business logic based on this field as it will be deprecated in a future version of the API. The value can also be found in the Global Collect Payment Console, in the Global Collect report files and the Ogone BackOffice and report files.
statusCodeChangeDateTime string no read close
close

Description

Date and time of payment
Format: YYYYMMDDHH24MISS

Response example

SDK: Java

This scenario you will probably use the most

  • {
        "id" : "00000088970012412217000-100001",
        "payoutOutput" : {
            "amountOfMoney" : {
                "amount" : 2345,
                "currencyCode" : "EUR"
            },
            "references" : {
                "paymentReference" : "0",
                "merchantReference" : "2006101135"
            }
        },
        "status" : "PENDING_APPROVAL",
        "statusOutput" : {
            "isCancellable" : false,
            "statusCode" : 600,
            "statusCodeChangeDateTime" : "20130605110207"
        }
    }
    

Response 400 - Bad requestPayoutErrorResponse

In case your request was not correct, like when you did not provide all the required fields, you will get a 400 response.

Property Type Required Details
errorId string yes read close
close

Description

Unique reference, for debugging purposes, of this error response
errors array of object yes read close
close

Description

List of one or more errors
items object no read close
close
  • SDK Object type
    APIError
category string no read close
close

Description

Category the error belongs to. The category should give an indication of the type of error you are dealing with. Possible values:
  • CONNECT_PLATFORM_ERROR - indicating that a functional error has occurred in the Connect platform.
  • PAYMENT_PLATFORM_ERROR - indicating that a functional error has occurred in the Payment platform.
  • IO_ERROR - indicating that a technical error has occurred within the Connect platform or between Connect and any of the payment platforms or third party systems.
code string yes read close
close

Description

Error code
httpStatusCode integer no read close
close

Description

HTTP status code for this error that can be used to determine the type of error
id string no read close
close

Description

ID of the error. This is a short human-readable message that briefly describes the error.
message string no read close
close

Description

Human-readable error message that is not meant to be relayed to consumer as it might tip off people who are trying to commit fraud
propertyName string no read close
close

Description

Returned only if the error relates to a value that was missing or incorrect.
Contains a location path to the value as a JSonata query.
Some common examples:
  • a.b selects the value of property b of root property a,
  • a[1] selects the first element of the array in root property a,
  • a[b='some value'] selects all elements of the array in root property a that have a property b with value 'some value'.
requestId string no read close
close

Description

ID of the request that can be used for debugging purposes
payoutResult object no read close
close

Description

Object that contains details on the created payout in case one has been created
  • SDK Object type
    PayoutResult
id string no read close
close

Description

Our unique payout transaction identifier
payoutOutput object no read close
close

Description

Object containing payout details
  • SDK Object type
    OrderOutput
amountOfMoney object no read close
close

Description

Object containing amount and ISO currency code attributes
  • SDK Object type
    AmountOfMoney
amount integer (12) yes read close
close

Description

Amount in cents and always having 2 decimals
currencyCode string (3) yes read close
close

Description

Three-letter ISO currency code representing the currency for the amount
references object no read close
close

Description

Object that holds all reference fields that are linked to this transaction
  • SDK Object type
    PaymentReferences
merchantOrderId integer no read close
close

Description

Your order ID for this transaction that is also returned in our report files
merchantReference string no read close
close

Description

Your unique reference of the transaction that is also returned in our report files. This is almost always used for your reconciliation of our report files.
paymentReference string no read close
close

Description

Payment Reference generated by WebCollect
providerId string no read close
close

Description

Provides an additional means of reconciliation for Gateway merchants
providerReference string no read close
close

Description

Provides an additional means of reconciliation for Gateway merchants
referenceOrigPayment string no read close
close

Description

When you did not supply a merchantReference for your payment, you need to fill this field with the reference of the original payment when you want to refund it
status enum no read close
close

Description

Current high-level status of the payouts in a human-readable form. Possible values are :
  • CREATED - The transaction has been created. This is the initial state once a new payout is created.
  • PENDING_APPROVAL - The transaction is awaiting approval from you to proceed with the paying out of the funds
  • REJECTED - The transaction has been rejected
  • PAYOUT_REQUESTED - The transaction is in the queue to be payed out to the consumer
  • ACCOUNT_CREDITED - We have successfully credited the consumer
  • REJECTED_CREDIT - The credit to the account of the consumer was rejected by the bank
  • CANCELLED - You have cancelled the transaction
  • REVERSED - The payout has been reversed and the money is returned to your balance

Please see Statuses for a full overview of possible values.
statusOutput object no read close
close

Description

This object has the numeric representation of the current payout status, timestamp of last status change and performable action on the current payout resource.
In case of a rejected payout, detailed error information is listed.
  • SDK Object type
    OrderStatusOutput
errors array of object no read close
close

Description

Custom object contains the set of errors
items object no read close
close
  • SDK Object type
    APIError
category string no read close
close

Description

Category the error belongs to. The category should give an indication of the type of error you are dealing with. Possible values:
  • CONNECT_PLATFORM_ERROR - indicating that a functional error has occurred in the Connect platform.
  • PAYMENT_PLATFORM_ERROR - indicating that a functional error has occurred in the Payment platform.
  • IO_ERROR - indicating that a technical error has occurred within the Connect platform or between Connect and any of the payment platforms or third party systems.
code string yes read close
close

Description

Error code
httpStatusCode integer no read close
close

Description

HTTP status code for this error that can be used to determine the type of error
id string no read close
close

Description

ID of the error. This is a short human-readable message that briefly describes the error.
message string no read close
close

Description

Human-readable error message that is not meant to be relayed to consumer as it might tip off people who are trying to commit fraud
propertyName string no read close
close

Description

Returned only if the error relates to a value that was missing or incorrect.
Contains a location path to the value as a JSonata query.
Some common examples:
  • a.b selects the value of property b of root property a,
  • a[1] selects the first element of the array in root property a,
  • a[b='some value'] selects all elements of the array in root property a that have a property b with value 'some value'.
requestId string no read close
close

Description

ID of the request that can be used for debugging purposes
isCancellable boolean no read close
close

Description

Flag indicating if the payment can be cancelled
  • true
  • false
statusCategory enum no read close
close

Description

Highlevel status of the payment, payout or refund with the following possible values:
  • CREATED - The transaction has been created. This is the initial state once a new payment, payout or refund is created. This category groups the following statuses:
    • CREATED
  • PENDING_PAYMENT: The payment is waiting on consumer action. This category groups the following statuses:
    • PENDING_PAYMENT
    • REDIRECTED
  • ACCOUNT_VERIFIED: The account has been verified. This category groups the following statuses:
    • ACCOUNT_VERIFIED
  • PENDING_MERCHANT: The transaction is awaiting approval to proceed with the payment, payout or refund. This category groups the following statuses:
    • PENDING_APPROVAL
    • PENDING_COMPLETION
    • PENDING_CAPTURE
    • PENDING_FRAUD_APPROVAL
  • PENDING_CONNECT_OR_3RD_PARTY: The transaction is in the queue to be processed. This category groups the following statuses:
    • AUTHORIZATION_REQUESTED
    • CAPTURE_REQUESTED
    • PAYOUT_REQUESTED
    • REFUND_REQUESTED
  • COMPLETED: The transaction has completed. This category groups the following statuses:
    • CAPTURED
    • PAID
    • ACCOUNT_CREDITED
    • CHARGEBACK_NOTIFICATION
  • REVERSED: The transaction has been reversed. This category groups the following statuses:
    • CHARGEBACKED
    • REVERSED
  • REFUNDED: The transaction has been refunded. This category groups the following statuses:
    • REFUNDED
  • UNSUCCESSFUL: The transaction has been rejected or is in such a state that it will never become successful. This category groups the following statuses:
    • CANCELLED
    • REJECTED
    • REJECTED_CAPTURE
    • REJECTED_CREDIT

Please see Statuses for a full overview of possible values.
statusCode integer no read close
close

Description

Numeric status code that is returned by either Ingenico's Global Collect Payment Platform or Ingenico's Ogone Payment Platform. It is returned to ease the migration from the local APIs to Ingenico Connect. You should not write new business logic based on this field as it will be deprecated in a future version of the API. The value can also be found in the Global Collect Payment Console, in the Global Collect report files and the Ogone BackOffice and report files.
statusCodeChangeDateTime string no read close
close

Description

Date and time of payment
Format: YYYYMMDDHH24MISS

Response example

SDK: Java

This scenario you will probably use the most

  • {
        "errorId" : "15eabcd5-30b3-479b-ae03-67bb351c07e6-00000092",
        "errors" : [
            {
                "code" : "20000000",
                "propertyName" : "bankAccountIban.accountHolderName",
                "message" : "PARAMETER_NOT_FOUND_IN_REQUEST"
            }
        ],
        "payoutResult" : {
            "id" : "00000088970012412217000-100001",
            "payoutOutput" : {
                "amountOfMoney" : {
                    "amount" : 2345,
                    "currencyCode" : "EUR"
                },
                "references" : {
                    "paymentReference" : "0",
                    "merchantReference" : "AcmeOrder0001"
                }
            },
            "status" : "REJECTED",
            "statusOutput" : {
                "errors" : [
                    {
                        "code" : "20000000",
                        "message" : "PARAMETER_NOT_FOUND_IN_REQUEST"
                    }
                ],
                "isCancellable" : false,
                "statusCode" : 600,
                "statusCodeChangeDateTime" : "20130605110207"
            }
        }
    }
    
icon_top_1