Magnius API (26.6.0)

Download OpenAPI specification:Download

Magnius API Team: it@magnius.com URL: https://www.magnius.com

Magnius payments API

Using the API

URL

The API URLs:

Environment URL
Payground https://payground-api.magnius.com/v1/
Production https://api.magnius.com/v1/

Authentication

Authentication is managed using an API key that is provided to you. Every HTTP call to our API should contain a custom header called apiKey. The value of this header must be the API key.

You can find your API key under Developers > API key in our customer login environment.

Currencies and Amounts

To make our platform support all currencies and to prevent rounding errors, amounts are stored as natural numbers, paired with an exponent. This exponent defines at which position the decimal point/comma is placed, counting from the right.

Say we have and amount of 12.34 EUR. It will be stored and presented as 1234 with an exponential of 2. Some currencies, like the Japanese Yen, have no exponent. A transaction amount of ¥1,000 JPY is stored as 1000.

Filtering and Searching

Filters can be used to interact with any object. Objects can be queried by appending parameters to the query string of the URL.

So to get a list of all settled US dollar transactions with an amount equal or greater than 75.00, we would use the following URL:

/v1/transaction?status=SETTLEMENT_COMPLETED&amount>=7500

It's also possible to filter multiple statuses at the same time. For example to retrieve all successful transactions:

/v1/transaction?status[]=SETTLEMENT_COMPLETED&status[]=SETTLEMENT_REQUESTED

Sorting

For list endpoints, you can specify the sort order using the query parameters _sort and _sort- .

Sort order ASC

  • Numerical from lowest first
  • Text in alphabetical order
  • Dates from the earliest first

Query parameter: _sort=

/v1/transaction?_sort=created_at

Sort order DESC

  • Numerical from highest first
  • Text in reverse alphabetical order
  • Dates from latest first

Query parameter: _sort-=

/v1/transaction?_sort-=created_at

Populating Results

The API supports population. This means that fields that reference a certain object will be automatically resolved. Population can be achieved by providing the relevant fields the query parameter _populate.

As an example, let's take a payment profile object:

{
    "id": "7c23a50d-8699-431c-a82b-a78718d2b6f6",
    "organisation": "c96b2d81-51db-4a8a-a0e9-19918c168a3c",
    "name": "My profile",
    "currency_code": "EUR",
    ...
}

To know the name of the organisation that this payment profile belongs to, we would have to make an api-call requesting the organisation with ID c96b2d81-51db-4a8a-a0e9-19918c168a3c.

Population allows us to let the server do this for us. If we call /paymentprofile/7c23a50d-8699-431c-a82b-a78718d2b6f6?_populate=organisation, we get the following results:

{
    "id": "7c23a50d-8699-431c-a82b-a78718d2b6f6",
    "organisation": {
        "id": "c96b2d81-51db-4a8a-a0e9-19918c168a3c",
        "name": "Example Company",
        "parent_id": "cc5a8e9b-a39a-4e53-b404-668a5426cca2"
    }
    "name": "My profile",
    "currency_code": "EUR",
    ...
}

Like with filters it's also possible to populate multiple objects. As an example:

/v1/paymentprofile?_populate[]=organisation&_populate[]=bank_account

Error codes

Each request made to the API may return an error object of the following shape:

Field Type Description
code Number A 3-digit identifier
timestamp Number The time when the error occurred
message String A description of the error
[details] Object Optional, may contain information specific to the error. Used for debugging

Click here to see the complete list of codes.

The code field is something on which one can rely: it will remain the same in future implementations and it is easy to parse. The message and details properties however are not intended to be manipulated by a program. They would rather serve for debugging and are only expected to be read by human beings: they are likely to be adjusted in the future (to make them clearer or more precise).

Card

Cards will be stored automatically after transactions. It is also possible to use a card add link to store a card without a transaction

List card add links

query Parameters
_limit
integer [ 1 .. 2000 ]
Default: 100

The maximum amount of results

_populate
string

Populates the full details of a related resource. It's possible to populate multiple resources. Separate the resources by space

_skip
integer

Skips a number of results

_sort
string

Sorts the results by ascending order according to the provided field. If the field is prefixed with '-'' (e.g. -created_at), the order is descending

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Create card add link

Card add links are used in scenarios where you want to ask the customer to enter their card details for later use

Request Body schema: application/json

Create new card add link

organisation
required
string

Reference to the organization this link belongs to

customer
string

Reference to the customer this card add link belongs to

checkout
string or null

Reference to the checkout this card add link belongs to

payment_profile
string or null

If the card object should be stored with the processor too, this field is required

dynamic_descriptor
string

A short reference / descriptor that will show up on the card add link page

merchant_reference
string or null

A reference specified by the merchant to identify the transaction

redirect_url
string

The URL where the customer will be redirected once the card add completes, regardless of whether it succeeds or fails

origin
string or null

Origin (necessary when card add link will be in an iFrame) The fully qualified Origin of your application

redirect_parent_function
string or null

Redirect parent window function name(optional when card add link will be in an iFrame). Must be alphanumeric. This function will be called on the iFrame result page

webhook_card_link_update
string

A webhook url that is called when a card add link is updated

valid_until
string <date-time>

Card add link is valid until. Defaults to 24 hours

Responses

Request samples

Content type
application/json
{
  • "checkout": "3419630a-ff67-4693-a1b9-6891cc7776e2",
  • "customer": "cbbfa6ec-fb44-4da4-94c4-d81e92fd43e6",
  • "dynamic_descriptor": "Webshop X",
  • "merchant_reference": "Order 12345678",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "payment_profile": "7c23a50d-8699-431c-a82b-a78718d2b6f6",
  • "redirect_parent_function": "iframeParent",
  • "redirect_url": "https://example.com/result",
  • "valid_until": "2019-08-24T14:15:22Z",
  • "webhook_card_link_update": "https://example.com/webhook",
}

Response samples

Content type
application/json
{
  • "active": true,
  • "approval_url": "https://example.com/approval",
  • "card": "a61335cf-8c8b-4a75-a259-fd4dac62fb37",
  • "checkout": "3419630a-ff67-4693-a1b9-6891cc7776e2",
  • "created_at": "2019-08-24T14:15:22Z",
  • "customer": "cbbfa6ec-fb44-4da4-94c4-d81e92fd43e6",
  • "dynamic_descriptor": "Webshop X",
  • "id": "63618da4-26e4-428f-8c28-190229e22abf",
  • "merchant_reference": "Order 12345678",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "payment_profile": "7c23a50d-8699-431c-a82b-a78718d2b6f6",
  • "redirect_parent_function": "iframeParent",
  • "redirect_url": "https://example.com/result",
  • "status": "CREATED",
  • "updated_at": "2019-08-24T14:15:22Z",
  • "valid_until": "2019-08-24T14:15:22Z",
  • "webhook_card_link_update": "https://example.com/webhook",
}

Get card add link count

Responses

Response samples

Content type
application/json
{
  • "count": 0
}

Get card add link

path Parameters
CardAddId
required
string

The id of the card add link to retrieve

Responses

Response samples

Content type
application/json
{
  • "active": true,
  • "approval_url": "https://example.com/approval",
  • "card": "a61335cf-8c8b-4a75-a259-fd4dac62fb37",
  • "checkout": "3419630a-ff67-4693-a1b9-6891cc7776e2",
  • "created_at": "2019-08-24T14:15:22Z",
  • "customer": "cbbfa6ec-fb44-4da4-94c4-d81e92fd43e6",
  • "dynamic_descriptor": "Webshop X",
  • "id": "63618da4-26e4-428f-8c28-190229e22abf",
  • "merchant_reference": "Order 12345678",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "payment_profile": "7c23a50d-8699-431c-a82b-a78718d2b6f6",
  • "redirect_parent_function": "iframeParent",
  • "redirect_url": "https://example.com/result",
  • "status": "CREATED",
  • "updated_at": "2019-08-24T14:15:22Z",
  • "valid_until": "2019-08-24T14:15:22Z",
  • "webhook_card_link_update": "https://example.com/webhook",
}

Get card

path Parameters
CardId
required
string

The id of the card to retrieve

Responses

Response samples

Content type
application/json
{
  • "bin": "123456",
  • "brand": "Visa",
  • "created_at": "2019-08-24T14:15:22Z",
  • "currency_code": "CUSTOMIZATION_CURRENCY_DEFAULT",
  • "cvv_verified": true,
  • "data": { },
  • "expiry_month": "12",
  • "expiry_year": "2030",
  • "holder_name": "J. Doe",
  • "id": "a61335cf-8c8b-4a75-a259-fd4dac62fb37",
  • "issuer_country": "IT",
  • "issuer_name": "POSTE ITALIANE",
  • "last_four": "4321",
  • "last_used": "2019-08-24T14:15:22Z",
  • "prepaid": true,
  • "saved": true,
  • "type": "credit",
  • "variant": "Standard"
}

Update card

path Parameters
CardId
required
string

The id of the card to update

Request Body schema: application/json

Update card

expiry_month
string

Card expiry month. A number from 01 to 12

expiry_year
string

Card expiry year

holder_name
string

The name of the cardholder

saved
boolean

Indicates whether the card is saved by the customer for future use or not

Responses

Request samples

Content type
application/json
{
  • "expiry_month": "12",
  • "expiry_year": "2030",
  • "holder_name": "J. Doe",
  • "saved": true
}

Response samples

Content type
application/json
{
  • "bin": "123456",
  • "brand": "Visa",
  • "created_at": "2019-08-24T14:15:22Z",
  • "currency_code": "CUSTOMIZATION_CURRENCY_DEFAULT",
  • "cvv_verified": true,
  • "data": { },
  • "expiry_month": "12",
  • "expiry_year": "2030",
  • "holder_name": "J. Doe",
  • "id": "a61335cf-8c8b-4a75-a259-fd4dac62fb37",
  • "issuer_country": "IT",
  • "issuer_name": "POSTE ITALIANE",
  • "last_four": "4321",
  • "last_used": "2019-08-24T14:15:22Z",
  • "prepaid": true,
  • "saved": true,
  • "type": "credit",
  • "variant": "Standard"
}

Chargeback

With payment modalities such as credit cards and SEPA Direct Debit, consumers possess the capability to raise a dispute and initiate a chargeback in situations where, for instance, the acquired items fail to be delivered, and the seller remains unresponsive to inquiries

List chargebacks

query Parameters
_limit
integer [ 1 .. 2000 ]
Default: 100

The maximum amount of results

_populate
string

Populates the full details of a related resource. It's possible to populate multiple resources. Separate the resources by space

_skip
integer

Skips a number of results

_sort
string

Sorts the results by ascending order according to the provided field. If the field is prefixed with '-'' (e.g. -created_at), the order is descending

_search
string

Search chargeback

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Get chargeback count

query Parameters
_search
string

Search chargeback

Responses

Response samples

Content type
application/json
{
  • "count": 0
}

Get chargeback

path Parameters
ChargebackId
required
string

The id of the chargeback to retrieve

Responses

Response samples

Content type
application/json
{
  • "amount": 1234,
  • "created_at": "2019-08-24T14:15:22Z",
  • "files": "2019-08-24T14:15:22Z",
  • "id": "9ca1688d-942d-4ace-b5fe-ce4e999e4942",
  • "last_status_update": "2019-08-24T14:15:22Z",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "payment_profile": "7c23a50d-8699-431c-a82b-a78718d2b6f6",
  • "processor_id_external": "d7892331-c3d9-4730-b26c-fe72b8a26d19",
  • "reason": "Duplicate Processing",
  • "source_type": "PROCESSOR_CB",
  • "status": "OPEN",
  • "transaction": "e0377c06-a9e0-43a8-9885-8799a8338b5a",
  • "updated_at": "2019-08-24T14:15:22Z",
  • "work_by_date": "2019-08-24"
}

Customer

The customer object represents a customer of your business. It lets you track transactions that belong to the same customer and allows the creation of recurring transactions

List customers

query Parameters
_limit
integer [ 1 .. 2000 ]
Default: 100

The maximum amount of results

_populate
string

Populates the full details of a related resource. It's possible to populate multiple resources. Separate the resources by space

_skip
integer

Skips a number of results

_sort
string

Sorts the results by ascending order according to the provided field. If the field is prefixed with '-'' (e.g. -created_at), the order is descending

_search
string

Search customer based on id, email or name

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Create customer

Request Body schema: application/json

Create new customer

merchant_reference
string or null

A reference specified by the merchant to identify the customer

title
string or null

The title / honorific prefix of a person, amongst {mr, ms}

initials
string or null

Initials of a person

first_name
string

The first name(s) of a person, 100 characters or less

last_name
string

The last name(s) of a person, 100 characters or less

gender
string or null
Enum: "male" "female" ""

The gender of a customer amongst {male, female}

date_of_birth
string or null

The date of birth of a person, 10 characters, ISO-8601 (YYYY-MM-DD)

email_address
required
string

The email address of a person or an organisation, 100 characters or less

phone_number
string or null

The telephone or mobile number of a person / company, ITU/E.123 format with international prefix (+PPNNNNNNNNN...)

fax_number
string or null

The fax number, ITU/E.123 format with international prefix (+PPNNNNNNNNN...)

street_address
string or null

A complete street name of a person's or company's address, 250 characters or less

house_number
string or null

Address house number

house_number_suffix
string or null

Address house extension

postal_code
string or null

A postal code for the address, if any

city
string or null

A city name for the address, 100 characters or less

region
string or null

A region / state / province for the address

country_code
string or null

A 2-letter ISO3166 alpha-2. country code for the address

social_security_number
string or null

The social security number of the customer

status
string
Enum: "unverified" "auto-unverified" "auto-verified" "verified"

Customer verification status. Defaults to 'unverified'

status_reason
string

Customer verification status reason

segment
string or null
Enum: "Champion" "Loyal" "Potential Loyalist" "Recent" "Promising" "Needing Attention" "About To Sleep" "Can’t Lose Them" "Hibernating" "Lost" ""

Customer RFM (customer value) segment

is_sole_proprietor
boolean or null

Company information - Is sole proprietor

corporation_name
string or null

Company information - Name

coc_number
string or null

Company information - Chamber of Commerce number

organisation
required
string

Reference to the organisation this customer belongs to

attach_token
Array of strings

Attach imported token(s) to new customer. This will store cards that the customer can use as saved cards

Responses

Request samples

Content type
application/json
{
  • "attach_token": [
    ]
  • "city": "Amsterdam",
  • "coc_number": "3333444555",
  • "corporation_name": "Example Enterprice",
  • "country_code": "NL",
  • "date_of_birth": "1980-01-01",
  • "email_address": "j.doe@example.com",
  • "fax_number": "+31123456788",
  • "first_name": "John",
  • "gender": "male",
  • "house_number": "123",
  • "house_number_suffix": "A",
  • "initials": "J",
  • "is_sole_proprietor": true,
  • "last_name": "Doe",
  • "merchant_reference": "Customer 12345678",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "phone_number": "+31123456789",
  • "postal_code": "1234AA",
  • "region": "NH",
  • "segment": "Champion",
  • "social_security_number": "string",
  • "status": "unverified",
  • "status_reason": "string",
  • "street_address": "Example street",
  • "title": "mr"
}

Response samples

Content type
application/json
{
  • "attached_cards": [
    ]
  • "city": "Amsterdam",
  • "coc_number": "3333444555",
  • "corporation_name": "Example Enterprice",
  • "country_code": "NL",
  • "created_at": "2019-08-24T14:15:22Z",
  • "date_of_birth": "1980-01-01",
  • "email_address": "j.doe@example.com",
  • "fax_number": "+31123456788",
  • "first_name": "John",
  • "gender": "male",
  • "house_number": "123",
  • "house_number_suffix": "A",
  • "id": "cbbfa6ec-fb44-4da4-94c4-d81e92fd43e6",
  • "initials": "J",
  • "is_sole_proprietor": true,
  • "last_name": "Doe",
  • "last_status_update": "2019-08-24T14:15:22Z",
  • "merchant_reference": "Customer 12345678",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "phone_number": "+31123456789",
  • "postal_code": "1234AA",
  • "region": "NH",
  • "segment": "Champion",
  • "social_security_number": "string",
  • "status": "unverified",
  • "status_reason": "string",
  • "street_address": "Example street",
  • "title": "mr"
}

Get customer count

Responses

Response samples

Content type
application/json
{
  • "count": 0
}

Get customer

path Parameters
CustomerId
required
string

The id of the customer to retrieve

Responses

Response samples

Content type
application/json
{
  • "city": "Amsterdam",
  • "coc_number": "3333444555",
  • "corporation_name": "Example Enterprice",
  • "country_code": "NL",
  • "created_at": "2019-08-24T14:15:22Z",
  • "date_of_birth": "1980-01-01",
  • "email_address": "j.doe@example.com",
  • "fax_number": "+31123456788",
  • "first_name": "John",
  • "gender": "male",
  • "house_number": "123",
  • "house_number_suffix": "A",
  • "id": "cbbfa6ec-fb44-4da4-94c4-d81e92fd43e6",
  • "initials": "J",
  • "is_sole_proprietor": true,
  • "last_name": "Doe",
  • "last_status_update": "2019-08-24T14:15:22Z",
  • "merchant_reference": "Customer 12345678",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "phone_number": "+31123456789",
  • "postal_code": "1234AA",
  • "region": "NH",
  • "segment": "Champion",
  • "social_security_number": "string",
  • "status": "unverified",
  • "status_reason": "string",
  • "street_address": "Example street",
  • "title": "mr"
}

Update customer

path Parameters
CustomerId
required
string

The id of the customer to update

Request Body schema: application/json

Customer

merchant_reference
string or null

A reference specified by the merchant to identify the customer

title
string or null

The title / honorific prefix of a person, amongst {mr, ms}

initials
string or null

Initials of a person

first_name
string

The first name(s) of a person, 100 characters or less

last_name
string

The last name(s) of a person, 100 characters or less

gender
string or null
Enum: "male" "female" ""

The gender of a customer amongst {male, female}

date_of_birth
string or null

The date of birth of a person, 10 characters, ISO-8601 (YYYY-MM-DD)

email_address
string

The email address of a person or an organisation, 100 characters or less

phone_number
string or null

The telephone or mobile number of a person / company, ITU/E.123 format with international prefix (+PPNNNNNNNNN...)

fax_number
string or null

The fax number, ITU/E.123 format with international prefix (+PPNNNNNNNNN...)

street_address
string or null

A complete street name of a person's or company's address, 250 characters or less

house_number
string or null

Address house number

house_number_suffix
string or null

Address house extension

postal_code
string or null

A postal code for the address, if any

city
string or null

A city name for the address, 100 characters or less

region
string or null

A region / state / province for the address

country_code
string or null

A 2-letter ISO3166 alpha-2. country code for the address

social_security_number
string or null

The social security number of the customer

status
string
Enum: "unverified" "auto-unverified" "auto-verified" "verified"

Customer verification status. Defaults to 'unverified'

status_reason
string

Customer verification status reason

segment
string or null
Enum: "Champion" "Loyal" "Potential Loyalist" "Recent" "Promising" "Needing Attention" "About To Sleep" "Can’t Lose Them" "Hibernating" "Lost" ""

Customer RFM (customer value) segment

is_sole_proprietor
boolean or null

Company information - Is sole proprietor

corporation_name
string or null

Company information - Name

coc_number
string or null

Company information - Chamber of Commerce number

Responses

Request samples

Content type
application/json
{
  • "city": "Amsterdam",
  • "coc_number": "3333444555",
  • "corporation_name": "Example Enterprice",
  • "country_code": "NL",
  • "date_of_birth": "1980-01-01",
  • "email_address": "j.doe@example.com",
  • "fax_number": "+31123456788",
  • "first_name": "John",
  • "gender": "male",
  • "house_number": "123",
  • "house_number_suffix": "A",
  • "initials": "J",
  • "is_sole_proprietor": true,
  • "last_name": "Doe",
  • "merchant_reference": "Customer 12345678",
  • "phone_number": "+31123456789",
  • "postal_code": "1234AA",
  • "region": "NH",
  • "segment": "Champion",
  • "social_security_number": "string",
  • "status": "unverified",
  • "status_reason": "string",
  • "street_address": "Example street",
  • "title": "mr"
}

Response samples

Content type
application/json
{
  • "city": "Amsterdam",
  • "coc_number": "3333444555",
  • "corporation_name": "Example Enterprice",
  • "country_code": "NL",
  • "created_at": "2019-08-24T14:15:22Z",
  • "date_of_birth": "1980-01-01",
  • "email_address": "j.doe@example.com",
  • "fax_number": "+31123456788",
  • "first_name": "John",
  • "gender": "male",
  • "house_number": "123",
  • "house_number_suffix": "A",
  • "id": "cbbfa6ec-fb44-4da4-94c4-d81e92fd43e6",
  • "initials": "J",
  • "is_sole_proprietor": true,
  • "last_name": "Doe",
  • "last_status_update": "2019-08-24T14:15:22Z",
  • "merchant_reference": "Customer 12345678",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "phone_number": "+31123456789",
  • "postal_code": "1234AA",
  • "region": "NH",
  • "segment": "Champion",
  • "social_security_number": "string",
  • "status": "unverified",
  • "status_reason": "string",
  • "street_address": "Example street",
  • "title": "mr"
}

Bulk import customers

Request Body schema: application/jsonl

Bulk create customers using JSONL format. Each line should be a valid JSON object matching the CustomerCreate schema.

Example Request:
{"merchant_reference": "ref_1", "first_name": "John", "last_name": "Doe", "email_address": "john.doe@example.com", "organisation": "org_1"}
{"merchant_reference": "ref_2", "first_name": "Jane", "last_name": "Smith", "email_address": "invalid", "organisation": "org_1"}


Bulk response:

merchant_referencestring or nullReference specified by the merchant to identify the customer
idstringThe ID of the customer object
statusinteger200 for success, 400 for validation error
errorsobject or nullValidation errors, key-value pairs

Example Response:
{"merchant_reference": "ref_1", "id": "a61335cf-8c8b-4a75-a259-fd4dac62fb37", "status": 200, "errors": null}
{"merchant_reference": "ref_2", "id": null, "status": 400, "errors": {"email_address": "This value is not a valid email address."}}

string <binary>

One customer JSON per line. Maximum 1000 customers.

Responses

Request samples

Content type
application/jsonl
{"merchant_reference": "ref_1", "first_name": "John", "last_name": "Doe", "email_address": "john.doe@example.com", "organisation": "org_1"}
{"merchant_reference": "ref_2", "first_name": "Jane", "last_name": "Smith", "email_address": "invalid", "organisation": "org_1"}

Response samples

Content type
application/jsonl
{"merchant_reference": "ref_1", "id": "a61335cf-8c8b-4a75-a259-fd4dac62fb37", "status": 200, "errors": null}
{"merchant_reference": "ref_2", "id": null, "status": 400, "errors": {"email_address": "This value is not a valid email address."}}

Attach token(s) to a customer

path Parameters
CustomerId
required
string

The id of the customer to attach the token(s) to

Request Body schema: application/json

Attach token(s) to customer

attach_token
Array of strings

Attach imported token(s) to new customer. This will store cards that the customer can use as saved cards

Responses

Request samples

Content type
application/json
{
  • "attach_token": [
    ]
}

Response samples

Content type
application/json
{
  • "attached_cards": [
    ]
  • "city": "Amsterdam",
  • "coc_number": "3333444555",
  • "corporation_name": "Example Enterprice",
  • "country_code": "NL",
  • "created_at": "2019-08-24T14:15:22Z",
  • "date_of_birth": "1980-01-01",
  • "email_address": "j.doe@example.com",
  • "fax_number": "+31123456788",
  • "first_name": "John",
  • "gender": "male",
  • "house_number": "123",
  • "house_number_suffix": "A",
  • "id": "cbbfa6ec-fb44-4da4-94c4-d81e92fd43e6",
  • "initials": "J",
  • "is_sole_proprietor": true,
  • "last_name": "Doe",
  • "last_status_update": "2019-08-24T14:15:22Z",
  • "merchant_reference": "Customer 12345678",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "phone_number": "+31123456789",
  • "postal_code": "1234AA",
  • "region": "NH",
  • "segment": "Champion",
  • "social_security_number": "string",
  • "status": "unverified",
  • "status_reason": "string",
  • "street_address": "Example street",
  • "title": "mr"
}

Get status history

path Parameters
CustomerId
required
string

The id of the customer to retrieve

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Customer Erasure Request

path Parameters
CustomerId
required
string

The id of the customer to erase

query Parameters
_with_transactions
boolean

Erase customer transactions as well

Responses

Response samples

Content type
application/json
{
  • "message": "Erasure request for object [object Id] is completed."
}

Customer Card list

path Parameters
CustomerId
required
string

The id of the customer

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Refund

With a refund you can return collected funds back to your customer

List refunds

query Parameters
_limit
integer [ 1 .. 2000 ]
Default: 100

The maximum amount of results

_populate
string

Populates the full details of a related resource. It's possible to populate multiple resources. Separate the resources by space

_skip
integer

Skips a number of results

_sort
string

Sorts the results by ascending order according to the provided field. If the field is prefixed with '-'' (e.g. -created_at), the order is descending

_search
string

Search refund

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Get the refund count

Responses

Response samples

Content type
application/json
{
  • "count": 0
}

Get refund

path Parameters
RefundId
required
string

The id of the refund to retrieve

query Parameters
_search
string

Search refund

Responses

Response samples

Content type
application/json
{
  • "amount": 1234,
  • "created_at": "2019-08-24T14:15:22Z",
  • "id": "5dd46e6b-fd34-4143-9fec-131abb3fd78e",
  • "last_status_update": "2019-08-24T14:15:22Z",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "payment_profile": "7c23a50d-8699-431c-a82b-a78718d2b6f6",
  • "processor": "c4e6b136-c1fb-41e6-9328-09e01dbc6df5",
  • "processor_id_external": "63b2ecc5-d9cd-433d-bbdb-15e3aad12bba",
  • "reason": "Product does not match description",
  • "status": "PENDING",
  • "transaction": "e0377c06-a9e0-43a8-9885-8799a8338b5a",
  • "webhook_refund_update": "https://example.com/webhook",
}

Void refund

path Parameters
RefundId
required
string

The id of the refund to void

Responses

Response samples

Content type
application/json
{
  • "message": "Object [object] voided."
}

Transaction

The transaction flow consists of three main steps: initialization, authorization, and validation. For more information, see our Checkout integration guide

List transactions

query Parameters
_limit
integer [ 1 .. 2000 ]
Default: 100

The maximum amount of results

_populate
string

Populates the full details of a related resource. It's possible to populate multiple resources. Separate the resources by space

_skip
integer

Skips a number of results

_sort
string

Sorts the results by ascending order according to the provided field. If the field is prefixed with '-'' (e.g. -created_at), the order is descending

_search
string

Search transaction based on id or merchant reference

_search_by
string
Enum: "id" "merchant_reference" "customer"

Define the field you want to search on

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Get transaction count

Responses

Response samples

Content type
application/json
{
  • "count": 0
}

Get transaction

path Parameters
TransactionId
required
string

The id of the transaction to retrieve

Responses

Response samples

Content type
application/json
{
  • "amount": 1234,
  • "amount_original": 0,
  • "block_details": [
    ],
  • "blocked": true,
  • "browser": "Chrome",
  • "browser_version": "81.0.4044.138",
  • "card": "a61335cf-8c8b-4a75-a259-fd4dac62fb37",
  • "city": "Amsterdam",
  • "country_code": "NL",
  • "created_at": "2019-08-24T14:15:22Z",
  • "customer": "cbbfa6ec-fb44-4da4-94c4-d81e92fd43e6",
  • "customer_ip": "123.123.123.123",
  • "customer_status": "unverified",
  • "details": {
    },
  • "dynamic_descriptor": "Webshop X",
  • "id": "9e0377c06-a9e0-43a8-9885-8799a8338b5a",
  • "last_status_update": "2019-08-24T14:15:22Z",
  • "latitude": "52.3667",
  • "longitude": "4.8945",
  • "merchant_reference": "Order 12345678",
  • "order_data": {
    },
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "payment_product": "alipay",
  • "payment_product_issuer": "mastercard",
  • "payment_product_type": "mastercard",
  • "payment_profile": "7c23a50d-8699-431c-a82b-a78718d2b6f6",
  • "platform": "Windows",
  • "processor": "c4e6b136-c1fb-41e6-9328-09e01dbc6df5",
  • "processor_id_external": "e3332d06-0e19-4783-86d8-e861b414a7e7",
  • "processor_id_external_second": "1a55747a-1e16-4ce7-86c7-4ab2cf060af2",
  • "recurring_type": "first",
  • "reserve_release_date": "2019-08-24T14:15:22Z",
  • "settlement": "a42b0f5b-1d9a-4641-9dab-ddbaf308a1a6",
  • "status": "SETTLEMENT_COMPLETED",
  • "status_reason": "Cancelled by customer",
  • "subscription": "d22f96b7-638e-4132-ba4e-1119571f4a76",
  • "subscription_cycle": 1,
  • "tagged": true,
  • "tags": [
    ],
  • "terminal": "0665ede3-3990-4c9b-beac-77abfeda5858",
  • "user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36 OPR/68.0.3618.125",
  • "webhook_transaction_update": "https://example.com/webhook",
}

Get transaction checkout success

path Parameters
TransactionId
required
string

The id of the transaction to retrieve

Responses

Response samples

Content type
application/json
{
  • "status": "SETTLEMENT_REQUESTED",
  • "status_reason": "Success",
  • "success": true
}

Get transaction history

path Parameters
TransactionId
required
string

The id of the transaction to retrieve

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Start transaction

The Start Transaction operation is used to initiate a payment.

The details object depends on the payment product chosen. See the example items for specific detail objects.

By providing "due-date" with a future date, a scheduled transaction will be created.

header Parameters
due-date
string <date>
Example: 2025-01-25

If provided, a scheduled transaction will be created and executed on the specified date

Request Body schema: application/json

Transaction

organisation
string

Reference to the organization this transaction belongs to

payment_profile
required
string

Reference to the payment profile this transaction belongs to

amount
required
integer

Amount is charged without a decimal place e.g. $1.5 = 150. Currencies can have different decimals/exponentials, see Currencies Section for more details

dynamic_descriptor
required
string

A short reference / descriptor that will show up on the customers bank statement

merchant_reference
required
string

A reference specified by the merchant to identify the transaction

customer
string

Reference to the customer this transaction belongs to

customer_ip
required
string

The IP address of the customer

country_code
string

Two-letter ISO country code

user_agent
required
string

The full user agent string of the device the customer used to submit the transaction

required
object

Transaction details

object (TransactionOrderData)

Transaction - OrderData

card
string

The Id of the card object. Required for recurring_type=repeat

payment_product
string

Payment product string

recurring_type
string
Enum: "" "first" "repeat"

This field is to be used only when a transaction is part of a series of recurring transactions. If it's the initial transaction, set the value to 'first', and if it's not, set it to 'repeat'. This field must not be included in transactions that will not be part of a series of repeated transactions. ('first' and 'repeat' are written in all lowercase letters).

webhook_transaction_update
string

A webhook url that is called when a transaction is updated

Responses

Request samples

Content type
application/json
Example
{
  • "amount": 1234,
  • "card": "a61335cf-8c8b-4a75-a259-fd4dac62fb37",
  • "country_code": "NL",
  • "customer": "cbbfa6ec-fb44-4da4-94c4-d81e92fd43e6",
  • "customer_ip": "123.123.123.123",
  • "details": {
    },
  • "dynamic_descriptor": "Webshop X",
  • "merchant_reference": "Order 12345678",
  • "order_data": {
    },
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "payment_product": "alipay",
  • "payment_profile": "7c23a50d-8699-431c-a82b-a78718d2b6f6",
  • "recurring_type": "first",
  • "user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36 OPR/68.0.3618.125",
  • "webhook_transaction_update": "https://example.com/webhook"
}

Response samples

Content type
application/json
Example
{
  • "amount": 1234,
  • "amount_original": 0,
  • "block_details": [
    ],
  • "blocked": true,
  • "browser": "Chrome",
  • "browser_version": "81.0.4044.138",
  • "card": "a61335cf-8c8b-4a75-a259-fd4dac62fb37",
  • "city": "Amsterdam",
  • "country_code": "NL",
  • "created_at": "2019-08-24T14:15:22Z",
  • "customer": "cbbfa6ec-fb44-4da4-94c4-d81e92fd43e6",
  • "customer_ip": "123.123.123.123",
  • "customer_status": "unverified",
  • "details": {
    },
  • "dynamic_descriptor": "Webshop X",
  • "id": "9e0377c06-a9e0-43a8-9885-8799a8338b5a",
  • "last_status_update": "2019-08-24T14:15:22Z",
  • "latitude": "52.3667",
  • "longitude": "4.8945",
  • "merchant_reference": "Order 12345678",
  • "order_data": {
    },
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "payment_product": "alipay",
  • "payment_product_issuer": "mastercard",
  • "payment_product_type": "mastercard",
  • "payment_profile": "7c23a50d-8699-431c-a82b-a78718d2b6f6",
  • "platform": "Windows",
  • "processor": "c4e6b136-c1fb-41e6-9328-09e01dbc6df5",
  • "processor_id_external": "e3332d06-0e19-4783-86d8-e861b414a7e7",
  • "processor_id_external_second": "1a55747a-1e16-4ce7-86c7-4ab2cf060af2",
  • "recurring_type": "first",
  • "reserve_release_date": "2019-08-24T14:15:22Z",
  • "settlement": "a42b0f5b-1d9a-4641-9dab-ddbaf308a1a6",
  • "status": "SETTLEMENT_COMPLETED",
  • "status_reason": "Cancelled by customer",
  • "subscription": "d22f96b7-638e-4132-ba4e-1119571f4a76",
  • "subscription_cycle": 1,
  • "tagged": true,
  • "tags": [
    ],
  • "terminal": "0665ede3-3990-4c9b-beac-77abfeda5858",
  • "user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36 OPR/68.0.3618.125",
  • "webhook_transaction_update": "https://example.com/webhook",
}

Bulk import transactions

header Parameters
due-date
required
string <date>
Example: 2025-01-25

A scheduled transaction will be created and executed on the specified date. For bulk this is currently only enabled for sepa and is required.

Request Body schema: application/jsonl

Bulk create transactions using JSONL format. Each line should be a valid JSON object matching the TransactionStart schema.

Example Request:
{"payment_profile": "pp_1", "amount": 100, "payment_product": "sepa", "merchant_reference": "ref_1", "dynamic_descriptor": "des_1", "customer_ip": "ip_1", "user_agent": "agent_1", "details": {"redirect_url": "https://example.com/redirect", "mandate": "man_1"} }
{"payment_profile": "pp_1", "amount": 0, "payment_product": "sepa", "merchant_reference": "ref_2", "dynamic_descriptor": "des_2", "customer_ip": "ip_2", "user_agent": "agent_2", "details": {"redirect_url": "https://example.com/redirect", "mandate": "man_2"} }


Bulk response:

merchant_referencestring or nullReference specified by the merchant to identify the transaction
idstringThe ID of the transaction object
statusinteger200 for success, 400 for validation error
errorsobject or nullValidation errors, key-value pairs

Example Response:
{"merchant_reference": "ref_1", "id": "a61335cf-8c8b-4a75-a259-fd4dac62fb37", "status": 200, "errors": null}
{"merchant_reference": "ref_2", "id": null, "status": 400, "errors": {"amount": "This value should be greater than 0."}}

string <binary>

One transaction JSON per line. Maximum 1000 transactions.

Responses

Request samples

Content type
application/jsonl
{"payment_profile": "pp_1", "amount": 100, "payment_product": "sepa", "merchant_reference": "ref_1", "dynamic_descriptor": "des_1", "customer_ip": "ip_1", "user_agent": "agent_1", "details": {"redirect_url": "https://example.com/redirect", "mandate": "man_1"} }
{"payment_profile": "pp_1", "amount": 0, "payment_product": "sepa", "merchant_reference": "ref_2", "dynamic_descriptor": "des_2", "customer_ip": "ip_2", "user_agent": "agent_2", "details": {"redirect_url": "https://example.com/redirect", "mandate": "man_2"} }

Response samples

Content type
application/jsonl
{"merchant_reference": "ref_1", "id": "a61335cf-8c8b-4a75-a259-fd4dac62fb37", "status": 200, "errors": null}
{"merchant_reference": "ref_2", "id": null, "status": 400, "errors": {"amount": "This value should be greater than 0."}}

Void authorized transaction

path Parameters
TransactionId
required
string

The id of the transaction to void

Responses

Response samples

Content type
application/json
{
  • "amount": 1234,
  • "amount_original": 0,
  • "block_details": [
    ],
  • "blocked": true,
  • "browser": "Chrome",
  • "browser_version": "81.0.4044.138",
  • "card": "a61335cf-8c8b-4a75-a259-fd4dac62fb37",
  • "city": "Amsterdam",
  • "country_code": "NL",
  • "created_at": "2019-08-24T14:15:22Z",
  • "customer": "cbbfa6ec-fb44-4da4-94c4-d81e92fd43e6",
  • "customer_ip": "123.123.123.123",
  • "customer_status": "unverified",
  • "details": {
    },
  • "dynamic_descriptor": "Webshop X",
  • "id": "9e0377c06-a9e0-43a8-9885-8799a8338b5a",
  • "last_status_update": "2019-08-24T14:15:22Z",
  • "latitude": "52.3667",
  • "longitude": "4.8945",
  • "merchant_reference": "Order 12345678",
  • "order_data": {
    },
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "payment_product": "alipay",
  • "payment_product_issuer": "mastercard",
  • "payment_product_type": "mastercard",
  • "payment_profile": "7c23a50d-8699-431c-a82b-a78718d2b6f6",
  • "platform": "Windows",
  • "processor": "c4e6b136-c1fb-41e6-9328-09e01dbc6df5",
  • "processor_id_external": "e3332d06-0e19-4783-86d8-e861b414a7e7",
  • "processor_id_external_second": "1a55747a-1e16-4ce7-86c7-4ab2cf060af2",
  • "recurring_type": "first",
  • "reserve_release_date": "2019-08-24T14:15:22Z",
  • "settlement": "a42b0f5b-1d9a-4641-9dab-ddbaf308a1a6",
  • "status": "SETTLEMENT_COMPLETED",
  • "status_reason": "Cancelled by customer",
  • "subscription": "d22f96b7-638e-4132-ba4e-1119571f4a76",
  • "subscription_cycle": 1,
  • "tagged": true,
  • "tags": [
    ],
  • "terminal": "0665ede3-3990-4c9b-beac-77abfeda5858",
  • "user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36 OPR/68.0.3618.125",
  • "webhook_transaction_update": "https://example.com/webhook",
}

Capture authorized transaction

path Parameters
TransactionId
required
string

The id of the transaction to capture

Request Body schema: application/json

Capture

amount
required
integer

Amount is charged without a decimal place e.g. $1.5 = 150. Currencies can have different decimals/exponentials, see Currencies Section for more details

Responses

Request samples

Content type
application/json
{
  • "amount": 0
}

Response samples

Content type
application/json
{
  • "amount": 1234,
  • "amount_original": 0,
  • "block_details": [
    ],
  • "blocked": true,
  • "browser": "Chrome",
  • "browser_version": "81.0.4044.138",
  • "card": "a61335cf-8c8b-4a75-a259-fd4dac62fb37",
  • "city": "Amsterdam",
  • "country_code": "NL",
  • "created_at": "2019-08-24T14:15:22Z",
  • "customer": "cbbfa6ec-fb44-4da4-94c4-d81e92fd43e6",
  • "customer_ip": "123.123.123.123",
  • "customer_status": "unverified",
  • "details": {
    },
  • "dynamic_descriptor": "Webshop X",
  • "id": "9e0377c06-a9e0-43a8-9885-8799a8338b5a",
  • "last_status_update": "2019-08-24T14:15:22Z",
  • "latitude": "52.3667",
  • "longitude": "4.8945",
  • "merchant_reference": "Order 12345678",
  • "order_data": {
    },
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "payment_product": "alipay",
  • "payment_product_issuer": "mastercard",
  • "payment_product_type": "mastercard",
  • "payment_profile": "7c23a50d-8699-431c-a82b-a78718d2b6f6",
  • "platform": "Windows",
  • "processor": "c4e6b136-c1fb-41e6-9328-09e01dbc6df5",
  • "processor_id_external": "e3332d06-0e19-4783-86d8-e861b414a7e7",
  • "processor_id_external_second": "1a55747a-1e16-4ce7-86c7-4ab2cf060af2",
  • "recurring_type": "first",
  • "reserve_release_date": "2019-08-24T14:15:22Z",
  • "settlement": "a42b0f5b-1d9a-4641-9dab-ddbaf308a1a6",
  • "status": "SETTLEMENT_COMPLETED",
  • "status_reason": "Cancelled by customer",
  • "subscription": "d22f96b7-638e-4132-ba4e-1119571f4a76",
  • "subscription_cycle": 1,
  • "tagged": true,
  • "tags": [
    ],
  • "terminal": "0665ede3-3990-4c9b-beac-77abfeda5858",
  • "user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36 OPR/68.0.3618.125",
  • "webhook_transaction_update": "https://example.com/webhook",
}

Add refund to transaction

path Parameters
TransactionId
required
string

The id of the transaction to refund

Request Body schema: application/json

Transaction

amount
required
integer

Amount is charged without a decimal place e.g. $1.5 = 150. Currencies can have different decimals/exponentials, see Currencies Section for more details

reason
string

Refund reason

webhook_refund_update
string or null

A webhook url that is called when a refund is updated

Responses

Request samples

Content type
application/json
{}

Response samples

Content type
application/json
{
  • "amount": 1234,
  • "created_at": "2019-08-24T14:15:22Z",
  • "id": "5dd46e6b-fd34-4143-9fec-131abb3fd78e",
  • "last_status_update": "2019-08-24T14:15:22Z",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "payment_profile": "7c23a50d-8699-431c-a82b-a78718d2b6f6",
  • "processor": "c4e6b136-c1fb-41e6-9328-09e01dbc6df5",
  • "processor_id_external": "63b2ecc5-d9cd-433d-bbdb-15e3aad12bba",
  • "reason": "Product does not match description",
  • "status": "PENDING",
  • "transaction": "e0377c06-a9e0-43a8-9885-8799a8338b5a",
  • "webhook_refund_update": "https://example.com/webhook",
}

List iDEAL | Wero issuers

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Transaction Erasure Request

path Parameters
TransactionId
required
string

The id of the transaction to erase

query Parameters
_with_customer
boolean

Erase transaction customer as well

_with_customer_other_transactions
boolean

Erase customer other transactions as well

Responses

Response samples

Content type
application/json
{
  • "message": "Erasure request for object [object Id] is completed."
}

Scheduled Transaction

Scheduled transactions

List scheduled transaction

query Parameters
_limit
integer [ 1 .. 2000 ]
Default: 100

The maximum amount of results

_populate
string

Populates the full details of a related resource. It's possible to populate multiple resources. Separate the resources by space

_skip
integer

Skips a number of results

_sort
string

Sorts the results by ascending order according to the provided field. If the field is prefixed with '-'' (e.g. -created_at), the order is descending

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Get the scheduled transaction count

Responses

Response samples

Content type
application/json
{
  • "count": 0
}

Get a scheduled transaction

path Parameters
scheduledTransactionId
required
string

The id of the scheduled transaction to retrieve

Responses

Response samples

Content type
application/json
{
  • "amount": 1234,
  • "apikey": "b1330396-92c7-4d1c-890a-b111373a13a8",
  • "created_at": "2019-08-24T14:15:22Z",
  • "customer": "cbbfa6ec-fb44-4da4-94c4-d81e92fd43e6",
  • "due_date": "2025-01-25",
  • "dynamic_descriptor": "Webshop X",
  • "executed_at": "2025-01-25 12:00:00",
  • "id": "bcd93c27-c163-4a46-8e2e-a0634b4b617b",
  • "merchant_reference": "Order 12345678",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "payment_product": "alipay",
  • "payment_profile": "7c23a50d-8699-431c-a82b-a78718d2b6f6",
  • "status": "CREATED"
}

Delete scheduled transaction

path Parameters
scheduledTransactionId
required
string

The id of the scheduled transaction to delete

Responses

Response samples

Content type
application/json
{
  • "message": "Object [object Id] deleted."
}

Session

Retry session

List sessions

query Parameters
_limit
integer [ 1 .. 2000 ]
Default: 100

The maximum amount of results

_populate
string

Populates the full details of a related resource. It's possible to populate multiple resources. Separate the resources by space

_skip
integer

Skips a number of results

_sort
string

Sorts the results by ascending order according to the provided field. If the field is prefixed with '-'' (e.g. -created_at), the order is descending

_search
string

Search based on id

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Create a new retry session

Creates a new retry session. This endpoint functions similarly to the /transaction/start endpoint, but requires a Retry ID to enable automatic retry attempts for previously failed transactions.

Important: For standard transaction flows, use the /transaction/start endpoint instead. This endpoint should only be used when implementing automated retry logic for failed transactions.

Note: The due-date header is not supported for session creation. If you need to set a due date, use the /transaction/start endpoint with the due-date header instead.

Request Body schema: application/json

Create new session

organisation
string

Reference to the organization this transaction belongs to

payment_profile
required
string

Reference to the payment profile this transaction belongs to

amount
required
integer

Amount is charged without a decimal place e.g. $1.5 = 150. Currencies can have different decimals/exponentials, see Currencies Section for more details

dynamic_descriptor
required
string

A short reference / descriptor that will show up on the customers bank statement

merchant_reference
required
string

A reference specified by the merchant to identify the transaction

customer
string

Reference to the customer this transaction belongs to

customer_ip
required
string

The IP address of the customer

country_code
string

Two-letter ISO country code

user_agent
required
string

The full user agent string of the device the customer used to submit the transaction

required
object (TransactionDetailCard)

Transaction details

object (TransactionOrderData)

Transaction - OrderData

card
string

The Id of the card object. Required for recurring_type=repeat

payment_product
required
string
Enum: "card" "applepay" "alipay" "bacs" "bcmc" "belfius" "bitpay" "bpwallet" "cardexternal" "creditclick" "directdebit" "directdebitplus" "dummy" "efecty" "eps" "etransfer" "ezeewallet" "finshark" "gcash" "googlepay" "ideal" "imps" "instaxchange" "interac" "klarna" "multibanco" "mybank" "opennode" "oxxo" "p24" "paybybank" "paypal" "paysafecard" "paytm" "payu" "pix" "pos" "pse" "sepa" "skrill" "sofort" "triplea" "trustly" "trustpay" "unionpay" "upi" "volt" "wechatpay"

Payment product string

recurring_type
string
Enum: "" "first" "repeat"

This field is to be used only when a transaction is part of a series of recurring transactions. If it's the initial transaction, set the value to 'first', and if it's not, set it to 'repeat'. This field must not be included in transactions that will not be part of a series of repeated transactions. ('first' and 'repeat' are written in all lowercase letters).

webhook_transaction_update
string

A webhook url that is called when a transaction is updated

retry
required
string

Reference to the retry this session belongs to

Responses

Request samples

Content type
application/json
{
  • "amount": 1234,
  • "card": "a61335cf-8c8b-4a75-a259-fd4dac62fb37",
  • "country_code": "NL",
  • "customer": "cbbfa6ec-fb44-4da4-94c4-d81e92fd43e6",
  • "customer_ip": "123.123.123.123",
  • "details": {
    },
  • "dynamic_descriptor": "Webshop X",
  • "merchant_reference": "Order 12345678",
  • "order_data": {
    },
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "payment_product": "card",
  • "payment_profile": "7c23a50d-8699-431c-a82b-a78718d2b6f6",
  • "recurring_type": "first",
  • "retry": "502ec437-2dfc-449c-b4f8-5a6ceac24d45",
  • "user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36 OPR/68.0.3618.125",
  • "webhook_transaction_update": "https://example.com/webhook",
}

Response samples

Content type
application/json
{
  • "amount": 1234,
  • "amount_original": 0,
  • "block_details": [
    ],
  • "blocked": true,
  • "browser": "Chrome",
  • "browser_version": "81.0.4044.138",
  • "card": "a61335cf-8c8b-4a75-a259-fd4dac62fb37",
  • "city": "Amsterdam",
  • "country_code": "NL",
  • "created_at": "2019-08-24T14:15:22Z",
  • "customer": "cbbfa6ec-fb44-4da4-94c4-d81e92fd43e6",
  • "customer_ip": "123.123.123.123",
  • "customer_status": "unverified",
  • "details": {
    },
  • "dynamic_descriptor": "Webshop X",
  • "id": "502ec437-2dfc-449c-b4f8-5a6ceac24d45",
  • "last_status_update": "2019-08-24T14:15:22Z",
  • "latitude": "52.3667",
  • "longitude": "4.8945",
  • "merchant_reference": "Order 12345678",
  • "order_data": {
    },
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "payment_product": "alipay",
  • "payment_product_issuer": "mastercard",
  • "payment_product_type": "mastercard",
  • "payment_profile": "7c23a50d-8699-431c-a82b-a78718d2b6f6",
  • "platform": "Windows",
  • "processor": "c4e6b136-c1fb-41e6-9328-09e01dbc6df5",
  • "processor_id_external": "e3332d06-0e19-4783-86d8-e861b414a7e7",
  • "processor_id_external_second": "1a55747a-1e16-4ce7-86c7-4ab2cf060af2",
  • "recurring_type": "first",
  • "reserve_release_date": "2019-08-24T14:15:22Z",
  • "retry": "502ec437-2dfc-449c-b4f8-5a6ceac24d45",
  • "settlement": "a42b0f5b-1d9a-4641-9dab-ddbaf308a1a6",
  • "status": "SETTLEMENT_COMPLETED",
  • "status_reason": "Cancelled by customer",
  • "subscription": "d22f96b7-638e-4132-ba4e-1119571f4a76",
  • "subscription_cycle": 1,
  • "tagged": true,
  • "tags": [
    ],
  • "terminal": "0665ede3-3990-4c9b-beac-77abfeda5858",
  • "user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36 OPR/68.0.3618.125",
  • "webhook_transaction_update": "https://example.com/webhook",
}

Get session count

Responses

Response samples

Content type
application/json
{
  • "count": 0
}

Get session

path Parameters
SessionId
required
string

The id of the session to retrieve

Responses

Response samples

Content type
application/json
{
  • "amount": 1234,
  • "amount_original": 0,
  • "block_details": [
    ],
  • "blocked": true,
  • "browser": "Chrome",
  • "browser_version": "81.0.4044.138",
  • "card": "a61335cf-8c8b-4a75-a259-fd4dac62fb37",
  • "city": "Amsterdam",
  • "country_code": "NL",
  • "created_at": "2019-08-24T14:15:22Z",
  • "customer": "cbbfa6ec-fb44-4da4-94c4-d81e92fd43e6",
  • "customer_ip": "123.123.123.123",
  • "customer_status": "unverified",
  • "details": {
    },
  • "dynamic_descriptor": "Webshop X",
  • "id": "502ec437-2dfc-449c-b4f8-5a6ceac24d45",
  • "last_status_update": "2019-08-24T14:15:22Z",
  • "latitude": "52.3667",
  • "longitude": "4.8945",
  • "merchant_reference": "Order 12345678",
  • "order_data": {
    },
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "payment_product": "alipay",
  • "payment_product_issuer": "mastercard",
  • "payment_product_type": "mastercard",
  • "payment_profile": "7c23a50d-8699-431c-a82b-a78718d2b6f6",
  • "platform": "Windows",
  • "processor": "c4e6b136-c1fb-41e6-9328-09e01dbc6df5",
  • "processor_id_external": "e3332d06-0e19-4783-86d8-e861b414a7e7",
  • "processor_id_external_second": "1a55747a-1e16-4ce7-86c7-4ab2cf060af2",
  • "recurring_type": "first",
  • "reserve_release_date": "2019-08-24T14:15:22Z",
  • "retry": "502ec437-2dfc-449c-b4f8-5a6ceac24d45",
  • "settlement": "a42b0f5b-1d9a-4641-9dab-ddbaf308a1a6",
  • "status": "SETTLEMENT_COMPLETED",
  • "status_reason": "Cancelled by customer",
  • "subscription": "d22f96b7-638e-4132-ba4e-1119571f4a76",
  • "subscription_cycle": 1,
  • "tagged": true,
  • "tags": [
    ],
  • "terminal": "0665ede3-3990-4c9b-beac-77abfeda5858",
  • "user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36 OPR/68.0.3618.125",
  • "webhook_transaction_update": "https://example.com/webhook",
}

Plan

Plans define the name, amount, payment profile and interval for subscriptions

List plans

query Parameters
_limit
integer [ 1 .. 2000 ]
Default: 100

The maximum amount of results

_populate
string

Populates the full details of a related resource. It's possible to populate multiple resources. Separate the resources by space

_skip
integer

Skips a number of results

_sort
string

Sorts the results by ascending order according to the provided field. If the field is prefixed with '-'' (e.g. -created_at), the order is descending

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Create a new plan

Request Body schema: application/json

Create new plan

checkout
string or null

Reference to the checkout used for this plan

name
required
string

Plan name

description
string

Description

dynamic_descriptor
string

A short reference / descriptor that will show up on the customers bank statement

amount
required
integer

Amount is charged without a decimal place e.g. $1.5 = 150. Currencies can have different decimals/exponentials, see Currencies Section for more details

interval
required
string
Enum: "day" "week" "month" "year"

Specifies cycle frequency

interval_count
integer

The number of intervals between billing. For example, interval=month and interval_count=3 bills every 3 months

Maximum of one-year total interval allowed

max_billing_cycle
integer or null

The maximum number of billing cycles in the subscription

webhook_subscription_update
string or null

A webhook url that is called with subscription updates.

email_subscription_update
string or null

An email address that receives subscription updates.

statuses_subscription_update
Array of strings
Items Enum: "CREATED" "ACTIVE" "PAST_DUE" "EXPIRED" "CANCELLED" "COMPLETED"

Array of subscription statuses. When a subscription status is set to one of those a notification is sent.

redirect_url
string or null

The URL where the customer will be redirected after the payment

payment_profile
required
string

The ID of the payment profile object

Responses

Request samples

Content type
application/json
{
  • "amount": 1234,
  • "checkout": "3419630a-ff67-4693-a1b9-6891cc7776e2",
  • "description": "Lowest tier montly plan",
  • "dynamic_descriptor": "Subscription A",
  • "email_subscription_update": "s.updates@example.com",
  • "interval": "month",
  • "interval_count": 1,
  • "max_billing_cycle": 12,
  • "name": "Plan A",
  • "payment_profile": "7c23a50d-8699-431c-a82b-a78718d2b6f6",
  • "statuses_subscription_update": [
    ],
  • "webhook_subscription_update": "https://example.com/webhook",
}

Response samples

Content type
application/json
{
  • "amount": 1234,
  • "checkout": "3419630a-ff67-4693-a1b9-6891cc7776e2",
  • "created_at": "2019-08-24T14:15:22Z",
  • "description": "Lowest tier montly plan",
  • "dynamic_descriptor": "Subscription A",
  • "email_subscription_update": "s.updates@example.com",
  • "id": "8ed3bc36-cdcb-405f-9d77-3c0346af6800",
  • "interval": "month",
  • "interval_count": 1,
  • "max_billing_cycle": 12,
  • "name": "Plan A",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "payment_profile": "7c23a50d-8699-431c-a82b-a78718d2b6f6",
  • "statuses_subscription_update": [
    ],
  • "updated_at": "2019-08-24T14:15:22Z",
  • "webhook_subscription_update": "https://example.com/webhook",
}

Get plan count

Responses

Response samples

Content type
application/json
{
  • "count": 0
}

Get plan

path Parameters
PlanId
required
string

The id of the plan to retrieve

Responses

Response samples

Content type
application/json
{
  • "amount": 1234,
  • "checkout": "3419630a-ff67-4693-a1b9-6891cc7776e2",
  • "created_at": "2019-08-24T14:15:22Z",
  • "description": "Lowest tier montly plan",
  • "dynamic_descriptor": "Subscription A",
  • "email_subscription_update": "s.updates@example.com",
  • "id": "8ed3bc36-cdcb-405f-9d77-3c0346af6800",
  • "interval": "month",
  • "interval_count": 1,
  • "max_billing_cycle": 12,
  • "name": "Plan A",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "payment_profile": "7c23a50d-8699-431c-a82b-a78718d2b6f6",
  • "statuses_subscription_update": [
    ],
  • "updated_at": "2019-08-24T14:15:22Z",
  • "webhook_subscription_update": "https://example.com/webhook",
}

Delete plan

path Parameters
PlanId
required
string

The id of the plan to delete

Responses

Response samples

Content type
application/json
{
  • "message": "Object [object Id] deleted."
}

Update plan

path Parameters
PlanId
required
string

The id of the plan to update

Request Body schema: application/json

Update plan

checkout
string or null

Reference to the checkout used for this plan

name
string

Plan name

description
string

Description

dynamic_descriptor
string

A short reference / descriptor that will show up on the customers bank statement

amount
integer

Amount is charged without a decimal place e.g. $1.5 = 150. Currencies can have different decimals/exponentials, see Currencies Section for more details

interval
string
Enum: "day" "week" "month" "year"

Specifies cycle frequency

interval_count
integer

The number of intervals between billing. For example, interval=month and interval_count=3 bills every 3 months

Maximum of one-year total interval allowed

max_billing_cycle
integer or null

The maximum number of billing cycles in the subscription

webhook_subscription_update
string or null

A webhook url that is called with subscription updates.

email_subscription_update
string or null

An email address that receives subscription updates.

statuses_subscription_update
Array of strings
Items Enum: "CREATED" "ACTIVE" "PAST_DUE" "EXPIRED" "CANCELLED" "COMPLETED"

Array of subscription statuses. When a subscription status is set to one of those a notification is sent.

redirect_url
string or null

The URL where the customer will be redirected after the payment

Responses

Request samples

Content type
application/json
{
  • "amount": 1234,
  • "checkout": "3419630a-ff67-4693-a1b9-6891cc7776e2",
  • "description": "Lowest tier montly plan",
  • "dynamic_descriptor": "Subscription A",
  • "email_subscription_update": "s.updates@example.com",
  • "interval": "month",
  • "interval_count": 1,
  • "max_billing_cycle": 12,
  • "name": "Plan A",
  • "statuses_subscription_update": [
    ],
  • "webhook_subscription_update": "https://example.com/webhook",
}

Response samples

Content type
application/json
{
  • "amount": 1234,
  • "checkout": "3419630a-ff67-4693-a1b9-6891cc7776e2",
  • "created_at": "2019-08-24T14:15:22Z",
  • "description": "Lowest tier montly plan",
  • "dynamic_descriptor": "Subscription A",
  • "email_subscription_update": "s.updates@example.com",
  • "id": "8ed3bc36-cdcb-405f-9d77-3c0346af6800",
  • "interval": "month",
  • "interval_count": 1,
  • "max_billing_cycle": 12,
  • "name": "Plan A",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "payment_profile": "7c23a50d-8699-431c-a82b-a78718d2b6f6",
  • "statuses_subscription_update": [
    ],
  • "updated_at": "2019-08-24T14:15:22Z",
  • "webhook_subscription_update": "https://example.com/webhook",
}

Subscription

Subscriptions provide an easy way to schedule recurring transactions at regular intervals . We automatically create transactions for you at the interval you specified via the plan . It is not required to use subscriptions for recurring transactions . You can easily just use the /transaction/start endpoint with a recurring type . See our < a href = '/documentation/integrate/recurring' target = '_blank' > Recurring guide < /a> for more information

List subscriptions

query Parameters
_limit
integer [ 1 .. 2000 ]
Default: 100

The maximum amount of results

_populate
string

Populates the full details of a related resource. It's possible to populate multiple resources. Separate the resources by space

_skip
integer

Skips a number of results

_sort
string

Sorts the results by ascending order according to the provided field. If the field is prefixed with '-'' (e.g. -created_at), the order is descending

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Create a new subscription

Request Body schema: application/json

Create new subscription

customer
required
string

Reference to the customer this subscription belongs to

card
string

Reference to the card this subscription is linked to

due_date
string <date>

The date by which customer has to pay the next bill

max_billing_cycle
integer or null

The maximum number of billing cycles in the subscription

payment_product
string
Enum: "card" "paypal"

Payment product string

plan
required
string

The ID of the plan object

subscription_discount
string

Reference to the subscription discount

Responses

Request samples

Content type
application/json
{
  • "card": "a61335cf-8c8b-4a75-a259-fd4dac62fb37",
  • "customer": "cbbfa6ec-fb44-4da4-94c4-d81e92fd43e6",
  • "due_date": "2019-08-24",
  • "max_billing_cycle": 12,
  • "payment_product": "card",
  • "plan": "8ed3bc36-cdcb-405f-9d77-3c0346af6800",
  • "subscription_discount": "4f2b04b6-cf8d-4e44-bd12-efe421652912"
}

Response samples

Content type
application/json
{
  • "billing_cycle": 2,
  • "cancelled_at": "2019-08-24T14:15:22Z",
  • "card": "a61335cf-8c8b-4a75-a259-fd4dac62fb37",
  • "created_at": "2019-08-24T14:15:22Z",
  • "customer": "cbbfa6ec-fb44-4da4-94c4-d81e92fd43e6",
  • "discounts_attached": [
    ]
  • "due_date": "2019-08-24",
  • "id": "d22f96b7-638e-4132-ba4e-1119571f4a76",
  • "last_paid_cycle": 1,
  • "last_paid_date": "2019-08-24",
  • "max_billing_cycle": 12,
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "payment_product": "card",
  • "plan": "8ed3bc36-cdcb-405f-9d77-3c0346af6800",
  • "status": "CREATED",
  • "status_reason": "Insufficient funds",
  • "subscription_url": "https://example.com/subscription",
  • "updated_at": "2019-08-24T14:15:22Z"
}

Get subscription count

Responses

Response samples

Content type
application/json
{
  • "count": 0
}

Get subscription

path Parameters
SubscriptionId
required
string

The id of the subscription to retrieve

Responses

Response samples

Content type
application/json
{
  • "billing_cycle": 2,
  • "cancelled_at": "2019-08-24T14:15:22Z",
  • "card": "a61335cf-8c8b-4a75-a259-fd4dac62fb37",
  • "created_at": "2019-08-24T14:15:22Z",
  • "customer": "cbbfa6ec-fb44-4da4-94c4-d81e92fd43e6",
  • "discounts_attached": [
    ]
  • "due_date": "2019-08-24",
  • "id": "d22f96b7-638e-4132-ba4e-1119571f4a76",
  • "last_paid_cycle": 1,
  • "last_paid_date": "2019-08-24",
  • "max_billing_cycle": 12,
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "payment_product": "card",
  • "plan": "8ed3bc36-cdcb-405f-9d77-3c0346af6800",
  • "status": "CREATED",
  • "status_reason": "Insufficient funds",
  • "subscription_url": "https://example.com/subscription",
  • "updated_at": "2019-08-24T14:15:22Z"
}

Delete subscription

path Parameters
SubscriptionId
required
string

The id of the subscription to delete

Responses

Response samples

Content type
application/json
{
  • "message": "Object [object Id] deleted."
}

Update subscription

path Parameters
SubscriptionId
required
string

The id of the subscription to update

Request Body schema: application/json

Update subscription

max_billing_cycle
integer

The maximum number of billing cycles in the subscription

Responses

Request samples

Content type
application/json
{
  • "max_billing_cycle": 12
}

Response samples

Content type
application/json
{
  • "billing_cycle": 2,
  • "cancelled_at": "2019-08-24T14:15:22Z",
  • "card": "a61335cf-8c8b-4a75-a259-fd4dac62fb37",
  • "created_at": "2019-08-24T14:15:22Z",
  • "customer": "cbbfa6ec-fb44-4da4-94c4-d81e92fd43e6",
  • "discounts_attached": [
    ]
  • "due_date": "2019-08-24",
  • "id": "d22f96b7-638e-4132-ba4e-1119571f4a76",
  • "last_paid_cycle": 1,
  • "last_paid_date": "2019-08-24",
  • "max_billing_cycle": 12,
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "payment_product": "card",
  • "plan": "8ed3bc36-cdcb-405f-9d77-3c0346af6800",
  • "status": "CREATED",
  • "status_reason": "Insufficient funds",
  • "subscription_url": "https://example.com/subscription",
  • "updated_at": "2019-08-24T14:15:22Z"
}

Cancel subscription

path Parameters
SubscriptionId
required
string

The id of the subscription to cancel

Responses

Response samples

Content type
application/json
{
  • "billing_cycle": 2,
  • "cancelled_at": "2019-08-24T14:15:22Z",
  • "card": "a61335cf-8c8b-4a75-a259-fd4dac62fb37",
  • "created_at": "2019-08-24T14:15:22Z",
  • "customer": "cbbfa6ec-fb44-4da4-94c4-d81e92fd43e6",
  • "discounts_attached": [
    ]
  • "due_date": "2019-08-24",
  • "id": "d22f96b7-638e-4132-ba4e-1119571f4a76",
  • "last_paid_cycle": 1,
  • "last_paid_date": "2019-08-24",
  • "max_billing_cycle": 12,
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "payment_product": "card",
  • "plan": "8ed3bc36-cdcb-405f-9d77-3c0346af6800",
  • "status": "CREATED",
  • "status_reason": "Insufficient funds",
  • "subscription_url": "https://example.com/subscription",
  • "updated_at": "2019-08-24T14:15:22Z"
}

Add subscription discount

path Parameters
SubscriptionId
required
string

The id of the subscription

SubscriptionDiscountId
required
string

The id of the subscription discount to add

Responses

Response samples

Content type
application/json
{
  • "billing_cycle": 2,
  • "cancelled_at": "2019-08-24T14:15:22Z",
  • "card": "a61335cf-8c8b-4a75-a259-fd4dac62fb37",
  • "created_at": "2019-08-24T14:15:22Z",
  • "customer": "cbbfa6ec-fb44-4da4-94c4-d81e92fd43e6",
  • "discounts_attached": [
    ]
  • "due_date": "2019-08-24",
  • "id": "d22f96b7-638e-4132-ba4e-1119571f4a76",
  • "last_paid_cycle": 1,
  • "last_paid_date": "2019-08-24",
  • "max_billing_cycle": 12,
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "payment_product": "card",
  • "plan": "8ed3bc36-cdcb-405f-9d77-3c0346af6800",
  • "status": "CREATED",
  • "status_reason": "Insufficient funds",
  • "subscription_url": "https://example.com/subscription",
  • "updated_at": "2019-08-24T14:15:22Z"
}

Remove the attached discount

path Parameters
SubscriptionId
required
string

The id of the subscription

SubscriptionDiscountAttachedId
required
string

The id of the attached subscription discount to remove

Responses

Response samples

Content type
application/json
{
  • "billing_cycle": 2,
  • "cancelled_at": "2019-08-24T14:15:22Z",
  • "card": "a61335cf-8c8b-4a75-a259-fd4dac62fb37",
  • "created_at": "2019-08-24T14:15:22Z",
  • "customer": "cbbfa6ec-fb44-4da4-94c4-d81e92fd43e6",
  • "discounts_attached": [
    ]
  • "due_date": "2019-08-24",
  • "id": "d22f96b7-638e-4132-ba4e-1119571f4a76",
  • "last_paid_cycle": 1,
  • "last_paid_date": "2019-08-24",
  • "max_billing_cycle": 12,
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "payment_product": "card",
  • "plan": "8ed3bc36-cdcb-405f-9d77-3c0346af6800",
  • "status": "CREATED",
  • "status_reason": "Insufficient funds",
  • "subscription_url": "https://example.com/subscription",
  • "updated_at": "2019-08-24T14:15:22Z"
}

Subscription Discount

Discounts for subscriptions

List subscription discounts

query Parameters
_limit
integer [ 1 .. 2000 ]
Default: 100

The maximum amount of results

_populate
string

Populates the full details of a related resource. It's possible to populate multiple resources. Separate the resources by space

_skip
integer

Skips a number of results

_sort
string

Sorts the results by ascending order according to the provided field. If the field is prefixed with '-'' (e.g. -created_at), the order is descending

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Create a new subscription discount

Request Body schema: application/json

Create new subscription discount

amount
required
number <float>

Amount

fixed_centsamount in cents without a decimal place
percentagethe range is 0.0 - 1.0. So 1.0 equals 100%
type
required
string
Enum: "percentage" "fixed_cents"

Discount type

name
required
string

Discount name

minimum_amount
integer or null

Minimum amount

If set, the discount can only be applied to a subscription of a certain amount. Amount in cents without a decimal place.

duration
integer or null

Duration

If set it will be applied to this number of cycles. If not set it will be applied infinitely.

limit_to_first_order
boolean

Limit to first time order

If true this discount can only be added to a subscription before the first payment has been executed.

organisation
required
string

Reference to the organisation this subscription discount belongs to

Responses

Request samples

Content type
application/json
{
  • "amount": 0.1,
  • "duration": 3,
  • "limit_to_first_order": false,
  • "minimum_amount": 1000,
  • "name": "10% Discount",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "type": "percentage"
}

Response samples

Content type
application/json
{
  • "amount": 0.1,
  • "created_at": "2019-08-24T14:15:22Z",
  • "duration": 3,
  • "id": "4f2b04b6-cf8d-4e44-bd12-efe421652912",
  • "limit_to_first_order": false,
  • "minimum_amount": 1000,
  • "name": "10% Discount",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "type": "percentage",
  • "updated_at": "2019-08-24T14:15:22Z"
}

Get subscription discount count

Responses

Response samples

Content type
application/json
{
  • "count": 0
}

Get subscription discount

path Parameters
SubscriptionDiscountId
required
string

The id of the subscription discount to retrieve

Responses

Response samples

Content type
application/json
{
  • "amount": 0.1,
  • "created_at": "2019-08-24T14:15:22Z",
  • "duration": 3,
  • "id": "4f2b04b6-cf8d-4e44-bd12-efe421652912",
  • "limit_to_first_order": false,
  • "minimum_amount": 1000,
  • "name": "10% Discount",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "type": "percentage",
  • "updated_at": "2019-08-24T14:15:22Z"
}

Delete subscription discount

path Parameters
SubscriptionDiscountId
required
string

The id of the subscription discount to delete

Responses

Response samples

Content type
application/json
{
  • "message": "Object [object Id] deleted."
}

Update subscription discount

path Parameters
SubscriptionDiscountId
required
string

The id of the subscription discount to update

Request Body schema: application/json

Update subscription discount

amount
number <float>

Amount

fixed_centsamount in cents without a decimal place
percentagethe range is 0.0 - 1.0. So 1.0 equals 100%
type
string
Enum: "percentage" "fixed_cents"

Discount type

name
string

Discount name

minimum_amount
integer or null

Minimum amount

If set, the discount can only be applied to a subscription of a certain amount. Amount in cents without a decimal place.

duration
integer or null

Duration

If set it will be applied to this number of cycles. If not set it will be applied infinitely.

limit_to_first_order
boolean

Limit to first time order

If true this discount can only be added to a subscription before the first payment has been executed.

Responses

Request samples

Content type
application/json
{
  • "amount": 0.1,
  • "duration": 3,
  • "limit_to_first_order": false,
  • "minimum_amount": 1000,
  • "name": "10% Discount",
  • "type": "percentage"
}

Response samples

Content type
application/json
{
  • "amount": 0.1,
  • "created_at": "2019-08-24T14:15:22Z",
  • "duration": 3,
  • "id": "4f2b04b6-cf8d-4e44-bd12-efe421652912",
  • "limit_to_first_order": false,
  • "minimum_amount": 1000,
  • "name": "10% Discount",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "type": "percentage",
  • "updated_at": "2019-08-24T14:15:22Z"
}

Chargeback - Aggregate

Chargeback - Aggregate

Aggregated chargeback count

query Parameters
created_at>
string

Filter on date

created_at<
string

Filter on date

group_by
string
Default: "month"
Enum: "month" "week" "day"

Group results

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Aggregated chargeback statistics

query Parameters
created_at>
string

Filter on date

created_at<
string

Filter on date

Responses

Response samples

Content type
application/json
{
  • "count": {
    },
  • "volume": {
    }
}

Chargeback totals

query Parameters
created_at>
string

Filter on date

created_at<
string

Filter on date

Responses

Response samples

Content type
application/json
{
  • "count": 765,
  • "volume": 13303088
}

Aggregate chargebacks by reason

query Parameters
created_at>
string

Filter on date

created_at<
string

Filter on date

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Aggregate chargebacks by transaction

query Parameters
created_at>
string

Filter on date

created_at<
string

Filter on date

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Customer - Aggregate

Customer - Aggregate

Aggregated new customer total

query Parameters
created_at>
string

Filter on date

created_at<
string

Filter on date

group_by
string
Default: "month"
Enum: "month" "week" "day"

Group results

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Aggregated customer statistics

query Parameters
created_at>
string

Filter on date

created_at<
string

Filter on date

Responses

Response samples

Content type
application/json
{
  • "count": {
    }
}

Aggregated customer segments

Responses

Response samples

Content type
application/json
{
  • "About To Sleep": 162,
  • "Champion": 1,
  • "Hibernating": 17958,
  • "Lost": 4823,
  • "Loyal": 0,
  • "Needing Attention": 2,
  • "Potential Loyalist": 0,
  • "Promising": 2829,
  • "Recent": 83
}

Aggregated best customers list

query Parameters
created_at>
string

Filter on date

created_at<
string

Filter on date

Responses

Response samples

Content type
application/json
{
  • "count": {
    },
  • "volume": {
    }
}

Refund - Aggregate

Refund - Aggregate

Aggregated refund totals

query Parameters
created_at>
string

Filter on date

created_at<
string

Filter on date

groupBy
string
Default: "month"
Enum: "month" "week" "day"

Group results

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Aggregated refund statistics

query Parameters
created_at>
string

Filter on date

created_at<
string

Filter on date

Responses

Response samples

Content type
application/json
{
  • "count": {
    },
  • "volume": {
    }
}

Refund totals

query Parameters
created_at>
string

Filter on date

created_at<
string

Filter on date

Responses

Response samples

Content type
application/json
{
  • "count": 765,
  • "volume": 13303088
}

Report

You can use reports to generate a transaction report

List reports

query Parameters
_limit
integer [ 1 .. 2000 ]
Default: 100

The maximum amount of results

_populate
string

Populates the full details of a related resource. It's possible to populate multiple resources. Separate the resources by space

_skip
integer

Skips a number of results

_sort
string

Sorts the results by ascending order according to the provided field. If the field is prefixed with '-'' (e.g. -created_at), the order is descending

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Create a new report

Request Body schema: application/json

Create new report

name
required
string

The name of the report

fields
required
Array of strings
Items Enum: "amount" "blocked" "browser" "browser_version" "city" "country_code" "created_at" "customer_ip" "customer_status" "dynamic_descriptor" "id" "last_status_update" "latitude" "longitude" "merchant_reference" "payment_product" "payment_product_type" "platform" "processor_id_external" "processor_id_external_second" "recurring_type" "status" "status_reason" "tagged" "user_agent" "card.id" "card.bin" "card.brand" "card.expiry_month" "card.expiry_year" "card.holder_name" "card.last_four" "customer.id" "customer.title" "customer.initials" "customer.first_name" "customer.last_name" "customer.date_of_birth" "customer.email_address" "customer.phone_number" "customer.fax_number" "customer.street_address" "customer.house_number" "customer.house_number_suffix" "customer.postal_code" "customer.merchant_reference" "customer.city" "customer.region" "customer.country_code" "customer.status" "customer.status_reason" "customer.segment" "customer.created_at" "customer.last_status_update" "details.cvv_present" "details.threed_enrolled" "details.threed_authenticated" "details.mandate" "details.sender.account_number" "details.sender.account_holder" "details.sender.holder_name" "details.sender.bank_code" "details.sender.bank_name" "details.sender.bic" "details.sender.country_code" "details.sender.iban" "organisation.id" "organisation.country_code" "organisation.name" "payment_profile.id" "payment_profile.currency_code" "payment_profile.name" "payment_profile.description" "payment_profile.website" "processor.id" "processor.name" "processor.payment_product" "processor.gateway" "terminal.id" "terminal.name" "terminal.provider_id"

Array of fields

organisations
required
Array of strings

Array of organisations

Array of objects or null (ReportFilterRules)

Report filter

export
string
Enum: "csv" "xlsx"

Report export type

organisation
required
string

Reference to the organisation this report belongs to

Responses

Request samples

Content type
application/json
{
  • "export": "csv",
  • "fields": [
    ],
  • "filter": [
    ],
  • "name": "All transactions from last quarter",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "organisations": [
    ],
}

Response samples

Content type
application/json
{
  • "count": 50000,
  • "created_at": "2019-08-24T14:15:22Z",
  • "export": "csv",
  • "fields": [
    ],
  • "filter": [
    ],
  • "id": "83a504a6-2300-42bf-b996-2c8e73e5f9ac",
  • "name": "All transactions from last quarter",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "organisations": [
    ],
  • "status": "PENDING",
  • "updated_at": "2019-08-24T14:15:22Z"
}

Get the report count

Responses

Response samples

Content type
application/json
{
  • "count": 0
}

Get report

path Parameters
ReportId
required
string

The id of the report to retrieve

Responses

Response samples

Content type
application/json
{
  • "count": 50000,
  • "created_at": "2019-08-24T14:15:22Z",
  • "export": "csv",
  • "fields": [
    ],
  • "filter": [
    ],
  • "id": "83a504a6-2300-42bf-b996-2c8e73e5f9ac",
  • "name": "All transactions from last quarter",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "organisations": [
    ],
  • "status": "PENDING",
  • "updated_at": "2019-08-24T14:15:22Z"
}

Delete a report

path Parameters
ReportId
required
string

The id of the report to delete

Responses

Response samples

Content type
application/json
{
  • "message": "Object [object Id] deleted."
}

Download report

path Parameters
ReportId
required
string

The id of the report to retrieve

Responses

Report Schedule

Report Schedule

List reports schedules

query Parameters
_limit
integer [ 1 .. 2000 ]
Default: 100

The maximum amount of results

_populate
string

Populates the full details of a related resource. It's possible to populate multiple resources. Separate the resources by space

_skip
integer

Skips a number of results

_sort
string

Sorts the results by ascending order according to the provided field. If the field is prefixed with '-'' (e.g. -created_at), the order is descending

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Create a new report schedule

Request Body schema: application/json

Create new report schedule

name
required
string

The name of the report

fields
required
Array of strings
Items Enum: "amount" "blocked" "browser" "browser_version" "city" "country_code" "created_at" "customer_ip" "customer_status" "dynamic_descriptor" "id" "last_status_update" "latitude" "longitude" "merchant_reference" "payment_product" "payment_product_type" "platform" "processor_id_external" "processor_id_external_second" "recurring_type" "status" "status_reason" "tagged" "user_agent" "card.id" "card.bin" "card.brand" "card.expiry_month" "card.expiry_year" "card.holder_name" "card.last_four" "customer.id" "customer.title" "customer.initials" "customer.first_name" "customer.last_name" "customer.date_of_birth" "customer.email_address" "customer.phone_number" "customer.fax_number" "customer.street_address" "customer.house_number" "customer.house_number_suffix" "customer.postal_code" "customer.merchant_reference" "customer.city" "customer.region" "customer.country_code" "customer.status" "customer.status_reason" "customer.segment" "customer.created_at" "customer.last_status_update" "details.cvv_present" "details.threed_enrolled" "details.threed_authenticated" "details.mandate" "details.sender.account_number" "details.sender.account_holder" "details.sender.holder_name" "details.sender.bank_code" "details.sender.bank_name" "details.sender.bic" "details.sender.country_code" "details.sender.iban" "organisation.id" "organisation.country_code" "organisation.name" "payment_profile.id" "payment_profile.currency_code" "payment_profile.name" "payment_profile.description" "payment_profile.website" "processor.id" "processor.name" "processor.payment_product" "processor.gateway" "terminal.id" "terminal.name" "terminal.provider_id"

Array of fields

organisations
required
Array of strings

Array of organisations

Array of objects or null (ReportFilterRules)

Report filter

export
string
Enum: "csv" "xlsx"

Report export type

interval
required
string
Enum: "daily" "weekly" "bi-weekly" "monthly"

Defines when a report will be generated, e.g. everyday, every week/couple of weeks at a certain day, every x of the month at a certain day

day_of_the_month
integer

Day of the month if the interval equals to monthly

day_of_the_week
string or null
Enum: "mon" "tue" "wed" "thu" "fri" "sat" "sun"

Report schedule day of the week if interval is weekly/bi-weekly

include_transactions_for
required
string
Enum: "yesterday" "last-7-days" "last-14-days" "last-28-days" "previous-month" "previous-week" "previous-2-weeks"

Defines a date or a date range from which transactions will be included to a report, e.g. yesterday, last week (from last mon till last sun), last 7 days (from yesterday to 7 days back)

email_address
string or null

A specific email address to receive a notification about this kind of report

webhook_url
string or null

A webhook url to receive a notification about this kind of report

organisation
required
string

Reference to the organisation this report schedule belongs to

Responses

Request samples

Content type
application/json
{
  • "day_of_the_month": 1,
  • "day_of_the_week": "mon",
  • "email_address": "example@example.com",
  • "export": "csv",
  • "fields": [
    ],
  • "filter": [
    ],
  • "include_transactions_for": "yesterday",
  • "interval": "daily",
  • "name": "Daily all transactions report",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "organisations": [
    ],
  • "webhook_url": "https://example.com/webhook",
}

Response samples

Content type
application/json
{
  • "created_at": "2019-08-24T14:15:22Z",
  • "day_of_the_month": 1,
  • "day_of_the_week": "mon",
  • "email_address": "example@example.com",
  • "export": "csv",
  • "fields": [
    ],
  • "filter": [
    ],
  • "id": "e007a71e-e8e1-47cd-990f-b362bbce4e08",
  • "include_transactions_for": "yesterday",
  • "interval": "daily",
  • "name": "Daily all transactions report",
  • "next_date_to_generate": "2030-01-01",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "organisations": [
    ],
  • "webhook_url": "https://example.com/webhook",
}

Get report schedule count

Responses

Response samples

Content type
application/json
{
  • "count": 0
}

Get a report schedule

path Parameters
ReportId
required
string

The id of the report schedule to retrieve

Responses

Response samples

Content type
application/json
{
  • "created_at": "2019-08-24T14:15:22Z",
  • "day_of_the_month": 1,
  • "day_of_the_week": "mon",
  • "email_address": "example@example.com",
  • "export": "csv",
  • "fields": [
    ],
  • "filter": [
    ],
  • "id": "e007a71e-e8e1-47cd-990f-b362bbce4e08",
  • "include_transactions_for": "yesterday",
  • "interval": "daily",
  • "name": "Daily all transactions report",
  • "next_date_to_generate": "2030-01-01",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "organisations": [
    ],
  • "webhook_url": "https://example.com/webhook",
}

Delete report schedule

path Parameters
ReportId
required
string

The id of the report schedule to delete (all generated reports will be deleted as well)

Responses

Response samples

Content type
application/json
{
  • "message": "Object [object Id] deleted."
}

Settlement

Settlement

List settlement reports

query Parameters
_limit
integer [ 1 .. 2000 ]
Default: 100

The maximum amount of results

_populate
string

Populates the full details of a related resource. It's possible to populate multiple resources. Separate the resources by space

_skip
integer

Skips a number of results

_sort
string

Sorts the results by ascending order according to the provided field. If the field is prefixed with '-'' (e.g. -created_at), the order is descending

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Get settlement count

Responses

Response samples

Content type
application/json
{
  • "count": 0
}

Get a settlement report

path Parameters
SettlementId
required
string

The id of the settlement to retrieve

Responses

Response samples

Content type
application/json
{
  • "amount": 1234,
  • "chargeback_count": 2,
  • "chargeback_volume": 8270,
  • "created_at": "2019-08-24T14:15:22Z",
  • "currency_code": "EUR",
  • "description": "Adyen settlement_detail_report_batch_121.csv",
  • "fees": 12,
  • "id": "a42b0f5b-1d9a-4641-9dab-ddbaf308a1a6",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "payment_profile": "7c23a50d-8699-431c-a82b-a78718d2b6f6",
  • "refund_count": 30,
  • "refund_volume": 717360,
  • "settlement_profile": "979a5753-a8ab-4e1c-a06d-24bcea5cf7ec",
  • "transaction_count": 140,
  • "transaction_volume": 717360
}

Download the settlement report

path Parameters
SettlementId
required
string

The id of the settlement to retrieve

Responses

Statistics

Statistics

Get total transactions today

Responses

Get recent statistics

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Get amazing things statistics

Responses

Get day-and-time statistics

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Statistics - Aggregate

Statistics - Aggregate

Aggregated by day

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Aggregated by day including item stats

Get statistics by day including separate item statistics Default you get the last 56 days (8 weeks) starting from yesterday

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Statistics - Processor

Statistics - Processor

Processor revenue statistics

query Parameters
ids
required
string

Comma separated list of processor ids

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Processor compare statistics

Compare processors based on their performance the last 28 days

query Parameters
ids
required
string

Comma separated list of processor ids

Responses

Response samples

Content type
application/json
{
  • "processorid": {
    }
}

Transaction - Aggregate

Transaction - Aggregate

Aggregated transaction totals per period

query Parameters
created_at>
string

Filter on date

created_at<
string

Filter on date

group_by
string
Default: "month"
Enum: "month" "week" "day"

Group results

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Aggregated transaction totals

query Parameters
created_at>
string

Filter on date

created_at<
string

Filter on date

Responses

Response samples

Content type
application/json
{
  • "count": 0,
  • "volume": 0
}

Aggregated transaction statistics

query Parameters
created_at>
string

Filter on date

created_at<
string

Filter on date

Responses

Response samples

Content type
application/json
{
  • "count": {
    },
  • "volume": {
    }
}

Aggregated transaction location

query Parameters
created_at>
string

Filter on date

created_at<
string

Filter on date

countryCode
string

Two-letter country code (ISO 3166-1 alpha-2)

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Aggregated transaction lifecycle

query Parameters
created_at>
string

Filter on date

created_at<
string

Filter on date

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Routing

Routing is used to create a set of routing rules. These rules will be applied to a transaction to determine the processor (acquirer / psp / gateway / payment method) and route to that processor

List routing

query Parameters
_limit
integer [ 1 .. 2000 ]
Default: 100

The maximum amount of results

_populate
string

Populates the full details of a related resource. It's possible to populate multiple resources. Separate the resources by space

_skip
integer

Skips a number of results

_sort
string

Sorts the results by ascending order according to the provided field. If the field is prefixed with '-'' (e.g. -created_at), the order is descending

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Create a new routing

Request Body schema: application/json

Create new routing

name
required
string

The name of the Routing

payment_product
required
string
Enum: "alipay" "applepay" "bacs" "bcmc" "belfius" "bitpay" "bpwallet" "card" "cardexternal" "creditclick" "directdebit" "directdebitplus" "dummy" "efecty" "eps" "etransfer" "ezeewallet" "finshark" "gcash" "googlepay" "ideal" "imps" "instaxchange" "interac" "klarna" "multibanco" "mybank" "opennode" "oxxo" "p24" "paybybank" "paypal" "paysafecard" "paytm" "payu" "pix" "pos" "pse" "sepa" "skrill" "sofort" "triplea" "trustly" "trustpay" "unionpay" "upi" "volt" "wechatpay"

Payment product string

required
object (RoutingDetails)

Routing - Details

organisation
required
string

Reference to the organisation this routing belongs to

Responses

Request samples

Content type
application/json
{
  • "details": {
    },
  • "name": "Routing",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "payment_product": "alipay"
}

Response samples

Content type
application/json
{
  • "created_at": "2019-08-24T14:15:22Z",
  • "details": {
    },
  • "id": "5c86557b-5b78-457d-b2fd-45f082603fea",
  • "name": "Routing",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "payment_product": "alipay",
  • "processors": "c4e6b136-c1fb-41e6-9328-09e01dbc6df5,9ea84d17-1f82-425e-bfac-3e6e9787162c",
  • "updated_at": "2019-08-24T14:15:22Z"
}

Get routing

path Parameters
RoutingId
required
string

The id of the routing to retrieve

Responses

Response samples

Content type
application/json
{
  • "created_at": "2019-08-24T14:15:22Z",
  • "details": {
    },
  • "id": "5c86557b-5b78-457d-b2fd-45f082603fea",
  • "name": "Routing",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "payment_product": "alipay",
  • "processors": "c4e6b136-c1fb-41e6-9328-09e01dbc6df5,9ea84d17-1f82-425e-bfac-3e6e9787162c",
  • "updated_at": "2019-08-24T14:15:22Z"
}

Delete routing

path Parameters
RoutingId
required
string

The id of the Routing to delete

Responses

Response samples

Content type
application/json
{
  • "message": "Object [object Id] deleted."
}

Update routing

path Parameters
RoutingId
required
string

The id of the Routing to update

Request Body schema: application/json

Update Routing

name
string

The name of the Routing

payment_product
string
Enum: "alipay" "applepay" "bacs" "bcmc" "belfius" "bitpay" "bpwallet" "card" "cardexternal" "creditclick" "directdebit" "directdebitplus" "dummy" "efecty" "eps" "etransfer" "ezeewallet" "finshark" "gcash" "googlepay" "ideal" "imps" "instaxchange" "interac" "klarna" "multibanco" "mybank" "opennode" "oxxo" "p24" "paybybank" "paypal" "paysafecard" "paytm" "payu" "pix" "pos" "pse" "sepa" "skrill" "sofort" "triplea" "trustly" "trustpay" "unionpay" "upi" "volt" "wechatpay"

Payment product string

object (RoutingDetails)

Routing - Details

Responses

Request samples

Content type
application/json
{
  • "details": {
    }
  • "name": "Routing",
  • "payment_product": "alipay"
}

Response samples

Content type
application/json
{
  • "created_at": "2019-08-24T14:15:22Z",
  • "details": {
    },
  • "id": "5c86557b-5b78-457d-b2fd-45f082603fea",
  • "name": "Routing",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "payment_product": "alipay",
  • "processors": "c4e6b136-c1fb-41e6-9328-09e01dbc6df5,9ea84d17-1f82-425e-bfac-3e6e9787162c",
  • "updated_at": "2019-08-24T14:15:22Z"
}

Validation Ruleset

Validation rulesets are used to either block or tag a transaction on initiation

List validation rulesets

query Parameters
_limit
integer [ 1 .. 2000 ]
Default: 100

The maximum amount of results

_populate
string

Populates the full details of a related resource. It's possible to populate multiple resources. Separate the resources by space

_skip
integer

Skips a number of results

_sort
string

Sorts the results by ascending order according to the provided field. If the field is prefixed with '-'' (e.g. -created_at), the order is descending

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Create new validation ruleset

Request Body schema: application/json

Create new validationruleset

name
required
string

The name of the Validation ruleset

action
required
string
Enum: "block" "tag" "3dSecure"

Action to take

tag
string

Reference to the tag connected to this ruleset

email
string or null

The email address attached to the ruleset When set, tries to send an e-mail to the address whenever the rule gets triggered

webhook_url
string or null

The webhook URL attached to the ruleset When set, tries to send a webhook to the url whenever the rule gets triggered

organisation
required
string

Reference to the organisation this validation ruleset belongs to

required
Array of objects (ValidationRulesetRuleCreate)

Ruleset rules

Responses

Request samples

Content type
application/json
{
  • "action": "3dSecure",
  • "email": "notify@example.com",
  • "name": "3DS for high amount",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "rules": [
    ]
  • "tag": "string",
}

Response samples

Content type
application/json
{
  • "action": "3dSecure",
  • "created_at": "2019-08-24T14:15:22Z",
  • "email": "notify@example.com",
  • "id": "c81cdae7-b6d8-4be8-aec6-5c878335e393",
  • "name": "3DS for high amount",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "rules": [
    ]
  • "tag": "string",
  • "updated_at": "2019-08-24T14:15:22Z",
}

Get validation ruleset

path Parameters
ValidationRulesetId
required
string

The id of the validation ruleset to retrieve

Responses

Response samples

Content type
application/json
{
  • "action": "3dSecure",
  • "created_at": "2019-08-24T14:15:22Z",
  • "email": "notify@example.com",
  • "id": "c81cdae7-b6d8-4be8-aec6-5c878335e393",
  • "name": "3DS for high amount",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "rules": [
    ]
  • "tag": "string",
  • "updated_at": "2019-08-24T14:15:22Z",
}

Delete validation ruleset

path Parameters
ValidationRulesetId
required
string

The id of the validation ruleset to delete

Responses

Response samples

Content type
application/json
{
  • "message": "Object [object Id] deleted."
}

Update validation ruleset

path Parameters
ValidationRulesetId
required
string

The id of the validation ruleset to update

Request Body schema: application/json

Update validation ruleset

name
string

The name of the Validation ruleset

action
string
Enum: "block" "tag" "3dSecure"

Action to take

tag
string

Reference to the tag connected to this ruleset

email
string or null

The email address attached to the ruleset When set, tries to send an e-mail to the address whenever the rule gets triggered

webhook_url
string or null

The webhook URL attached to the ruleset When set, tries to send a webhook to the url whenever the rule gets triggered

Array of objects (ValidationRulesetRuleGet)

Ruleset rules

Responses

Request samples

Content type
application/json
{
  • "action": "3dSecure",
  • "email": "notify@example.com",
  • "name": "3DS for high amount",
  • "rules": [
    ]
  • "tag": "string",
}

Response samples

Content type
application/json
{
  • "action": "3dSecure",
  • "created_at": "2019-08-24T14:15:22Z",
  • "email": "notify@example.com",
  • "id": "c81cdae7-b6d8-4be8-aec6-5c878335e393",
  • "name": "3DS for high amount",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "rules": [
    ]
  • "tag": "string",
  • "updated_at": "2019-08-24T14:15:22Z",
}

Terminal

Terminal

List terminals

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Get terminal count

Responses

Response samples

Content type
application/json
{
  • "count": 0
}

Get terminal

path Parameters
TerminalId
required
string

The id of the terminal to retrieve

Responses

Response samples

Content type
application/json
{
  • "hardware_revision": "1.45",
  • "id": "0665ede3-3990-4c9b-beac-77abfeda5858",
  • "model": "MIURA_M010",
  • "name": "Terminal 1",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "serial_number": "011-007703",
  • "status": "ACTIVE"
}

Webhook

Use webhooks to get notified about payment events. See our Webhooks guide for more information

List webhooks

query Parameters
_limit
integer [ 1 .. 2000 ]
Default: 100

The maximum amount of results

_populate
string

Populates the full details of a related resource. It's possible to populate multiple resources. Separate the resources by space

_skip
integer

Skips a number of results

_sort
string

Sorts the results by ascending order according to the provided field. If the field is prefixed with '-'' (e.g. -created_at), the order is descending

_search
string

Search webhook based on id, item id or url

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Create a new webhook

Request Body schema: application/json

Create new webhook

type
required
string
Enum: "transaction" "refund" "chargeback" "cardlink" "validationruleset" "report_generated" "session" "subscription"

Type of item this webhook is connected to

item_id
string

Item id of the item this webhook is connected to

status
string or null
Enum: "INITIATED" "IN_PROGRESS" "PENDING" "AUTHORIZED" "PROCESSED" "SETTLEMENT_REQUESTED" "SETTLEMENT_COMPLETED" "DECLINED" "FAILED" "UNKNOWN" "ABANDONED" "HOLD" "CANCELLED" "AUTHORIZATION_VOIDED" "OPEN" "IN_DISPUTE" "WON" "LOST" "CREATED" "DONE" "EXPIRED"

The status change this webhook communicates

status_reason
string or null

Status reason

url
required
string

URL of the webhook

organisation
required
string

Reference to the organisation this webhook belongs to

Responses

Request samples

Content type
application/json
{
  • "item_id": "e0377c06-a9e0-43a8-9885-8799a8338b5a",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "status": "SETTLEMENT_COMPLETED",
  • "status_reason": "Status reason",
  • "type": "transaction",
}

Response samples

Content type
application/json
{
  • "amount": 0,
  • "created_at": "2019-08-24T14:15:22Z",
  • "delivered": true,
  • "delivered_on": "2019-08-24T14:15:22Z",
  • "history": [
    ]
  • "id": "2f8e1ece-670b-405f-829e-1668751cdff0",
  • "item_id": "e0377c06-a9e0-43a8-9885-8799a8338b5a",
  • "manual": true,
  • "merchant_reference": "string",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "status": "SETTLEMENT_COMPLETED",
  • "status_reason": "Status reason",
  • "type": "transaction",
}

Get webhook count

Responses

Response samples

Content type
application/json
{
  • "count": 0
}

Get webhook

path Parameters
WebhookId
required
string

The id of the webhook to retrieve

Responses

Response samples

Content type
application/json
{
  • "amount": 0,
  • "created_at": "2019-08-24T14:15:22Z",
  • "delivered": true,
  • "delivered_on": "2019-08-24T14:15:22Z",
  • "history": [
    ]
  • "id": "2f8e1ece-670b-405f-829e-1668751cdff0",
  • "item_id": "e0377c06-a9e0-43a8-9885-8799a8338b5a",
  • "manual": true,
  • "merchant_reference": "string",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "status": "SETTLEMENT_COMPLETED",
  • "status_reason": "Status reason",
  • "type": "transaction",
}

Bank Account

Bank account details and information

List bank accounts

query Parameters
_limit
integer [ 1 .. 2000 ]
Default: 100

The maximum amount of results

_populate
string

Populates the full details of a related resource. It's possible to populate multiple resources. Separate the resources by space

_skip
integer

Skips a number of results

_sort
string

Sorts the results by ascending order according to the provided field. If the field is prefixed with '-'' (e.g. -created_at), the order is descending

_search
string

Search based on id, holder name or description

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Create a new bank account

Request Body schema: application/json

Create new bank account

bank_account_number
required
string

Bank account number

holder_name
required
string

Bank account holder name

description
required
string

Description

bic
required
string

Bank Identifier Code (BIC)

currency_code
required
string
Enum: "ALL" "AMD" "AUD" "AZN" "BAM" "BGN" "BRL" "BYN" "CAD" "CHF" "COP" "CZK" "DKK" "EUR" "GBP" "GEL" "HUF" "INR" "ISK" "JPY" "MAD" "MDL" "MKD" "MXN" "NOK" "NZD" "PHP" "PLN" "RON" "RSD" "RUB" "SAR" "SEK" "THB" "TRY" "UAH" "USD" "ZAR"

The currency code associated to this bank account

organisation
required
string

Reference to the organisation this bank account belongs to

Responses

Request samples

Content type
application/json
{
  • "bank_account_number": "GB29 NWBK 6016 1331 9268 19",
  • "bic": "ABNANL2A",
  • "currency_code": "ALL",
  • "description": "Euro bank account",
  • "holder_name": "J. Doe",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497"
}

Response samples

Content type
application/json
{
  • "bank_account_number": "GB29 NWBK 6016 1331 9268 19",
  • "bic": "ABNANL2A",
  • "created_at": "2019-08-24T14:15:22Z",
  • "currency_code": "ALL",
  • "description": "Euro bank account",
  • "holder_name": "J. Doe",
  • "id": "93082d84-62e6-452b-ad4f-280bf6bef49d",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "updated_at": "2019-08-24T14:15:22Z"
}

Get bank account count

Responses

Response samples

Content type
application/json
{
  • "count": 0
}

Get a bank account

path Parameters
BankaccountId
required
string

The id of the bank account to retrieve

Responses

Response samples

Content type
application/json
{
  • "bank_account_number": "GB29 NWBK 6016 1331 9268 19",
  • "bic": "ABNANL2A",
  • "created_at": "2019-08-24T14:15:22Z",
  • "currency_code": "ALL",
  • "description": "Euro bank account",
  • "holder_name": "J. Doe",
  • "id": "93082d84-62e6-452b-ad4f-280bf6bef49d",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "updated_at": "2019-08-24T14:15:22Z"
}

Delete a bank account

path Parameters
BankaccountId
required
string

The id of the bank account to delete

Responses

Response samples

Content type
application/json
{
  • "message": "Object [object Id] deleted."
}

Update bank account

path Parameters
BankaccountId
required
string

The id of the bank account to update

Request Body schema: application/json

Update bankaccount

bank_account_number
string

Bank account number

holder_name
string

Bank account holder name

description
string

Description

bic
string

Bank Identifier Code (BIC)

currency_code
string
Enum: "ALL" "AMD" "AUD" "AZN" "BAM" "BGN" "BRL" "BYN" "CAD" "CHF" "COP" "CZK" "DKK" "EUR" "GBP" "GEL" "HUF" "INR" "ISK" "JPY" "MAD" "MDL" "MKD" "MXN" "NOK" "NZD" "PHP" "PLN" "RON" "RSD" "RUB" "SAR" "SEK" "THB" "TRY" "UAH" "USD" "ZAR"

The currency code associated to this bank account

Responses

Request samples

Content type
application/json
{
  • "bank_account_number": "GB29 NWBK 6016 1331 9268 19",
  • "bic": "ABNANL2A",
  • "currency_code": "ALL",
  • "description": "Euro bank account",
  • "holder_name": "J. Doe"
}

Response samples

Content type
application/json
{
  • "bank_account_number": "GB29 NWBK 6016 1331 9268 19",
  • "bic": "ABNANL2A",
  • "created_at": "2019-08-24T14:15:22Z",
  • "currency_code": "ALL",
  • "description": "Euro bank account",
  • "holder_name": "J. Doe",
  • "id": "93082d84-62e6-452b-ad4f-280bf6bef49d",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "updated_at": "2019-08-24T14:15:22Z"
}

Checkout

Use checkout to create a look and feel matching your brand. This can be used to alter the design of the checkout / hosted payment pages

List checkouts

query Parameters
_limit
integer [ 1 .. 2000 ]
Default: 100

The maximum amount of results

_populate
string

Populates the full details of a related resource. It's possible to populate multiple resources. Separate the resources by space

_skip
integer

Skips a number of results

_sort
string

Sorts the results by ascending order according to the provided field. If the field is prefixed with '-'' (e.g. -created_at), the order is descending

_search
string

Search checkout; id, description or name

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Create a new checkout

Request Body schema: application/json

Create new checkout

name
required
string

Checkout name

description
string

Short description

logo_url
string

Logo url (https)

background_color
string

Page background color. Hex code including hashtag. E.g. #FFF or #000000

background_image_url
string

Page background image url (https)

header_color
string

Header color. Hex code including hashtag. E.g. #FFF or #000000

header_text_color
string

Header text color. Hex code including hashtag. E.g. #FFF or #000000

header_payment_description
string
Default: "merchant_reference"
Enum: "merchant_reference" "dynamic_descriptor" "hide"

Choose what we display in the header

button_color
string

Button color. Hex code including hashtag. E.g. #FFF or #000000

button_text_color
string

Button text color. Hex code including hashtag. E.g. #FFF or #000000

payment_product_order
string

Comma separated list of payment products

show_language_switch
boolean

Show language switch in header

default_language
string
Enum: "de" "en" "es" "fr" "nl"

Default language (ISO 639-1, Alpha-2 code)

number_format
string
Enum: "en_US" "nl_NL"

Number format locale

default_checkout
boolean

Default checkout design

organisation
required
string

Reference to the organisation this checkout belongs to

Responses

Request samples

Content type
application/json
{
  • "background_color": "string",
  • "background_image_url": "string",
  • "button_color": "#309cd5",
  • "button_text_color": "#ffffff",
  • "default_checkout": true,
  • "default_language": "de",
  • "description": "Checkout description",
  • "header_color": "#053c69",
  • "header_payment_description": "merchant_reference",
  • "header_text_color": "#ffffff",
  • "logo_url": "string",
  • "name": "My checkout",
  • "number_format": "en_US",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "payment_product_order": "card,dummy",
  • "show_language_switch": true
}

Response samples

Content type
application/json
{
  • "background_color": "string",
  • "background_image_url": "string",
  • "button_color": "#309cd5",
  • "button_text_color": "#ffffff",
  • "created_at": "2019-08-24T14:15:22Z",
  • "css": "string",
  • "default_checkout": true,
  • "default_language": "de",
  • "description": "Checkout description",
  • "header_color": "#053c69",
  • "header_payment_description": "merchant_reference",
  • "header_text_color": "#ffffff",
  • "id": "3419630a-ff67-4693-a1b9-6891cc7776e2",
  • "logo_url": "string",
  • "name": "My checkout",
  • "number_format": "en_US",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "payment_product_order": "card,dummy",
  • "show_language_switch": true,
  • "updated_at": "2019-08-24T14:15:22Z"
}

Get the checkout count

Responses

Response samples

Content type
application/json
{
  • "count": 0
}

Get a single checkout

path Parameters
CheckoutId
required
string

The id of the checkout to retrieve

Responses

Response samples

Content type
application/json
{
  • "background_color": "string",
  • "background_image_url": "string",
  • "button_color": "#309cd5",
  • "button_text_color": "#ffffff",
  • "created_at": "2019-08-24T14:15:22Z",
  • "css": "string",
  • "default_checkout": true,
  • "default_language": "de",
  • "description": "Checkout description",
  • "header_color": "#053c69",
  • "header_payment_description": "merchant_reference",
  • "header_text_color": "#ffffff",
  • "id": "3419630a-ff67-4693-a1b9-6891cc7776e2",
  • "logo_url": "string",
  • "name": "My checkout",
  • "number_format": "en_US",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "payment_product_order": "card,dummy",
  • "show_language_switch": true,
  • "updated_at": "2019-08-24T14:15:22Z"
}

Delete checkout

path Parameters
CheckoutId
required
string

The id of the checkout to delete

Responses

Response samples

Content type
application/json
{
  • "message": "Object [object Id] deleted."
}

Update checkout

path Parameters
CheckoutId
required
string

The id of the checkout to update

Request Body schema: application/json

Update checkout

name
string

Checkout name

description
string

Short description

logo_url
string

Logo url (https)

background_color
string

Page background color. Hex code including hashtag. E.g. #FFF or #000000

background_image_url
string

Page background image url (https)

header_color
string

Header color. Hex code including hashtag. E.g. #FFF or #000000

header_text_color
string

Header text color. Hex code including hashtag. E.g. #FFF or #000000

header_payment_description
string
Default: "merchant_reference"
Enum: "merchant_reference" "dynamic_descriptor" "hide"

Choose what we display in the header

button_color
string

Button color. Hex code including hashtag. E.g. #FFF or #000000

button_text_color
string

Button text color. Hex code including hashtag. E.g. #FFF or #000000

payment_product_order
string

Comma separated list of payment products

show_language_switch
boolean

Show language switch in header

default_language
string
Enum: "de" "en" "es" "fr" "nl"

Default language (ISO 639-1, Alpha-2 code)

number_format
string
Enum: "en_US" "nl_NL"

Number format locale

default_checkout
boolean

Default checkout design

Responses

Request samples

Content type
application/json
{
  • "background_color": "string",
  • "background_image_url": "string",
  • "button_color": "#309cd5",
  • "button_text_color": "#ffffff",
  • "default_checkout": true,
  • "default_language": "de",
  • "description": "Checkout description",
  • "header_color": "#053c69",
  • "header_payment_description": "merchant_reference",
  • "header_text_color": "#ffffff",
  • "logo_url": "string",
  • "name": "My checkout",
  • "number_format": "en_US",
  • "payment_product_order": "card,dummy",
  • "show_language_switch": true
}

Response samples

Content type
application/json
{
  • "background_color": "string",
  • "background_image_url": "string",
  • "button_color": "#309cd5",
  • "button_text_color": "#ffffff",
  • "created_at": "2019-08-24T14:15:22Z",
  • "css": "string",
  • "default_checkout": true,
  • "default_language": "de",
  • "description": "Checkout description",
  • "header_color": "#053c69",
  • "header_payment_description": "merchant_reference",
  • "header_text_color": "#ffffff",
  • "id": "3419630a-ff67-4693-a1b9-6891cc7776e2",
  • "logo_url": "string",
  • "name": "My checkout",
  • "number_format": "en_US",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "payment_product_order": "card,dummy",
  • "show_language_switch": true,
  • "updated_at": "2019-08-24T14:15:22Z"
}

Middleware

Anti-Fraud and 3DS integrations with external parties

List middleware

query Parameters
_limit
integer [ 1 .. 2000 ]
Default: 100

The maximum amount of results

_populate
string

Populates the full details of a related resource. It's possible to populate multiple resources. Separate the resources by space

_skip
integer

Skips a number of results

_sort
string

Sorts the results by ascending order according to the provided field. If the field is prefixed with '-'' (e.g. -created_at), the order is descending

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Organisation

You can use organisations to view, create, edit and delete sub-organisations

List organisations

query Parameters
_limit
integer [ 1 .. 2000 ]
Default: 100

The maximum amount of results

_populate
string

Populates the full details of a related resource. It's possible to populate multiple resources. Separate the resources by space

_skip
integer

Skips a number of results

_sort
string

Sorts the results by ascending order according to the provided field. If the field is prefixed with '-'' (e.g. -created_at), the order is descending

_search
string

Search merchant

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Create organisation

Request Body schema: application/json

Create new organisation

provider_id
string

External provider ID

country_code
required
string

Country code

email
string

The organisation's email address

extended_address
string

Address extension, e.g. apartment, floor or suite

locality
string

The organisation's locality / city

name
required
string

The name of the organisation

phone
string

The organisation's telephone number

postal_code
string

The organisation's postal code

region
string

The organisation's country region

street
string

The organisation street address

street_number
integer or null

The organisation street number

legal
string

The organisation's legal structure

tax_number
string or null

The organisation's tax number

registration_number
string or null

The registration number of the organization at the (local) chamber of commerce

whitelist_enabled
boolean

Whitelist enabled setting If set to true, prevents the Organisation's API keys to perform actions from non-whitelisted IPs

welcome
string

Reference to the welcome

parent
string

Reference to the parent this organisation belongs to

Responses

Request samples

Content type
application/json
{
  • "country_code": "NL",
  • "email": "organisation@example.com",
  • "extended_address": "string",
  • "legal": "BV",
  • "locality": "Amsterdam",
  • "name": "Example name",
  • "parent": "8db3257c-2052-4b79-990b-86a5a38835ba",
  • "phone": "+31123456789",
  • "postal_code": "1234AA",
  • "provider_id": "8558461e-1303-41a1-9845-8a84d2ac2eca",
  • "region": "NH",
  • "registration_number": "12345678",
  • "street": "Example street",
  • "street_number": 123,
  • "tax_number": "string",
  • "welcome": "23d24c3a-a026-4399-b5b1-51818da15d0e",
  • "whitelist_enabled": true
}

Response samples

Content type
application/json
{
  • "country_code": "NL",
  • "created_at": "2019-08-24T14:15:22Z",
  • "email": "organisation@example.com",
  • "extended_address": "string",
  • "id": "fab04e42-0901-4e33-839d-4a326d037497",
  • "legal": "BV",
  • "locality": "Amsterdam",
  • "name": "Example name",
  • "parent": "8db3257c-2052-4b79-990b-86a5a38835ba",
  • "phone": "+31123456789",
  • "postal_code": "1234AA",
  • "provider_id": "8558461e-1303-41a1-9845-8a84d2ac2eca",
  • "region": "NH",
  • "registration_number": "12345678",
  • "street": "Example street",
  • "street_number": 123,
  • "tax_number": "string",
  • "updated_at": "2019-08-24T14:15:22Z",
  • "welcome": "23d24c3a-a026-4399-b5b1-51818da15d0e",
  • "whitelist_enabled": true
}

Get organisation

path Parameters
OrganisationId
required
string

The id of the organisation to retrieve

Responses

Response samples

Content type
application/json
{
  • "country_code": "NL",
  • "created_at": "2019-08-24T14:15:22Z",
  • "email": "organisation@example.com",
  • "extended_address": "string",
  • "id": "fab04e42-0901-4e33-839d-4a326d037497",
  • "legal": "BV",
  • "locality": "Amsterdam",
  • "name": "Example name",
  • "parent": "8db3257c-2052-4b79-990b-86a5a38835ba",
  • "phone": "+31123456789",
  • "postal_code": "1234AA",
  • "provider_id": "8558461e-1303-41a1-9845-8a84d2ac2eca",
  • "region": "NH",
  • "registration_number": "12345678",
  • "street": "Example street",
  • "street_number": 123,
  • "tax_number": "string",
  • "updated_at": "2019-08-24T14:15:22Z",
  • "welcome": "23d24c3a-a026-4399-b5b1-51818da15d0e",
  • "whitelist_enabled": true
}

Delete organisation

path Parameters
OrganisationId
required
string

The id of the organisation to delete

Responses

Response samples

Content type
application/json
{
  • "message": "Object [object Id] deleted."
}

Update organisation

path Parameters
OrganisationId
required
string

The id of the organisation to update

Request Body schema: application/json

Update organisation

provider_id
string

External provider ID

country_code
string

Country code

email
string

The organisation's email address

extended_address
string

Address extension, e.g. apartment, floor or suite

locality
string

The organisation's locality / city

name
string

The name of the organisation

phone
string

The organisation's telephone number

postal_code
string

The organisation's postal code

region
string

The organisation's country region

street
string

The organisation street address

street_number
integer or null

The organisation street number

legal
string

The organisation's legal structure

tax_number
string or null

The organisation's tax number

registration_number
string or null

The registration number of the organization at the (local) chamber of commerce

whitelist_enabled
boolean

Whitelist enabled setting If set to true, prevents the Organisation's API keys to perform actions from non-whitelisted IPs

welcome
string

Reference to the welcome

Responses

Request samples

Content type
application/json
{
  • "country_code": "NL",
  • "email": "organisation@example.com",
  • "extended_address": "string",
  • "legal": "BV",
  • "locality": "Amsterdam",
  • "name": "Example name",
  • "phone": "+31123456789",
  • "postal_code": "1234AA",
  • "provider_id": "8558461e-1303-41a1-9845-8a84d2ac2eca",
  • "region": "NH",
  • "registration_number": "12345678",
  • "street": "Example street",
  • "street_number": 123,
  • "tax_number": "string",
  • "welcome": "23d24c3a-a026-4399-b5b1-51818da15d0e",
  • "whitelist_enabled": true
}

Response samples

Content type
application/json
{
  • "country_code": "NL",
  • "created_at": "2019-08-24T14:15:22Z",
  • "email": "organisation@example.com",
  • "extended_address": "string",
  • "id": "fab04e42-0901-4e33-839d-4a326d037497",
  • "legal": "BV",
  • "locality": "Amsterdam",
  • "name": "Example name",
  • "parent": "8db3257c-2052-4b79-990b-86a5a38835ba",
  • "phone": "+31123456789",
  • "postal_code": "1234AA",
  • "provider_id": "8558461e-1303-41a1-9845-8a84d2ac2eca",
  • "region": "NH",
  • "registration_number": "12345678",
  • "street": "Example street",
  • "street_number": 123,
  • "tax_number": "string",
  • "updated_at": "2019-08-24T14:15:22Z",
  • "welcome": "23d24c3a-a026-4399-b5b1-51818da15d0e",
  • "whitelist_enabled": true
}

Get organisation count

query Parameters
_search
string

Search merchant

Responses

Response samples

Content type
application/json
{
  • "count": 0
}

Hierarchical view of organisations

Get the hierarchical view of organisations based on organisation or one of the sub-organisations

path Parameters
OrganisationId
required
string

The id of the organisation

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Organisation Contact

Organisation Contact

List organisation contacts

path Parameters
OrganisationId
required
string

The id of the organisation

query Parameters
organisationId
string

Skips a number of results

_limit
integer [ 1 .. 2000 ]
Default: 100

The maximum amount of results

_populate
string

Populates the full details of a related resource. It's possible to populate multiple resources. Separate the resources by space

_skip
integer

Skips a number of results

_sort
string

Sorts the results by ascending order according to the provided field. If the field is prefixed with '-'' (e.g. -created_at), the order is descending

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Create organisation contact

path Parameters
OrganisationId
required
string

The id of the organisation to retrieve

Request Body schema: application/json

Create new organisation

first_name
required
string

The first name(s) of the contact, 100 characters or less

last_name
required
string

The last name(s) of the contact, 100 characters or less

date_of_birth
string or null

The date of birth of a person, 10 characters, ISO-8601 (YYYY-MM-DD)

country_of_birth
string or null

A 2-letter ISO3166 alpha-2. Country code for country of birth

country_nationality
string or null

A 2-letter ISO3166 alpha-2. Country code for nationality

country_residence
string or null

A 2-letter ISO3166 alpha-2. Country code for country of residence

public_function
boolean or null

Contact has public function

ubo
boolean or null

Contact is ultimate beneficial owner (UBO)

Responses

Request samples

Content type
application/json
{
  • "country_nationality": "NL",
  • "country_of_birth": "NL",
  • "country_residence": "NL",
  • "date_of_birth": "1980-01-01",
  • "first_name": "John",
  • "last_name": "Doe",
  • "public_function": true,
  • "ubo": true
}

Response samples

Content type
application/json
{
  • "country_nationality": "NL",
  • "country_of_birth": "NL",
  • "country_residence": "NL",
  • "created_at": "2019-08-24T14:15:22Z",
  • "date_of_birth": "1980-01-01",
  • "first_name": "John",
  • "id": "614d3e54-5b41-44d3-9a8f-fa24baaeba7c",
  • "last_name": "Doe",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "public_function": true,
  • "ubo": true,
  • "updated_at": "2019-08-24T14:15:22Z"
}

Get organisation contact

path Parameters
OrganisationId
required
string

The id of the organisation to retrieve

ContactId
required
string

The id of the contact to retrieve

Responses

Response samples

Content type
application/json
{
  • "country_nationality": "NL",
  • "country_of_birth": "NL",
  • "country_residence": "NL",
  • "created_at": "2019-08-24T14:15:22Z",
  • "date_of_birth": "1980-01-01",
  • "first_name": "John",
  • "id": "614d3e54-5b41-44d3-9a8f-fa24baaeba7c",
  • "last_name": "Doe",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "public_function": true,
  • "ubo": true,
  • "updated_at": "2019-08-24T14:15:22Z"
}

Delete organisation contact

path Parameters
OrganisationId
required
string

The id of the organisation to delete

ContactId
required
string

The id of the contact to delete

Responses

Response samples

Content type
application/json
{
  • "message": "Object [object Id] deleted."
}

Update organisation contact

path Parameters
OrganisationId
required
string

The id of the organisation to update

ContactId
required
string

The id of the contact to update

Request Body schema: application/json

Update organisation contact

first_name
string

The first name(s) of the contact, 100 characters or less

last_name
string

The last name(s) of the contact, 100 characters or less

date_of_birth
string or null

The date of birth of a person, 10 characters, ISO-8601 (YYYY-MM-DD)

country_of_birth
string or null

A 2-letter ISO3166 alpha-2. Country code for country of birth

country_nationality
string or null

A 2-letter ISO3166 alpha-2. Country code for nationality

country_residence
string or null

A 2-letter ISO3166 alpha-2. Country code for country of residence

public_function
boolean or null

Contact has public function

ubo
boolean or null

Contact is ultimate beneficial owner (UBO)

Responses

Request samples

Content type
application/json
{
  • "country_nationality": "NL",
  • "country_of_birth": "NL",
  • "country_residence": "NL",
  • "date_of_birth": "1980-01-01",
  • "first_name": "John",
  • "last_name": "Doe",
  • "public_function": true,
  • "ubo": true
}

Response samples

Content type
application/json
{
  • "country_nationality": "NL",
  • "country_of_birth": "NL",
  • "country_residence": "NL",
  • "created_at": "2019-08-24T14:15:22Z",
  • "date_of_birth": "1980-01-01",
  • "first_name": "John",
  • "id": "614d3e54-5b41-44d3-9a8f-fa24baaeba7c",
  • "last_name": "Doe",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "public_function": true,
  • "ubo": true,
  • "updated_at": "2019-08-24T14:15:22Z"
}

Organisation Whitelist

Used for whitelisting IPs that have access to the API. If enabled, only these IPs are allowed to initiate a transaction/refund

List whitelists

path Parameters
OrganisationId
required
string

The id of the Organisation to retrieve whitelists

query Parameters
_populate
string

Populates the full details of a related resource. It's possible to populate multiple resources. Separate the resources by space

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Create a new whitelist

path Parameters
OrganisationId
required
string

The id of the Organisation to retrieve whitelists

Request Body schema: application/json

Whitelist

description
required
string

Item description

ip
required
string

Ip address

Responses

Request samples

Content type
application/json
{
  • "description": "Production server IP",
  • "ip": "123.123.123.123"
}

Response samples

Content type
application/json
{
  • "created_at": "2019-08-24T14:15:22Z",
  • "description": "Production server IP",
  • "id": "fd7fabdd-c2dc-4b6f-b2d1-4d8067e3a1bf",
  • "ip": "123.123.123.123",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "updated_at": "2019-08-24T14:15:22Z"
}

Get whitelist

path Parameters
OrganisationId
required
string

The id of the Organisation to retrieve whitelists

WhitelistId
required
string

The id of the whitelist to retrieve

Responses

Response samples

Content type
application/json
{
  • "created_at": "2019-08-24T14:15:22Z",
  • "description": "Production server IP",
  • "id": "fd7fabdd-c2dc-4b6f-b2d1-4d8067e3a1bf",
  • "ip": "123.123.123.123",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "updated_at": "2019-08-24T14:15:22Z"
}

Delete whitelist

path Parameters
OrganisationId
required
string

The id of the Organisation to retrieve whitelists

WhitelistId
required
string

The id of the whitelist to delete

Responses

Response samples

Content type
application/json
{
  • "message": "Object [object Id] deleted."
}

Update whitelist

path Parameters
OrganisationId
required
string

The id of the Organisation to retrieve whitelists

WhitelistId
required
string

The id of the whitelist to update

Request Body schema: application/json

Update whitelist

description
string

Item description

ip
string

Ip address

Responses

Request samples

Content type
application/json
{
  • "description": "Production server IP",
  • "ip": "123.123.123.123"
}

Response samples

Content type
application/json
{
  • "created_at": "2019-08-24T14:15:22Z",
  • "description": "Production server IP",
  • "id": "fd7fabdd-c2dc-4b6f-b2d1-4d8067e3a1bf",
  • "ip": "123.123.123.123",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "updated_at": "2019-08-24T14:15:22Z"
}

Payment Profile

Payment profiles are used as the glue that brings everything together for a certain website or currency of a website.

A payment profile is the combination of currency, payment methods, additional middleware (e.g. 3DS or anti-fraud solutions) and routing. If you choose to use payment links or use the hosted payment page, the payment profile also determines the available payment methods for the customer.

Usually we see one payment profile per currency or country, but you are free to choose differently for more complex scenarios.

List payment profiles

query Parameters
_limit
integer [ 1 .. 2000 ]
Default: 100

The maximum amount of results

_populate
string

Populates the full details of a related resource. It's possible to populate multiple resources. Separate the resources by space

_skip
integer

Skips a number of results

_sort
string

Sorts the results by ascending order according to the provided field. If the field is prefixed with '-'' (e.g. -created_at), the order is descending

_search
string

Search based on id, name or description

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Create a payment profile

Request Body schema: application/json

PaymentProfile

description
string

A description of the payment profile

website
string

Website

disabled
boolean

If set to true, it prevents the user from performing any actions on this payment profile

name
required
string

The name of the payment profile

display_name
required
string

The display name of the payment profile; used for hosted payment pages

processors
string

A list of processor ids attached to this payment profile

middleware
string

A list of middleware ids attached to this payment profile

webhook_chargeback_update
string

A webhook url that is called when a chargeback is updated

webhook_refund_update
string

A webhook url that is called when a refund is updated

webhook_transaction_update
string

A webhook url that is called when a transaction is updated

webhook_failed_email
string

We’ll try to deliver a webhook multiple times. When this fails we’ll send an email with the details to this email address

routing
object

Routing per payment product

organisation
required
string

Reference to the organisation this payment profile belongs to

currency_code
required
string
Enum: "ALL" "AMD" "AUD" "AZN" "BAM" "BGN" "BRL" "BYN" "CAD" "CHF" "COP" "CZK" "DKK" "EUR" "GBP" "GEL" "HUF" "INR" "ISK" "JPY" "MAD" "MDL" "MKD" "MXN" "NOK" "NZD" "PHP" "PLN" "RON" "RSD" "RUB" "SAR" "SEK" "THB" "TRY" "UAH" "USD" "ZAR"

The currency code associated to this payment profile

Responses

Request samples

Content type
application/json
{
  • "currency_code": "ALL",
  • "description": "Main payment profile",
  • "disabled": true,
  • "display_name": "Profile",
  • "middleware": "5f3b358a-a32f-4c96-8b82-ee2ab3ae008f",
  • "name": "Profile 1",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "processors": "c4e6b136-c1fb-41e6-9328-09e01dbc6df5",
  • "routing": {
    },
  • "webhook_chargeback_update": "https://example.com/webhook/chargeback",
  • "webhook_failed_email": "failedwebhook@example.com",
  • "webhook_refund_update": "https://example.com/webhook/refund",
  • "webhook_transaction_update": "https://example.com/webhook/transaction",
  • "website": "example.com"
}

Response samples

Content type
application/json
[
  • {
    }
]

Get payment profile count

Responses

Response samples

Content type
application/json
{
  • "count": 0
}

Get a payment profile

path Parameters
PaymentProfileId
required
string

The id of the payment profile to retrieve

Responses

Response samples

Content type
application/json
{
  • "currency_code": "ALL",
  • "description": "Main payment profile",
  • "disabled": true,
  • "display_name": "Profile",
  • "id": "7c23a50d-8699-431c-a82b-a78718d2b6f6",
  • "middleware": "5f3b358a-a32f-4c96-8b82-ee2ab3ae008f",
  • "name": "Profile 1",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "processors": "c4e6b136-c1fb-41e6-9328-09e01dbc6df5",
  • "routing": {
    },
  • "webhook_chargeback_update": "https://example.com/webhook/chargeback",
  • "webhook_failed_email": "failedwebhook@example.com",
  • "webhook_refund_update": "https://example.com/webhook/refund",
  • "webhook_transaction_update": "https://example.com/webhook/transaction",
  • "website": "example.com"
}

Delete payment profile

path Parameters
PaymentProfileId
required
string

The id of the payment profile to delete

Responses

Response samples

Content type
application/json
{
  • "message": "Object [object Id] deleted."
}

Update payment profile

path Parameters
PaymentProfileId
required
string

The id of the payment profile to update

Request Body schema: application/json

PaymentProfile

description
string

A description of the payment profile

website
string

Website

disabled
boolean

If set to true, it prevents the user from performing any actions on this payment profile

name
string

The name of the payment profile

display_name
string

The display name of the payment profile; used for hosted payment pages

processors
string

A list of processor ids attached to this payment profile

middleware
string

A list of middleware ids attached to this payment profile

webhook_chargeback_update
string

A webhook url that is called when a chargeback is updated

webhook_refund_update
string

A webhook url that is called when a refund is updated

webhook_transaction_update
string

A webhook url that is called when a transaction is updated

webhook_failed_email
string

We’ll try to deliver a webhook multiple times. When this fails we’ll send an email with the details to this email address

routing
object

Routing per payment product

Responses

Request samples

Content type
application/json
{
  • "description": "Main payment profile",
  • "disabled": true,
  • "display_name": "Profile",
  • "middleware": "5f3b358a-a32f-4c96-8b82-ee2ab3ae008f",
  • "name": "Profile 1",
  • "processors": "c4e6b136-c1fb-41e6-9328-09e01dbc6df5",
  • "routing": {
    }
  • "webhook_chargeback_update": "https://example.com/webhook/chargeback",
  • "webhook_failed_email": "failedwebhook@example.com",
  • "webhook_refund_update": "https://example.com/webhook/refund",
  • "webhook_transaction_update": "https://example.com/webhook/transaction",
  • "website": "example.com"
}

Response samples

Content type
application/json
[
  • {
    }
]

List routing

query Parameters
_limit
integer [ 1 .. 2000 ]
Default: 100

The maximum amount of results

_populate
string

Populates the full details of a related resource. It's possible to populate multiple resources. Separate the resources by space

_skip
integer

Skips a number of results

_sort
string

Sorts the results by ascending order according to the provided field. If the field is prefixed with '-'' (e.g. -created_at), the order is descending

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Processor

Processor

List processors

query Parameters
_limit
integer [ 1 .. 2000 ]
Default: 100

The maximum amount of results

_populate
string

Populates the full details of a related resource. It's possible to populate multiple resources. Separate the resources by space

_skip
integer

Skips a number of results

_sort
string

Sorts the results by ascending order according to the provided field. If the field is prefixed with '-'' (e.g. -created_at), the order is descending

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Share

Used to securely share credentials between PSP and merchants

List shares

query Parameters
_limit
integer [ 1 .. 2000 ]
Default: 100

The maximum amount of results

_populate
string

Populates the full details of a related resource. It's possible to populate multiple resources. Separate the resources by space

_skip
integer

Skips a number of results

_sort
string

Sorts the results by ascending order according to the provided field. If the field is prefixed with '-'' (e.g. -created_at), the order is descending

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Get share count

Responses

Response samples

Content type
application/json
{
  • "count": 0
}

Get share

path Parameters
shareId
required
string

The id of the share to retrieve

Responses

Response samples

Content type
application/json
{
  • "created_at": "2019-08-24T14:15:22Z",
  • "description": "Credentials share description",
  • "details": [
    ]
  • "gateway": "adyen",
  • "id": "47c0f046-7253-443d-9f7d-2342c217ce19",
  • "name": "Credentials share name",
  • "payment_product": "alipay",
  • "processor_settlement_type": "sftp",
  • "type": "processor",
  • "updated_at": "2019-08-24T14:15:22Z",
  • "user": "b7985317-3e7d-4dbe-a5b7-3779dabf942b"
}

Update share

path Parameters
shareId
required
string

The id of the share to update

Request Body schema: application/json

Share

Array of objects (ShareDetailsMerchant)

Credentials details

Responses

Request samples

Content type
application/json
{
  • "details": [
    ]
}

Response samples

Content type
application/json
[
  • {
    }
]

Retry

Retry configuration for sessions

List retry configurations

query Parameters
_limit
integer [ 1 .. 2000 ]
Default: 100

The maximum amount of results

_populate
string

Populates the full details of a related resource. It's possible to populate multiple resources. Separate the resources by space

_skip
integer

Skips a number of results

_sort
string

Sorts the results by ascending order according to the provided field. If the field is prefixed with '-'' (e.g. -created_at), the order is descending

_search
string

Search based on id or payment product

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Create a new retry configuration

Request Body schema: application/json

Create new retry configuration

name
required
string

The name of the Retry item

payment_product
required
string
Enum: "card" "applepay"

Payment product

normal
required
Array of strings

Normal retry configuration: array of processor IDs

threeds
required
Array of strings or null

3DS retry configuration: array of processor IDs

organisation
required
string

Reference to the organisation this retry configuration belongs to

Responses

Request samples

Content type
application/json
{
  • "name": "Retry",
  • "normal": [
    ],
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "payment_product": "card",
  • "threeds": [
    ],
}

Response samples

Content type
application/json
{
  • "created_at": "2019-08-24T14:15:22Z",
  • "id": "502ec437-2dfc-449c-b4f8-5a6ceac24d45",
  • "name": "Retry",
  • "normal": [
    ],
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "payment_product": "card",
  • "threeds": [
    ],
  • "updated_at": "2019-08-24T14:15:22Z"
}

Get retry configuration count

Responses

Response samples

Content type
application/json
{
  • "count": 0
}

Get retry configuration

path Parameters
RetryId
required
string

The id of the retry configuration to retrieve

Responses

Response samples

Content type
application/json
{
  • "created_at": "2019-08-24T14:15:22Z",
  • "id": "502ec437-2dfc-449c-b4f8-5a6ceac24d45",
  • "name": "Retry",
  • "normal": [
    ],
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "payment_product": "card",
  • "threeds": [
    ],
  • "updated_at": "2019-08-24T14:15:22Z"
}

Delete retry configuration

path Parameters
RetryId
required
string

The id of the retry configuration to delete

Responses

Response samples

Content type
application/json
{
  • "message": "Object [object Id] deleted."
}

Update retry configuration

path Parameters
RetryId
required
string

The id of the retry configuration to update

Request Body schema: application/json

Update retry configuration

name
string

The name of the Retry item

payment_product
string
Enum: "card" "applepay"

Payment product

normal
Array of strings

Normal retry configuration: array of processor IDs

threeds
Array of strings or null

3DS retry configuration: array of processor IDs

Responses

Request samples

Content type
application/json
{
  • "name": "Retry",
  • "normal": [
    ],
  • "payment_product": "card",
  • "threeds": [
    ]
}

Response samples

Content type
application/json
{
  • "created_at": "2019-08-24T14:15:22Z",
  • "id": "502ec437-2dfc-449c-b4f8-5a6ceac24d45",
  • "name": "Retry",
  • "normal": [
    ],
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "payment_product": "card",
  • "threeds": [
    ],
  • "updated_at": "2019-08-24T14:15:22Z"
}

Role

See the different available roles in the platform

List of role definitions

query Parameters
_limit
integer [ 1 .. 2000 ]
Default: 100

The maximum amount of results

_populate
string

Populates the full details of a related resource. It's possible to populate multiple resources. Separate the resources by space

_skip
integer

Skips a number of results

_sort
string

Sorts the results by ascending order according to the provided field. If the field is prefixed with '-'' (e.g. -created_at), the order is descending

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Tag

Used for tagging transactions using validation rulesets

List tags

query Parameters
_limit
integer [ 1 .. 2000 ]
Default: 100

The maximum amount of results

_populate
string

Populates the full details of a related resource. It's possible to populate multiple resources. Separate the resources by space

_skip
integer

Skips a number of results

_sort
string

Sorts the results by ascending order according to the provided field. If the field is prefixed with '-'' (e.g. -created_at), the order is descending

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Create new tag

Request Body schema: application/json

Create new tag

text
required
string

Tag description text

color
required
string

Tag color

organisation
required
string

Reference to the organisation this tag belongs to

Responses

Request samples

Content type
application/json
{
  • "color": "#F9BA0C",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "text": "High amount"
}

Response samples

Content type
application/json
{
  • "color": "#F9BA0C",
  • "created_at": "2019-08-24T14:15:22Z",
  • "id": "2f8e1ece-670b-405f-829e-1668751cdff0",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "text": "High amount",
  • "updated_at": "2019-08-24T14:15:22Z"
}

Get tag

path Parameters
TagId
required
string

The id of the tag to retrieve

Responses

Response samples

Content type
application/json
{
  • "color": "#F9BA0C",
  • "created_at": "2019-08-24T14:15:22Z",
  • "id": "2f8e1ece-670b-405f-829e-1668751cdff0",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "text": "High amount",
  • "updated_at": "2019-08-24T14:15:22Z"
}

Delete tag

path Parameters
TagId
required
string

The id of the tag to delete

Responses

Response samples

Content type
application/json
{
  • "message": "Object [object Id] deleted."
}

Update tag

path Parameters
TagId
required
string

The id of the tag to update

Request Body schema: application/json

Update tag

text
string

Tag description text

color
string

Tag color

Responses

Request samples

Content type
application/json
{
  • "color": "#F9BA0C",
  • "text": "High amount"
}

Response samples

Content type
application/json
{
  • "color": "#F9BA0C",
  • "created_at": "2019-08-24T14:15:22Z",
  • "id": "2f8e1ece-670b-405f-829e-1668751cdff0",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "text": "High amount",
  • "updated_at": "2019-08-24T14:15:22Z"
}

User

User

List users

query Parameters
_limit
integer [ 1 .. 2000 ]
Default: 100

The maximum amount of results

_populate
string

Populates the full details of a related resource. It's possible to populate multiple resources. Separate the resources by space

_skip
integer

Skips a number of results

_sort
string

Sorts the results by ascending order according to the provided field. If the field is prefixed with '-'' (e.g. -created_at), the order is descending

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Create a new user

Request Body schema: application/json

User

name
required
string

The name of the user

phone_number
string or null

The telephone or mobile number of this user, ITU/E.123 format with international prefix (+PPNNNNNNNNN...)

language
string
Enum: "de" "en" "es" "fr" "nl"

User language (ISO 639-1, Alpha-2 code)

number_format
string
Enum: "en_US" "nl_NL"

Number format locale

date_format
string
Enum: "en_US" "nl_NL"

Date format locale

mfa
boolean

If set to true, multi factor authentication is enabled

mfa_type
string
Enum: "" "google" "email" "sms"

Multi factor authentication type

welcome
string

Reference to the welcome message linked to this user, can only be passed by a user with PSP role

organisation
required
string

Reference to the organisation this user belongs to

email
required
string

The user's email address

Responses

Request samples

Content type
application/json
{
  • "date_format": "en_US",
  • "email": "example@example.com",
  • "language": "de",
  • "mfa": true,
  • "mfa_type": "email",
  • "name": "John Doe",
  • "number_format": "en_US",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "phone_number": "+31123456789",
  • "welcome": "23d24c3a-a026-4399-b5b1-51818da15d0e"
}

Response samples

Content type
application/json
[
  • {
    }
]

Get user count

Responses

Response samples

Content type
application/json
{
  • "count": 0
}

Get user

path Parameters
UserId
required
string

The id of the user to retrieve

Responses

Response samples

Content type
application/json
{
  • "active": true,
  • "created_at": "2019-08-24T14:15:22Z",
  • "date_format": "en_US",
  • "email": "example@example.com",
  • "id": "b7985317-3e7d-4dbe-a5b7-3779dabf942b",
  • "language": "de",
  • "last_login": "2019-08-24T14:15:22Z",
  • "mfa": true,
  • "mfa_type": "email",
  • "name": "John Doe",
  • "number_format": "en_US",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "phone_number": "+31123456789",
  • "welcome": "23d24c3a-a026-4399-b5b1-51818da15d0e"
}

Delete user

path Parameters
UserId
required
string

The id of the user to delete

Responses

Response samples

Content type
application/json
{
  • "message": "Object [object Id] deleted."
}

Update user

path Parameters
UserId
required
string

The id of the user to update

Request Body schema: application/json

Update user

name
string

The name of the user

phone_number
string or null

The telephone or mobile number of this user, ITU/E.123 format with international prefix (+PPNNNNNNNNN...)

language
string
Enum: "de" "en" "es" "fr" "nl"

User language (ISO 639-1, Alpha-2 code)

number_format
string
Enum: "en_US" "nl_NL"

Number format locale

date_format
string
Enum: "en_US" "nl_NL"

Date format locale

mfa
boolean

If set to true, multi factor authentication is enabled

mfa_type
string
Enum: "" "google" "email" "sms"

Multi factor authentication type

welcome
string

Reference to the welcome message linked to this user, can only be passed by a user with PSP role

mfa_code
string

Optional MFA code (for Google MFA)

Responses

Request samples

Content type
application/json
{
  • "date_format": "en_US",
  • "language": "de",
  • "mfa": true,
  • "mfa_code": "string",
  • "mfa_type": "email",
  • "name": "John Doe",
  • "number_format": "en_US",
  • "phone_number": "+31123456789",
  • "welcome": "23d24c3a-a026-4399-b5b1-51818da15d0e"
}

Response samples

Content type
application/json
{
  • "active": true,
  • "created_at": "2019-08-24T14:15:22Z",
  • "date_format": "en_US",
  • "email": "example@example.com",
  • "id": "b7985317-3e7d-4dbe-a5b7-3779dabf942b",
  • "language": "de",
  • "last_login": "2019-08-24T14:15:22Z",
  • "mfa": true,
  • "mfa_type": "email",
  • "name": "John Doe",
  • "number_format": "en_US",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "phone_number": "+31123456789",
  • "welcome": "23d24c3a-a026-4399-b5b1-51818da15d0e"
}

Update user roles

path Parameters
UserId
required
string

The id of the user to update

Request Body schema: application/json

Roles

roles
Array of strings

Array of roles

Responses

Request samples

Content type
application/json
{
  • "roles": [
    ]
}

Response samples

Content type
application/json
[
  • {
    }
]

Request new email

Responses

Request a new password

Responses

Get user MFA google QR

No security roles defined since this function will be available for all users

Responses

Response samples

Content type
application/json
"string"

Apikey

Apikey

List apikeys

query Parameters
_limit
integer [ 1 .. 2000 ]
Default: 100

The maximum amount of results

_populate
string

Populates the full details of a related resource. It's possible to populate multiple resources. Separate the resources by space

_skip
integer

Skips a number of results

_sort
string

Sorts the results by ascending order according to the provided field. If the field is prefixed with '-'' (e.g. -created_at), the order is descending

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Create new apikey

Request Body schema: application/json

Apikey

name
required
string

Apikey name

ip_white_list
Array of strings

Array of allowed ip addresses

organisation
required
string

Reference to the organisation this api key belongs to

Responses

Request samples

Content type
application/json
{
  • "ip_white_list": [
    ],
  • "name": "Apikey",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497"
}

Response samples

Content type
application/json
[
  • {
    }
]

Get apikey count

Responses

Response samples

Content type
application/json
{
  • "count": 0
}

Get apikey information

path Parameters
apikeyId
required
string

The id of the apikey to retrieve

Responses

Response samples

Content type
application/json
{
  • "active": true,
  • "apikey": "****NY3h",
  • "created_at": "2019-08-24T14:15:22Z",
  • "id": "b1330396-92c7-4d1c-890a-b111373a13a8",
  • "ip_white_list": [
    ],
  • "last_used_at": "2019-08-24",
  • "name": "Apikey",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "roles": [
    ],
}

Delete apikey

path Parameters
apikeyId
required
string

The id of the apikey to delete

Responses

Response samples

Content type
application/json
{
  • "message": "Object [object Id] deleted."
}

Update apikey

path Parameters
apikeyId
required
string

The id of the apikey to update

Request Body schema: application/json

Update apikey

name
string

Apikey name

ip_white_list
Array of strings

Array of allowed ip addresses

Responses

Request samples

Content type
application/json
{
  • "ip_white_list": [
    ]
  • "name": "Apikey"
}

Response samples

Content type
application/json
{
  • "active": true,
  • "apikey": "****NY3h",
  • "created_at": "2019-08-24T14:15:22Z",
  • "id": "b1330396-92c7-4d1c-890a-b111373a13a8",
  • "ip_white_list": [
    ],
  • "last_used_at": "2019-08-24",
  • "name": "Apikey",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "roles": [
    ],
}

Update apikey roles

path Parameters
apikeyId
required
string

The id of the apikey to update roles

Request Body schema: application/json

Roles

roles
Array of strings

Array of roles

Responses

Request samples

Content type
application/json
{
  • "roles": [
    ]
}

Response samples

Content type
application/json
[
  • {
    }
]

Get unmasked apikey

path Parameters
apikeyId
required
string

The id of the apikey to get

Request Body schema: application/json

password

password
string

The user's password

Responses

Request samples

Content type
application/json
{
  • "password": "string"
}

Response samples

Content type
application/json
{
  • "apikey": "string"
}

Login

Login

Login user

Request Body schema: application/json

login

username
string

The user's email address

password
required
string

The user's password

fingerprint
string

Browser fingerprint

mfa_cookie
string

Remember MFA cookie

Responses

Request samples

Content type
application/json
{
  • "fingerprint": "4ffe339968b9112e44ff0f2e967ccd12",
  • "mfa_cookie": "wPBbZ1VYwap73soi34y5F99Iyjgn9vua0cKDBtubXS30PdixzN",
  • "password": "string",
  • "username": "example@example.com"
}

Response samples

Content type
application/json
Example
{
  • "date_format": "en_US",
  • "id": "b6d509f4-07e6-42b9-af0c-dc7344d2f498",
  • "language": "de",
  • "last_login": "2019-08-24T14:15:22Z",
  • "last_login_days_ago": 0,
  • "login_streak": 0,
  • "mfa": true,
  • "mfa_cookie": "wPBbZ1VYwap73soi34y5F99Iyjgn9vua0cKDBtubXS30PdixzN",
  • "mfa_type": "google",
  • "name": "string",
  • "number_format": "en_US",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "psp": true,
  • "result": "login",
  • "roles": [
    ],
  • "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE2OTA0NjcyMDcsImV4cCI6MTY5MDU1MzYwNywicm9sZXMiOlsiVVNFUl9BTEwiXSwidXNlcm5hbWUiOiJleGFtcGxlQGV4YW1wbGUuY29tIn0.HyahG0JycCHWzFhtJNDLxtyyWfEvZZDYiBrYCO7rcPAs_oB_ucWnqOlUVHV40u9esvL3EzUNpOF5oNJFGtdVTWRZnveZpo82MDYxXZBee0zBHqk-lZJ3z5b8Yg3c6_d4MVCtTnHb7ekolw-lpwA5ybM2q_9CKjlEWElTozSrIHPHLdMHpbVj3q8LmAZMXl45z5TRJbYLB9r8X8qppVQHBb6t1YxpIBb953Hoi-XXamQnWVWWEKzWGNEtdLo0D-Thw-zDsFv6eLOquv1wuPYJtSSMDKupFEI2HbjO5rcIHgq20H-TTzmuJZVg3rwEpOUXjtmcFkzDcCkSqcZD6NnKO6BYlg2gT9zFXzUw11nch2B2V41l_01MAk0rfgRTpF5uHc4sFuERqFzhGkGZ-rwQRkdHNF5IEWxp9U4HeCQd1JBEiRHoueAqnPJMhQxFYQqZBBfPkMd_MSHS1o8H0lavbk9RWtJiOwWKWQyvReK7Sz-U_BMFkXCBbaXBZu0wO5frEqlU1tYa-qwORa0pZ9vmcC8FvffLhwUh6coZizboG3d9aPw4te3LVm9tOPhxtXwzUqVqXuWHT13u0pntPeSXGuPDs4O73vZs8nbFtnRHUyflMQVCylpj9u84Vt9eTa6Rfh6dSQTCzhx1Ac_SgNBgUpiQmXcbuJbn6YbaXu_XqIU",
  • "username": "string"
}

MFA

Request Body schema: application/json

MFA

username
required
string

The user's email address

code
required
string

MFA code supplied by the user

token
string

MFA token received during login step

remember
boolean

Remember MFA for current device for 30 days (fingerprint required)

fingerprint
string

Browser fingerprint

Responses

Request samples

Content type
application/json
{
  • "code": "123123",
  • "fingerprint": "wPBbZ1VYwap73soi34y5F99Iyjgn9vua0cKDBtubXS30PdixzN",
  • "remember": true,
  • "token": "fGgTKpA10rp4mZ5gBH2FarmHl36RjzlpEsfgNMUVNHd9q50wdce",
  • "username": "string"
}

Response samples

Content type
application/json
{
  • "date_format": "en_US",
  • "id": "b6d509f4-07e6-42b9-af0c-dc7344d2f498",
  • "language": "de",
  • "last_login": "2019-08-24T14:15:22Z",
  • "last_login_days_ago": 0,
  • "login_streak": 0,
  • "mfa": true,
  • "mfa_cookie": "wPBbZ1VYwap73soi34y5F99Iyjgn9vua0cKDBtubXS30PdixzN",
  • "mfa_type": "google",
  • "name": "string",
  • "number_format": "en_US",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "psp": true,
  • "result": "mfa",
  • "roles": [
    ],
  • "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE2OTA0NjcyMDcsImV4cCI6MTY5MDU1MzYwNywicm9sZXMiOlsiVVNFUl9BTEwiXSwidXNlcm5hbWUiOiJleGFtcGxlQGV4YW1wbGUuY29tIn0.HyahG0JycCHWzFhtJNDLxtyyWfEvZZDYiBrYCO7rcPAs_oB_ucWnqOlUVHV40u9esvL3EzUNpOF5oNJFGtdVTWRZnveZpo82MDYxXZBee0zBHqk-lZJ3z5b8Yg3c6_d4MVCtTnHb7ekolw-lpwA5ybM2q_9CKjlEWElTozSrIHPHLdMHpbVj3q8LmAZMXl45z5TRJbYLB9r8X8qppVQHBb6t1YxpIBb953Hoi-XXamQnWVWWEKzWGNEtdLo0D-Thw-zDsFv6eLOquv1wuPYJtSSMDKupFEI2HbjO5rcIHgq20H-TTzmuJZVg3rwEpOUXjtmcFkzDcCkSqcZD6NnKO6BYlg2gT9zFXzUw11nch2B2V41l_01MAk0rfgRTpF5uHc4sFuERqFzhGkGZ-rwQRkdHNF5IEWxp9U4HeCQd1JBEiRHoueAqnPJMhQxFYQqZBBfPkMd_MSHS1o8H0lavbk9RWtJiOwWKWQyvReK7Sz-U_BMFkXCBbaXBZu0wO5frEqlU1tYa-qwORa0pZ9vmcC8FvffLhwUh6coZizboG3d9aPw4te3LVm9tOPhxtXwzUqVqXuWHT13u0pntPeSXGuPDs4O73vZs8nbFtnRHUyflMQVCylpj9u84Vt9eTa6Rfh6dSQTCzhx1Ac_SgNBgUpiQmXcbuJbn6YbaXu_XqIU",
  • "username": "string"
}

MFA set-up

Request Body schema: application/json

MFA set-up

token
required
string

MFA set-up one time token received during login step

mfa_type
required
string
Enum: "google" "email" "sms"

Type of MFA

mfa_code
string

Optional MFA code (for Google MFA)

Responses

Request samples

Content type
application/json
{
  • "mfa_code": "string",
  • "mfa_type": "email",
  • "token": "fGgTKpA10rp4mZ5gBH2FarmHl36RjzlpEsfgNMUVNHd9q50wdce"
}

Response samples

Content type
application/json
{
  • "date_format": "en_US",
  • "id": "b6d509f4-07e6-42b9-af0c-dc7344d2f498",
  • "language": "de",
  • "last_login": "2019-08-24T14:15:22Z",
  • "last_login_days_ago": 0,
  • "login_streak": 0,
  • "mfa": true,
  • "mfa_cookie": "wPBbZ1VYwap73soi34y5F99Iyjgn9vua0cKDBtubXS30PdixzN",
  • "mfa_type": "google",
  • "name": "string",
  • "number_format": "en_US",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "psp": true,
  • "result": "mfa",
  • "roles": [
    ],
  • "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE2OTA0NjcyMDcsImV4cCI6MTY5MDU1MzYwNywicm9sZXMiOlsiVVNFUl9BTEwiXSwidXNlcm5hbWUiOiJleGFtcGxlQGV4YW1wbGUuY29tIn0.HyahG0JycCHWzFhtJNDLxtyyWfEvZZDYiBrYCO7rcPAs_oB_ucWnqOlUVHV40u9esvL3EzUNpOF5oNJFGtdVTWRZnveZpo82MDYxXZBee0zBHqk-lZJ3z5b8Yg3c6_d4MVCtTnHb7ekolw-lpwA5ybM2q_9CKjlEWElTozSrIHPHLdMHpbVj3q8LmAZMXl45z5TRJbYLB9r8X8qppVQHBb6t1YxpIBb953Hoi-XXamQnWVWWEKzWGNEtdLo0D-Thw-zDsFv6eLOquv1wuPYJtSSMDKupFEI2HbjO5rcIHgq20H-TTzmuJZVg3rwEpOUXjtmcFkzDcCkSqcZD6NnKO6BYlg2gT9zFXzUw11nch2B2V41l_01MAk0rfgRTpF5uHc4sFuERqFzhGkGZ-rwQRkdHNF5IEWxp9U4HeCQd1JBEiRHoueAqnPJMhQxFYQqZBBfPkMd_MSHS1o8H0lavbk9RWtJiOwWKWQyvReK7Sz-U_BMFkXCBbaXBZu0wO5frEqlU1tYa-qwORa0pZ9vmcC8FvffLhwUh6coZizboG3d9aPw4te3LVm9tOPhxtXwzUqVqXuWHT13u0pntPeSXGuPDs4O73vZs8nbFtnRHUyflMQVCylpj9u84Vt9eTa6Rfh6dSQTCzhx1Ac_SgNBgUpiQmXcbuJbn6YbaXu_XqIU",
  • "username": "string"
}

Forgot password

Request Body schema: application/json

ForgotPassword

email
required
string

The user's email address

Responses

Request samples

Content type
application/json
{
  • "email": "example@example.com"
}

Update password

Request Body schema: application/json

Update Password

token
required
string

The password update token

password
required
string

The new user password

Responses

Request samples

Content type
application/json
{
  • "password": "string",
  • "token": "fGgTKpA10rp4mZ5gBH2FarmHl36RjzlpEsfgNMUVNHd9q50wdce"
}

Update email

Request Body schema: application/json

Update Email

token
required
string

The email update token

email
required
string

The new user email address

Responses

Request samples

Content type
application/json
{
  • "email": "new@example.com",
  • "token": "fGgTKpA10rp4mZ5gBH2FarmHl36RjzlpEsfgNMUVNHd9q50wdce"
}

MFA set-up get google QR

path Parameters
token
required
string

One time token to set-up MFA

Responses

Response samples

Content type
application/json
"string"

MCC

MCC

List of merchant category codes

query Parameters
_limit
integer [ 1 .. 2000 ]
Default: 100

The maximum amount of results

_populate
string

Populates the full details of a related resource. It's possible to populate multiple resources. Separate the resources by space

_skip
integer

Skips a number of results

_sort
string

Sorts the results by ascending order according to the provided field. If the field is prefixed with '-'' (e.g. -created_at), the order is descending

_search
string

Search mcc

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Get merchant category code details

path Parameters
MccId
required
string

The id of the mcc to retrieve

Responses

Response samples

Content type
application/json
{
  • "description": "Merchants classified with this MCC are licensed practitioners of veterinary medicine.",
  • "includes": "Animal Doctors",
  • "number": "0742",
  • "similar": "5995",
  • "title": "Veterinary Services"
}