2d API - v1.17.0

Intergiro Direct API

Headers

NameTypeRequiredDescription
Content-Typehttp_content_type_jsontrue

application/json HTTP content type

Authentication

Request body

API key login form

NameTypeRequiredDescription
api_keystringtrue

API key

Response body

Successful login

NameTypeRequiredDescription
access_tokenstringtrue

Valid JWT token

refresh_tokenstringtrue

Refresh token

Validation error

NameTypeRequiredDescription
errorsarraytrue

Errors

errors.codestringfalse

Error code

errors.fieldstringfalse

Error field

errors.messagestringfalse

Description

Request body

Refresh access token form

NameTypeRequiredDescription
refresh_tokenstringtrue

Refresh token

Response body

Successful login

NameTypeRequiredDescription
access_tokenstringtrue

Valid JWT token

refresh_tokenstringtrue

Refresh token

Validation error

NameTypeRequiredDescription
errorsarraytrue

Errors

errors.codestringfalse

Error code

errors.fieldstringfalse

Error field

errors.messagestringfalse

Description

Transactions

Request parameters

NameTypeLocationRequiredDescription
limitintegerQueryfalse

A limit on the number of objects to be returned. Default 10. Can be 1 to 100

sort_bystringQueryfalse

Sort by. Possible values: created_at, updated_at

sort_typestringQueryfalse

Sort type. Possible values: ASC, DESC

starting_afterstringQueryfalse

Pagination cursor. starting_after is the ID of the object to begin your list with and would return objects in the order they were created after this object. For example, if you grab list of objects, ending with obj you can include starting_after=obj.id in your call to fetch next page of the list

ending_beforestringQueryfalse

Pagination cursor. ending_before is an object ID you’d specify to return objects created before this object. For example, if you grab list of objects, starting with obj you can include ending_before=obj.id in your call to fetch previous page of the list

created_fromdate-time-iso8601Queryfalse

Get transactions from date

created_todate-time-iso8601Queryfalse

Get transactions before date

account_ids[string]Queryfalse

Filter by account ids

statuses[string]Queryfalse

Filter by statuses. Possible values: pending, completed, rejected, refunded, pending_approval

correlation_ids[string]Queryfalse

Filter by correlation ids

Response body

Transactions list

NameTypeRequiredDescription
dataarraytrue

Transactions

data.idstringtrue

Transaction id

data.typestringtrue

Transaction type. Possible values: bank-transfer, card-payment, fee

data.amountintegertrue

Transaction amount

data.currencystringtrue

Transaction currency

data.exchange_rateuniontrue

Transaction exchange rate. Possible values: decimal, null

data.payment_amountintegertrue

Transaction payment amount

data.payment_currencystringtrue

Transaction payment currency

data.statusstringtrue

Transaction status. Possible values: pending, completed, rejected, refunded, pending_approval

data.account_idstringtrue

Associated account id

data.referencestringtrue

Payment details

data.merchantobjectfalse

Merchant details

data.merchant.namestringtrue

Counterparty name

data.merchant.locationstringtrue

Location

data.merchant.country_codestringtrue

Country code (ISO 3166-1 alpha-2)

data.merchant.categorystringtrue

Merchant category

data.counterpartyobjectfalse

Counterparty

data.counterparty.namestringtrue

Counterparty name

data.counterparty.account_idstringtrue

Associated account id

data.counterparty.account_detailsobjecttrue

Counterparty account details

data.counterparty.account_details.numberstringtrue

Counterparty account number

data.counterparty.account_details.bank_codestringtrue

Counterparty account bank code

data.cardobjectfalse

Card details

data.card.card_numberstringtrue

Card number

data.card.first_namestringtrue

Cardholder first name

data.card.last_namestringtrue

Cardholder last name

data.card_idstringfalse

Card id

data.bulk_payment_idstringfalse

Bulk payment id

data.correlation_idstringfalse

Bulk payment correlation id

data.created_atdate-time-iso8601true

Creation date time

data.updated_atdate-time-iso8601true

Modified date time

has_morebooleantrue

A flag that shows whether there are more items to return

Validation error

NameTypeRequiredDescription
errorsarraytrue

Errors

errors.codestringfalse

Error code

errors.fieldstringfalse

Error field

errors.messagestringfalse

Description

Unauthorized

Forbidden

NameTypeRequiredDescription
errorsarraytrue

Errors

errors.codestringfalse

Error code

errors.fieldstringfalse

Error field

errors.messagestringfalse

Description

Business error

NameTypeRequiredDescription
errorobjecttrue

Error

error.codestringfalse

Error code

error.fieldstringfalse

Error field

error.messagestringfalse

Description

Request parameters

NameTypeLocationRequiredDescription
idstringPathtrue

Transaction ID

Response body

Transaction details

NameTypeRequiredDescription
idstringtrue

Transaction id

typestringtrue

Transaction type. Possible values: bank-transfer, card-payment, fee

amountintegertrue

Transaction amount

currencystringtrue

Transaction currency

exchange_rateuniontrue

Transaction exchange rate. Possible values: decimal, null

payment_amountintegertrue

Transaction payment amount

payment_currencystringtrue

Transaction payment currency

statusstringtrue

Transaction status. Possible values: pending, completed, rejected, refunded, pending_approval

account_idstringtrue

Associated account id

referencestringtrue

Payment details

merchantobjectfalse

Merchant details

merchant.namestringtrue

Counterparty name

merchant.locationstringtrue

Location

merchant.country_codestringtrue

Country code (ISO 3166-1 alpha-2)

merchant.categorystringtrue

Merchant category

counterpartyobjectfalse

Counterparty

counterparty.namestringtrue

Counterparty name

counterparty.account_idstringtrue

Associated account id

counterparty.account_detailsobjecttrue

Counterparty account details

counterparty.account_details.numberstringtrue

Counterparty account number

counterparty.account_details.bank_codestringtrue

Counterparty account bank code

cardobjectfalse

Card details

card.card_numberstringtrue

Card number

card.first_namestringtrue

Cardholder first name

card.last_namestringtrue

Cardholder last name

card_idstringfalse

Card id

bulk_payment_idstringfalse

Bulk payment id

correlation_idstringfalse

Bulk payment correlation id

created_atdate-time-iso8601true

Creation date time

updated_atdate-time-iso8601true

Modified date time

Unauthorized

Forbidden

NameTypeRequiredDescription
errorsarraytrue

Errors

errors.codestringfalse

Error code

errors.fieldstringfalse

Error field

errors.messagestringfalse

Description

Transaction not found

Business error

NameTypeRequiredDescription
errorobjecttrue

Error

error.codestringfalse

Error code

error.fieldstringfalse

Error field

error.messagestringfalse

Description

Bulk payments

Request body

Send bulk payment payload data

NameTypeRequiredDescription
account_idstringtrue

Account ID

itemsuniontrue

Send bulk payment items request data. Possible values: Counterparty bulk payment item, Beneficiary id bulk payment item

Counterparty bulk payment item

Send bulk payment item request data

NameTypeRequiredDescription
items.counterpartyobjecttrue

Counterparty data

items.counterparty.namestringtrue

Counterparty name

items.counterparty.accountuniontrue

Counterparty account. Possible values: Sepa account

items.amountintegertrue

Transfer amount

items.referencestringtrue

Payment reference

items.correlation_iduuidfalse

Correlation ID (UUID)

Sepa account

SEPA account data

NameTypeRequiredDescription
items.counterparty.account.account_ibanstringtrue

Beneficiary account IBAN

items.counterparty.account.account_bicstringtrue

Beneficiary account BIC

Beneficiary id bulk payment item

Beneficiary ID bulk payment item

NameTypeRequiredDescription
items.beneficiary_idstringtrue

Beneficiary ID

items.amountintegertrue

Transfer amount

items.referencestringtrue

Payment reference

items.correlation_iduuidfalse

Correlation ID (UUID)

Response body

Payments created

NameTypeRequiredDescription
idstringtrue

Bulk payment ID

account_idstringtrue

Bulk payment account ID

totals_by_currencymap[bulk_payment_currency_total]true

Calculated amount totals by currency. Note: only EUR is supported

Validation error

NameTypeRequiredDescription
errorsarraytrue

Errors

errors.codestringfalse

Error code

errors.fieldstringfalse

Error field

errors.messagestringfalse

Description

Unauthorized

Forbidden

NameTypeRequiredDescription
errorsarraytrue

Errors

errors.codestringfalse

Error code

errors.fieldstringfalse

Error field

errors.messagestringfalse

Description

Business error

NameTypeRequiredDescription
errorobjecttrue

Error

error.codestringfalse

Error code

error.fieldstringfalse

Error field

error.messagestringfalse

Description

Accounts

Response body

List of bank accounts

NameTypeRequiredDescription
dataarraytrue

Bank accounts

data.idstringtrue

Account ID

data.namestringtrue

Account name

data.currencystringtrue

Account currency

data.balancedoubletrue

Account balance

has_morebooleantrue

A flag that shows whether there are more items to return

Unauthorized

Forbidden

NameTypeRequiredDescription
errorsarraytrue

Errors

errors.codestringfalse

Error code

errors.fieldstringfalse

Error field

errors.messagestringfalse

Description

Request parameters

NameTypeLocationRequiredDescription
idstringPathtrue

Account ID

Response body

Bank account

NameTypeRequiredDescription
idstringtrue

Account ID

namestringtrue

Account name

currencystringtrue

Account currency

balancedoubletrue

Account balance

Unauthorized

Forbidden

NameTypeRequiredDescription
errorsarraytrue

Errors

errors.codestringfalse

Error code

errors.fieldstringfalse

Error field

errors.messagestringfalse

Description

Not found

Request parameters

NameTypeLocationRequiredDescription
idstringPathtrue

Account ID

Response body

Bank account details

NameTypeRequiredDescription
payment_railstringtrue

Account payment rail. Possible values: sepa, swift, uk_local

detailsuniontrue

Account number and bank code. Possible values: Account details iban

beneficiarystringtrue

Beneficiary name

beneficiary_addressobjecttrue

Beneficiary address

beneficiary_address.street1stringtrue

Line 1 of the beneficiary’s address

beneficiary_address.citystringtrue

City

beneficiary_address.country_codestringtrue

Country code (ISO 3166-1 alpha-2)

beneficiary_address.post_codestringtrue

Postal code

Account details iban

Account details in IBAN format

NameTypeRequiredDescription
details.ibanstringtrue

IBAN

details.bicstringtrue

BIC

Unauthorized

Forbidden

NameTypeRequiredDescription
errorsarraytrue

Errors

errors.codestringfalse

Error code

errors.fieldstringfalse

Error field

errors.messagestringfalse

Description

Not found

Webhook payload contains data about related event. You can use ID from the payload to fetch full data of corresponding event.

Response body

Webhooks list

NameTypeRequiredDescription
idstringtrue

Webhook ID

urlstringtrue

Webhook URL

created_atdate-time-iso8601true

Creation timestamp

Unauthorized

Forbidden

NameTypeRequiredDescription
errorsarraytrue

Errors

errors.codestringfalse

Error code

errors.fieldstringfalse

Error field

errors.messagestringfalse

Description

Request body

Create webhook

NameTypeRequiredDescription
urlstring[0...255]true

Webhook URL. Must have HTTPS protocol and hostname for host part

Response body

Webhook details

NameTypeRequiredDescription
idstringtrue

Webhook ID

urlstringtrue

Webhook URL

created_atdate-time-iso8601true

Creation timestamp

Validation error

NameTypeRequiredDescription
errorsarraytrue

Errors

errors.codestringfalse

Error code

errors.fieldstringfalse

Error field

errors.messagestringfalse

Description

Unauthorized

Forbidden

NameTypeRequiredDescription
errorsarraytrue

Errors

errors.codestringfalse

Error code

errors.fieldstringfalse

Error field

errors.messagestringfalse

Description

Request parameters

NameTypeLocationRequiredDescription
idstringPathtrue

Webhook ID

Response body

Webhook is deleted

Unauthorized

Forbidden

NameTypeRequiredDescription
errorsarraytrue

Errors

errors.codestringfalse

Error code

errors.fieldstringfalse

Error field

errors.messagestringfalse

Description

Webhook not found

Events

Request parameters

NameTypeLocationRequiredDescription
limitinteger[1...100]Queryfalse

A limit on the number of objects to be returned. Default 10

sort_typestringQueryfalse

Sort type. Default DESC. Possible values: ASC, DESC

starting_afterstringQueryfalse

Pagination cursor. starting_after is the ID of the object to begin your list with and would return objects in the order they were created after this object. For example, if you grab list of objects, ending with obj you can include starting_after=obj.id in your call to fetch next page of the list

ending_beforestringQueryfalse

Pagination cursor. ending_before is an object ID you’d specify to return objects created before this object. For example, if you grab list of objects, starting with obj you can include ending_before=obj.id in your call to fetch previous page of the list

Response body

Events list

NameTypeRequiredDescription
dataarraytrue

Events

data.iduuidtrue

ID

data.namestringtrue

Name. Possible values: TransactionCreated, TransactionStatusChanged

data.payloaduniontrue

Payload. Possible values: Transaction event payload

data.created_atdate-time-iso8601true

Creation date time

has_morebooleantrue

A flag that shows whether there are more items to return

Transaction event payload

Transaction event payload. Applicable for: TransactionCreated, TransactionStatusChanged events

NameTypeRequiredDescription
data.payload.transaction_idstringtrue

Transaction ID

data.payload.statusstringtrue

Transaction status. Possible values: pending, completed, rejected, refunded, pending_approval

data.payload.typestringtrue

Transaction type. Possible values: bank-transfer, card-payment, fee

data.payload.amountintegertrue

Transaction amount

data.payload.currencystringtrue

Transaction currency

Unauthorized

Forbidden

NameTypeRequiredDescription
errorsarraytrue

Errors

errors.codestringfalse

Error code

errors.fieldstringfalse

Error field

errors.messagestringfalse

Description

Request parameters

NameTypeLocationRequiredDescription
iduuidPathtrue

Event ID

Response body

Event details

NameTypeRequiredDescription
iduuidtrue

ID

namestringtrue

Name. Possible values: TransactionCreated, TransactionStatusChanged

payloaduniontrue

Payload. Possible values: Transaction event payload

created_atdate-time-iso8601true

Creation date time

Transaction event payload

Transaction event payload. Applicable for: TransactionCreated, TransactionStatusChanged events

NameTypeRequiredDescription
payload.transaction_idstringtrue

Transaction ID

payload.statusstringtrue

Transaction status. Possible values: pending, completed, rejected, refunded, pending_approval

payload.typestringtrue

Transaction type. Possible values: bank-transfer, card-payment, fee

payload.amountintegertrue

Transaction amount

payload.currencystringtrue

Transaction currency

Unauthorized

Forbidden

NameTypeRequiredDescription
errorsarraytrue

Errors

errors.codestringfalse

Error code

errors.fieldstringfalse

Error field

errors.messagestringfalse

Description

Event not found

Beneficiaries

Request parameters

NameTypeLocationRequiredDescription
trustedbooleanQueryfalse

Filter by trusted status

limitinteger[1...100]Queryfalse

A limit on the number of objects to be returned. Default 10

sort_typestringQueryfalse

Sort type. Default DESC. Possible values: ASC, DESC

starting_afterstringQueryfalse

Pagination cursor. starting_after is the ID of the object to begin your list with and would return objects in the order they were created after this object. For example, if you grab list of objects, ending with obj you can include starting_after=obj.id in your call to fetch next page of the list

ending_beforestringQueryfalse

Pagination cursor. ending_before is an object ID you’d specify to return objects created before this object. For example, if you grab list of objects, starting with obj you can include ending_before=obj.id in your call to fetch previous page of the list

Response body

List of beneficiaries

NameTypeRequiredDescription
dataarraytrue

Beneficiaries

data.idstringtrue

Beneficiary ID

data.namestringtrue

Beneficiary name

data.trustedbooleantrue

Trusted status

data.accountuniontrue

Beneficiary account. Possible values: Beneficiary account iban

has_morebooleantrue

A flag that shows whether there are more items to return

Beneficiary account iban

Beneficiary account

NameTypeRequiredDescription
data.account.currencystringtrue

Currency

data.account.payment_railstringtrue

Payment rail

data.account.account_ibanstringtrue

Account IBAN

data.account.account_bicstringtrue

Account BIC

Unauthorized

Forbidden

NameTypeRequiredDescription
errorsarraytrue

Errors

errors.codestringfalse

Error code

errors.fieldstringfalse

Error field

errors.messagestringfalse

Description

Request parameters

NameTypeLocationRequiredDescription
idstringPathtrue

Beneficiary ID

Response body

Beneficiary

NameTypeRequiredDescription
idstringtrue

Beneficiary ID

namestringtrue

Beneficiary name

trustedbooleantrue

Trusted status

accountuniontrue

Beneficiary account. Possible values: Beneficiary account iban

Beneficiary account iban

Beneficiary account

NameTypeRequiredDescription
account.currencystringtrue

Currency

account.payment_railstringtrue

Payment rail

account.account_ibanstringtrue

Account IBAN

account.account_bicstringtrue

Account BIC

Unauthorized

Forbidden

NameTypeRequiredDescription
errorsarraytrue

Errors

errors.codestringfalse

Error code

errors.fieldstringfalse

Error field

errors.messagestringfalse

Description

Not found