MassPay (24.9.0)

Download OpenAPI specification:Download

MassPay Dev Team: dev@masspay.io URL: masspay.io

MassPay Payments API

Using the API

URL

The API URLs:

Environment URL
Staging https://staging-paymentapi.masspay.io/v1/
Production https://paymentapi.masspay.io/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 USD. 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": "USD",
    ...
}

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": "USD",
    ...
}

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
[
  • {
    • "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",
    }
]

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

checkout
string or null

Reference to the checkout this card add link belongs to

customer
string

Reference to the customer this card add link belongs to

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

organisation
required
string

Reference to the organization this link belongs to

origin
string or null

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

payment_profile
string or null

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

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

redirect_url
string

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

valid_until
string <date-time>

Card add link is valid until. Defaults to 24 hours

webhook_card_link_update
string

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

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,
  • "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

Responses

Request samples

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

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,
  • "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

_search
string

Search chargeback

_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
[
  • {
    • "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"
    }
]

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

_search
string

Search customer based on id, email or name

_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
[
  • {
    • "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"
    }
]

Create customer

Request Body schema: application/json

Create new 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

city
string or null

A city name for the address, 100 characters or less

coc_number
string or null

Company information - Chamber of Commerce number

corporation_name
string or null

Company information - Name

country_code
string or null

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

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

fax_number
string or null

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

first_name
string

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

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

The gender of a customer amongst {male, female}

house_number
string or null

Address house number

house_number_suffix
string or null

Address house extension

initials
string or null

Initials of a person

is_sole_proprietor
boolean or null

Company information - Is sole proprietor

last_name
string

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

merchant_reference
string or null

A reference specified by the merchant to identify the customer

organisation
required
string

Reference to the organisation this customer belongs to

phone_number
string or null

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

postal_code
string or null

A postal code for the address, if any

region
string or null

A region / state / province for the address

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

social_security_number
string or null

The social security number of the customer. Only supported for DK, FI, NO & SE and required for dealing with Klarna

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

Customer verification status. Defaults to 'unverified'

status_reason
string

Customer verification status reason

street_address
string or null

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

title
string or null

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

Responses

Request samples

Content type
application/json
{
  • "attach_token": [
    • "cd3af7d2-8ee1-439a-b752-faba1295db76"
    ]
  • "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": [
    • "a61335cf-8c8b-4a75-a259-fd4dac62fb37"
    ]
  • "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

city
string or null

A city name for the address, 100 characters or less

coc_number
string or null

Company information - Chamber of Commerce number

corporation_name
string or null

Company information - Name

country_code
string or null

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

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

fax_number
string or null

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

first_name
string

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

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

The gender of a customer amongst {male, female}

house_number
string or null

Address house number

house_number_suffix
string or null

Address house extension

initials
string or null

Initials of a person

is_sole_proprietor
boolean or null

Company information - Is sole proprietor

last_name
string

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

merchant_reference
string or null

A reference specified by the merchant to identify the customer

phone_number
string or null

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

postal_code
string or null

A postal code for the address, if any

region
string or null

A region / state / province for the address

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

social_security_number
string or null

The social security number of the customer. Only supported for DK, FI, NO & SE and required for dealing with Klarna

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

Customer verification status. Defaults to 'unverified'

status_reason
string

Customer verification status reason

street_address
string or null

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

title
string or null

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

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"
}

Get status history

path Parameters
CustomerId
required
string

The id of the customer to retrieve

Responses

Response samples

Content type
application/json
[
  • {
    • "created_at": "2019-08-24T14:15:22Z",
    • "customer": "cbbfa6ec-fb44-4da4-94c4-d81e92fd43e6",
    • "id": "string",
    • "status": "unverified",
    • "status_reason": "string"
    }
]

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
[
  • {
    • "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,
    • "type": "credit",
    • "variant": "Standard"
    }
]

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

_search
string

Search refund

_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
[
  • {
    • "amount": 1234,
    • "created_at": "2019-08-24T14:15:22Z",
    • "id": "93082d84-62e6-452b-ad4f-280bf6bef49d",
    • "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",
    }
]

Get 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": "93082d84-62e6-452b-ad4f-280bf6bef49d",
  • "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

_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

_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
[
  • {
    • "amount": 1234,
    • "amount_original": 0,
    • "block_details": [
      • "string"
      ],
    • "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": {
      • "approval_url": "https://example.com/approval",
      • "bancontact": {
        • "bep_url": "string",
        • "bin": "670999",
        • "last_four": "9999",
        • "token": "token",
        • "transactionflow": "ecommerce"
        },
      • "cvv_present": true,
      • "description": "Merchant description",
      • "discount": {
        • "id": "4f2b04b6-cf8d-4e44-bd12-efe421652912",
        • "type": "fixed_cents",
        • "amount": 0,
        • "original_transaction_amount": 1234
        },
      • "fraud": {
        • "action": "APPROVE",
        • "reason_code": "TEST",
        • "recommendation": "APPROVE",
        • "provider": "forter"
        },
      • "google_pay": {
        • "bin": "123456",
        • "brand": "Visa",
        • "issuer_country": "IT",
        • "issuer_name": "POSTE ITALIANE",
        • "last_four": "4321",
        • "prepaid": true,
        • "type": "credit",
        • "variant": "Standard"
        },
      • "issuer": "ABNANL2A",
      • "mdr": {
        • "type": "credit",
        • "region": "domestic"
        },
      • "merchant_data": {
        • "foo": "bar"
        }
      • "redirect_url": "https://example.com/redirect",
      • "sender": {
        • "account_holder": "string",
        • "account_number": "string",
        • "bank_code": "string",
        • "bank_name": "string",
        • "bic": "string",
        • "country_code": "string",
        • "iban": "string"
        },
      • "threed_authenticated": true,
      • "threed_eci": "05",
      • "threed_enrolled": true
      },
    • "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": {
      • "product_lines": [
        • {
          • "id": "Product01",
          • "name": "My Product",
          • "type": "tangible",
          • "category": "Supplies",
          • "description": "Description of the product",
          • "upc": "PRD01",
          • "sku": "XYZ12345",
          • "quantity": 0,
          • "price": 0,
          • "price_incl": 0,
          • "vat_percentage": 0
          }
        ],
      • "total_lines": [
        • {
          • "name": "Total",
          • "type": "string",
          • "value": 0
          }
        ]
      },
    • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
    • "payment_product": "dummy",
    • "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": [
      • "string"
      ],
    • "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 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": [
    • "string"
    ],
  • "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": {
    • "approval_url": "https://example.com/approval",
    • "bancontact": {
      • "bep_url": "string",
      • "bin": "670999",
      • "last_four": "9999",
      • "token": "token",
      • "transactionflow": "ecommerce"
      },
    • "cvv_present": true,
    • "description": "Merchant description",
    • "discount": {
      • "id": "4f2b04b6-cf8d-4e44-bd12-efe421652912",
      • "type": "fixed_cents",
      • "amount": 0,
      • "original_transaction_amount": 1234
      },
    • "fraud": {
      • "action": "APPROVE",
      • "reason_code": "TEST",
      • "recommendation": "APPROVE",
      • "provider": "forter"
      },
    • "google_pay": {
      • "bin": "123456",
      • "brand": "Visa",
      • "issuer_country": "IT",
      • "issuer_name": "POSTE ITALIANE",
      • "last_four": "4321",
      • "prepaid": true,
      • "type": "credit",
      • "variant": "Standard"
      },
    • "issuer": "ABNANL2A",
    • "mdr": {
      • "type": "credit",
      • "region": "domestic"
      },
    • "merchant_data": {
      • "foo": "bar"
      }
    • "redirect_url": "https://example.com/redirect",
    • "sender": {
      • "account_holder": "string",
      • "account_number": "string",
      • "bank_code": "string",
      • "bank_name": "string",
      • "bic": "string",
      • "country_code": "string",
      • "iban": "string"
      },
    • "threed_authenticated": true,
    • "threed_eci": "05",
    • "threed_enrolled": true
    },
  • "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": {
    • "product_lines": [
      • {
        • "id": "Product01",
        • "name": "My Product",
        • "type": "tangible",
        • "category": "Supplies",
        • "description": "Description of the product",
        • "upc": "PRD01",
        • "sku": "XYZ12345",
        • "quantity": 0,
        • "price": 0,
        • "price_incl": 0,
        • "vat_percentage": 0
        }
      ],
    • "total_lines": [
      • {
        • "name": "Total",
        • "type": "string",
        • "value": 0
        }
      ]
    },
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "payment_product": "dummy",
  • "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": [
    • "string"
    ],
  • "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
[
  • {
    • "created_at": "2019-08-24T14:15:22Z",
    • "id": "2715822a-5f16-4ef3-8e4a-3bf51a4fd503",
    • "status": "SETTLEMENT_COMPLETED",
    • "status_reason": "Cancelled by customer",
    • "transaction": "e0377c06-a9e0-43a8-9885-8799a8338b5a",
    • "updated_at": "2019-08-24T14:15:22Z"
    }
]

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.

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

card
string

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

country_code
string

Two-letter ISO country code

customer
string

Reference to the customer this transaction belongs to

customer_ip
required
string

The IP address of the customer

required
object (TransactionDetailCard)

Transaction 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

object (TransactionOrderData)

Transaction - OrderData

organisation
string

Reference to the organization this transaction belongs to

payment_product
string

Payment product string

payment_profile
required
string

Reference to the payment profile this transaction belongs to

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).

reserve_release_date
string or null <date-time>

The date when a possible reserve from this transaction released

terminal
string

Reference to the terminal this transaction belongs to

user_agent
required
string

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

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": {
    • "capture_now": true,
    • "card_cvv": "123",
    • "card_expiry_month": 12,
    • "card_expiry_year": 31,
    • "card_holder": "N van Veen",
    • "card_token": "555555Feej054444",
    • "checkout_id": "3419630a-ff67-4693-a1b9-6891cc7776e2",
    • "force_3DSecure": false,
    • "merchant_data": {
      • "foo": "bar"
      },
    • "redirect_parent_function": "iframeParent",
    • "redirect_url": "https://example.com/",
    },
  • "dynamic_descriptor": "Webshop X",
  • "merchant_reference": "Order 12345678",
  • "order_data": {
    • "product_lines": [
      • {
        • "id": "Product01",
        • "name": "My Product",
        • "type": "tangible",
        • "category": "Supplies",
        • "description": "Description of the product",
        • "upc": "PRD01",
        • "sku": "XYZ12345",
        • "quantity": 0,
        • "price": 0,
        • "price_incl": 0,
        • "vat_percentage": 0
        }
      ],
    • "total_lines": [
      • {
        • "name": "Total",
        • "type": "string",
        • "value": 0
        }
      ]
    },
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "payment_product": "card",
  • "payment_profile": "7c23a50d-8699-431c-a82b-a78718d2b6f6",
  • "recurring_type": "first",
  • "reserve_release_date": "2019-08-24T14:15:22Z",
  • "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"
}

Response samples

Content type
application/json
{
  • "amount": 1234,
  • "amount_original": 0,
  • "block_details": [
    • "string"
    ],
  • "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": {
    • "approval_url": "https://example.com/approval",
    • "bancontact": {
      • "bep_url": "string",
      • "bin": "670999",
      • "last_four": "9999",
      • "token": "token",
      • "transactionflow": "ecommerce"
      },
    • "cvv_present": true,
    • "description": "Merchant description",
    • "discount": {
      • "id": "4f2b04b6-cf8d-4e44-bd12-efe421652912",
      • "type": "fixed_cents",
      • "amount": 0,
      • "original_transaction_amount": 1234
      },
    • "fraud": {
      • "action": "APPROVE",
      • "reason_code": "TEST",
      • "recommendation": "APPROVE",
      • "provider": "forter"
      },
    • "google_pay": {
      • "bin": "123456",
      • "brand": "Visa",
      • "issuer_country": "IT",
      • "issuer_name": "POSTE ITALIANE",
      • "last_four": "4321",
      • "prepaid": true,
      • "type": "credit",
      • "variant": "Standard"
      },
    • "issuer": "ABNANL2A",
    • "mdr": {
      • "type": "credit",
      • "region": "domestic"
      },
    • "merchant_data": {
      • "foo": "bar"
      }
    • "redirect_url": "https://example.com/redirect",
    • "sender": {
      • "account_holder": "string",
      • "account_number": "string",
      • "bank_code": "string",
      • "bank_name": "string",
      • "bic": "string",
      • "country_code": "string",
      • "iban": "string"
      },
    • "threed_authenticated": true,
    • "threed_eci": "05",
    • "threed_enrolled": true
    },
  • "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": {
    • "product_lines": [
      • {
        • "id": "Product01",
        • "name": "My Product",
        • "type": "tangible",
        • "category": "Supplies",
        • "description": "Description of the product",
        • "upc": "PRD01",
        • "sku": "XYZ12345",
        • "quantity": 0,
        • "price": 0,
        • "price_incl": 0,
        • "vat_percentage": 0
        }
      ],
    • "total_lines": [
      • {
        • "name": "Total",
        • "type": "string",
        • "value": 0
        }
      ]
    },
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "payment_product": "dummy",
  • "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": [
    • "string"
    ],
  • "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",
}

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": [
    • "string"
    ],
  • "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": {
    • "approval_url": "https://example.com/approval",
    • "bancontact": {
      • "bep_url": "string",
      • "bin": "670999",
      • "last_four": "9999",
      • "token": "token",
      • "transactionflow": "ecommerce"
      },
    • "cvv_present": true,
    • "description": "Merchant description",
    • "discount": {
      • "id": "4f2b04b6-cf8d-4e44-bd12-efe421652912",
      • "type": "fixed_cents",
      • "amount": 0,
      • "original_transaction_amount": 1234
      },
    • "fraud": {
      • "action": "APPROVE",
      • "reason_code": "TEST",
      • "recommendation": "APPROVE",
      • "provider": "forter"
      },
    • "google_pay": {
      • "bin": "123456",
      • "brand": "Visa",
      • "issuer_country": "IT",
      • "issuer_name": "POSTE ITALIANE",
      • "last_four": "4321",
      • "prepaid": true,
      • "type": "credit",
      • "variant": "Standard"
      },
    • "issuer": "ABNANL2A",
    • "mdr": {
      • "type": "credit",
      • "region": "domestic"
      },
    • "merchant_data": {
      • "foo": "bar"
      }
    • "redirect_url": "https://example.com/redirect",
    • "sender": {
      • "account_holder": "string",
      • "account_number": "string",
      • "bank_code": "string",
      • "bank_name": "string",
      • "bic": "string",
      • "country_code": "string",
      • "iban": "string"
      },
    • "threed_authenticated": true,
    • "threed_eci": "05",
    • "threed_enrolled": true
    },
  • "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": {
    • "product_lines": [
      • {
        • "id": "Product01",
        • "name": "My Product",
        • "type": "tangible",
        • "category": "Supplies",
        • "description": "Description of the product",
        • "upc": "PRD01",
        • "sku": "XYZ12345",
        • "quantity": 0,
        • "price": 0,
        • "price_incl": 0,
        • "vat_percentage": 0
        }
      ],
    • "total_lines": [
      • {
        • "name": "Total",
        • "type": "string",
        • "value": 0
        }
      ]
    },
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "payment_product": "dummy",
  • "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": [
    • "string"
    ],
  • "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": [
    • "string"
    ],
  • "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": {
    • "approval_url": "https://example.com/approval",
    • "bancontact": {
      • "bep_url": "string",
      • "bin": "670999",
      • "last_four": "9999",
      • "token": "token",
      • "transactionflow": "ecommerce"
      },
    • "cvv_present": true,
    • "description": "Merchant description",
    • "discount": {
      • "id": "4f2b04b6-cf8d-4e44-bd12-efe421652912",
      • "type": "fixed_cents",
      • "amount": 0,
      • "original_transaction_amount": 1234
      },
    • "fraud": {
      • "action": "APPROVE",
      • "reason_code": "TEST",
      • "recommendation": "APPROVE",
      • "provider": "forter"
      },
    • "google_pay": {
      • "bin": "123456",
      • "brand": "Visa",
      • "issuer_country": "IT",
      • "issuer_name": "POSTE ITALIANE",
      • "last_four": "4321",
      • "prepaid": true,
      • "type": "credit",
      • "variant": "Standard"
      },
    • "issuer": "ABNANL2A",
    • "mdr": {
      • "type": "credit",
      • "region": "domestic"
      },
    • "merchant_data": {
      • "foo": "bar"
      }
    • "redirect_url": "https://example.com/redirect",
    • "sender": {
      • "account_holder": "string",
      • "account_number": "string",
      • "bank_code": "string",
      • "bank_name": "string",
      • "bic": "string",
      • "country_code": "string",
      • "iban": "string"
      },
    • "threed_authenticated": true,
    • "threed_eci": "05",
    • "threed_enrolled": true
    },
  • "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": {
    • "product_lines": [
      • {
        • "id": "Product01",
        • "name": "My Product",
        • "type": "tangible",
        • "category": "Supplies",
        • "description": "Description of the product",
        • "upc": "PRD01",
        • "sku": "XYZ12345",
        • "quantity": 0,
        • "price": 0,
        • "price_incl": 0,
        • "vat_percentage": 0
        }
      ],
    • "total_lines": [
      • {
        • "name": "Total",
        • "type": "string",
        • "value": 0
        }
      ]
    },
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "payment_product": "dummy",
  • "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": [
    • "string"
    ],
  • "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": "93082d84-62e6-452b-ad4f-280bf6bef49d",
  • "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",
}

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."
}

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
[
  • {
    • "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": [
      • "PAST_DUE",
      • "EXPIRED"
      ],
    • "updated_at": "2019-08-24T14:15:22Z",
    • "webhook_subscription_update": "https://example.com/webhook",
    }
]

Create new plan

Request Body schema: application/json

Create new plan

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

checkout
string or null

Reference to the checkout used for this plan

description
string

Description

dynamic_descriptor
string

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

email_subscription_update
string or null

An email address that receives subscription updates.

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

name
required
string

Plan name

payment_profile
required
string

The ID of the payment profile object

redirect_url
string or null

The URL where the customer will be redirected after the payment

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.

webhook_subscription_update
string or null

A webhook url that is called with subscription updates.

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": [
    • "PAST_DUE",
    • "EXPIRED"
    ],
  • "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": [
    • "PAST_DUE",
    • "EXPIRED"
    ],
  • "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": [
    • "PAST_DUE",
    • "EXPIRED"
    ],
  • "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

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

checkout
string or null

Reference to the checkout used for this plan

description
string

Description

dynamic_descriptor
string

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

email_subscription_update
string or null

An email address that receives subscription updates.

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

name
string

Plan name

redirect_url
string or null

The URL where the customer will be redirected after the payment

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.

webhook_subscription_update
string or null

A webhook url that is called with subscription updates.

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": [
    • "PAST_DUE",
    • "EXPIRED"
    ],
  • "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": [
    • "PAST_DUE",
    • "EXPIRED"
    ],
  • "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
[
  • {
    • "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": [
      • {
        • "active": true,
        • "applied_duration": "3",
        • "created_at": "2019-08-24T14:15:22Z",
        • "id": "327c4a14-32a1-43e1-86d8-78ea992bd85e",
        • "is_active": "true",
        • "subscription_discount": "4f2b04b6-cf8d-4e44-bd12-efe421652912"
        }
      ]
    • "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"
    }
]

Create new subscription

Request Body schema: application/json

Create new subscription

card
string

Reference to the card this subscription is linked to

customer
required
string

Reference to the customer this subscription belongs 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
Value: "card"

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": [
    • {
      • "active": true,
      • "applied_duration": "3",
      • "created_at": "2019-08-24T14:15:22Z",
      • "id": "327c4a14-32a1-43e1-86d8-78ea992bd85e",
      • "is_active": "true",
      • "subscription_discount": "4f2b04b6-cf8d-4e44-bd12-efe421652912"
      }
    ]
  • "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": [
    • {
      • "active": true,
      • "applied_duration": "3",
      • "created_at": "2019-08-24T14:15:22Z",
      • "id": "327c4a14-32a1-43e1-86d8-78ea992bd85e",
      • "is_active": "true",
      • "subscription_discount": "4f2b04b6-cf8d-4e44-bd12-efe421652912"
      }
    ]
  • "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": [
    • {
      • "active": true,
      • "applied_duration": "3",
      • "created_at": "2019-08-24T14:15:22Z",
      • "id": "327c4a14-32a1-43e1-86d8-78ea992bd85e",
      • "is_active": "true",
      • "subscription_discount": "4f2b04b6-cf8d-4e44-bd12-efe421652912"
      }
    ]
  • "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": [
    • {
      • "active": true,
      • "applied_duration": "3",
      • "created_at": "2019-08-24T14:15:22Z",
      • "id": "327c4a14-32a1-43e1-86d8-78ea992bd85e",
      • "is_active": "true",
      • "subscription_discount": "4f2b04b6-cf8d-4e44-bd12-efe421652912"
      }
    ]
  • "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
SubscriptionDiscountId
required
string

The id of the subscription discount to add

SubscriptionId
required
string

The id of the subscription

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": [
    • {
      • "active": true,
      • "applied_duration": "3",
      • "created_at": "2019-08-24T14:15:22Z",
      • "id": "327c4a14-32a1-43e1-86d8-78ea992bd85e",
      • "is_active": "true",
      • "subscription_discount": "4f2b04b6-cf8d-4e44-bd12-efe421652912"
      }
    ]
  • "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 attached discount

path Parameters
SubscriptionDiscountAttachedId
required
string

The id of the attached subscription discount to remove

SubscriptionId
required
string

The id of the subscription

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": [
    • {
      • "active": true,
      • "applied_duration": "3",
      • "created_at": "2019-08-24T14:15:22Z",
      • "id": "327c4a14-32a1-43e1-86d8-78ea992bd85e",
      • "is_active": "true",
      • "subscription_discount": "4f2b04b6-cf8d-4e44-bd12-efe421652912"
      }
    ]
  • "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 subscriptions 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
[
  • {
    • "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"
    }
]

Create 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%
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.

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.

name
required
string

Discount name

organisation
required
string

Reference to the organisation this subscription discount belongs to

type
required
string
Enum: "percentage" "fixed_cents"

Discount type

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%
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.

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.

name
string

Discount name

type
string
Enum: "percentage" "fixed_cents"

Discount type

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 statistics

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
[
  • {
    • "amount": 0,
    • "count": 0,
    • "period": "2019-08-24",
    • "year": 0
    }
]

Aggregated chargeback statistics

query Parameters
created_at<
string

Filter on date

created_at>
string

Filter on date

Responses

Response samples

Content type
application/json
{
  • "amount": {
    • "browsers": {
      • "Chrome": 1905213,
      • "Opera": 1187360,
      • "Safari": 1050641,
      • "Edge": 772708,
      • "MSIE": 793988,
      • "Firefox": 1267998
      },
    • "dayOfWeek": {
      • "Mon": 1191826,
      • "Tue": 907160,
      • "Wed": 689427,
      • "Thu": 950276,
      • "Fri": 1236850,
      • "Sat": 984023,
      • "Sun": 1018346
      },
    • "timeOfDay": [
      • 1234
      ],
    • "platform": {
      • "Chrome OS": 689854,
      • "Windows": 3819188,
      • "Macintosh": 1050641,
      • "Linux": 1418225
      },
    • "issuers": {
      • "visa": 2911036,
      • "mastercard": 2388158,
      • "maestro": 1675336
      },
    • "paymentSchemes": {
      • "card": 6974530,
      • "dummy": 3378
      },
    • "transactionOutcomes": {
      • "SETTLEMENT_COMPLETED": 6977908
      }
    }
  • "count": {
    • "browsers": {
      • "Chrome": 95,
      • "Edge": 38,
      • "Firefox": 61,
      • "MSIE": 36,
      • "Opera": 70,
      • "Safari": 58
      },
    • "dayOfWeek": {
      • "Fri": 61,
      • "Mon": 64,
      • "Sat": 54,
      • "Sun": 49,
      • "Thu": 43,
      • "Tue": 47,
      • "Wed": 40
      },
    • "issuers": {
      • "visa": 153,
      • "mastercard": 121,
      • "maestro": 83
      },
    • "paymentSchemes": {
      • "card": 357,
      • "dummy": 1
      },
    • "platform": {
      • "Chrome OS": 35,
      • "Linux": 71,
      • "Macintosh": 58,
      • "Windows": 194
      },
    • "timeOfDay": [
      • 8
      ],
    • "transactionOutcomes": {
      • "SETTLEMENT_COMPLETED": 358
      }
    },
}

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
[
  • {
    • "count": 0,
    • "period": "2019-08-24",
    • "year": 0
    }
]

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": {
    • "age": {
      • "100": 0,
      • "101": 0,
      • "102": 0,
      • "103": 0,
      • "104": 0,
      • "105": 0,
      • "106": 0,
      • "107": 0,
      • "108": 0,
      • "109": 0,
      • "110": 0,
      • "111": 0,
      • "112": 0,
      • "113": 0,
      • "114": 0,
      • "115": 0,
      • "116": 0,
      • "117": 0,
      • "118": 0,
      • "119": 0,
      • "120": 0,
      • "16": 0,
      • "17": 0,
      • "18": 0,
      • "19": 0,
      • "20": 0,
      • "21": 0,
      • "22": 0,
      • "23": 0,
      • "24": 0,
      • "25": 0,
      • "26": 0,
      • "27": 0,
      • "28": 0,
      • "29": 0,
      • "30": 0,
      • "31": 0,
      • "32": 3,
      • "33": 10,
      • "34": 12,
      • "35": 11,
      • "36": 16,
      • "37": 15,
      • "38": 6,
      • "39": 11,
      • "40": 15,
      • "41": 18,
      • "42": 11,
      • "43": 18,
      • "44": 9,
      • "45": 7,
      • "46": 14,
      • "47": 16,
      • "48": 19,
      • "49": 20,
      • "50": 10,
      • "51": 14,
      • "52": 20,
      • "53": 12,
      • "54": 15,
      • "55": 14,
      • "56": 11,
      • "57": 11,
      • "58": 12,
      • "59": 9,
      • "60": 19,
      • "61": 18,
      • "62": 14,
      • "63": 13,
      • "64": 10,
      • "65": 17,
      • "66": 8,
      • "67": 12,
      • "68": 15,
      • "69": 10,
      • "70": 10,
      • "71": 8,
      • "72": 14,
      • "73": 12,
      • "74": 14,
      • "75": 13,
      • "76": 10,
      • "77": 15,
      • "78": 17,
      • "79": 11,
      • "80": 22,
      • "81": 11,
      • "82": 6,
      • "83": 12,
      • "84": 0,
      • "85": 0,
      • "86": 0,
      • "87": 0,
      • "88": 0,
      • "89": 0,
      • "90": 0,
      • "91": 0,
      • "92": 0,
      • "93": 0,
      • "94": 0,
      • "95": 0,
      • "96": 0,
      • "97": 0,
      • "98": 0,
      • "99": 0,
      • "none": 12481
      },
    • "gender": {
      • "female": 6536,
      • "male": 6615
      },
    • "status": {
      • "auto-verified": 2,
      • "unverified": 13149
      }
    }
}

Aggregated customer segments

Responses

Response samples

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

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
[
  • {
    • "amount": 0,
    • "count": 0,
    • "period": "2019-08-24",
    • "year": 0
    }
]

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": {
    • "browsers": {
      • "Chrome": 95,
      • "Edge": 38,
      • "Firefox": 61,
      • "MSIE": 36,
      • "Opera": 70,
      • "Safari": 58
      },
    • "dayOfWeek": {
      • "Fri": 61,
      • "Mon": 64,
      • "Sat": 54,
      • "Sun": 49,
      • "Thu": 43,
      • "Tue": 47,
      • "Wed": 40
      },
    • "issuers": {
      • "visa": 153,
      • "mastercard": 121,
      • "maestro": 83
      },
    • "paymentSchemes": {
      • "card": 357,
      • "dummy": 1
      },
    • "platform": {
      • "Chrome OS": 35,
      • "Linux": 71,
      • "Macintosh": 58,
      • "Windows": 194
      },
    • "timeOfDay": [
      • 8
      ],
    • "transactionOutcomes": {
      • "SETTLEMENT_COMPLETED": 358
      }
    },
  • "volume": {
    • "browsers": {
      • "Chrome": 1905213,
      • "Opera": 1187360,
      • "Safari": 1050641,
      • "Edge": 772708,
      • "MSIE": 793988,
      • "Firefox": 1267998
      },
    • "dayOfWeek": {
      • "Mon": 1191826,
      • "Tue": 907160,
      • "Wed": 689427,
      • "Thu": 950276,
      • "Fri": 1236850,
      • "Sat": 984023,
      • "Sun": 1018346
      },
    • "timeOfDay": [
      • 1234
      ],
    • "platform": {
      • "Chrome OS": 689854,
      • "Windows": 3819188,
      • "Macintosh": 1050641,
      • "Linux": 1418225
      },
    • "issuers": {
      • "visa": 2911036,
      • "mastercard": 2388158,
      • "maestro": 1675336
      },
    • "paymentSchemes": {
      • "card": 6974530,
      • "dummy": 3378
      },
    • "transactionOutcomes": {
      • "SETTLEMENT_COMPLETED": 6977908
      }
    }
}

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
[
  • {
    • "count": 50000,
    • "created_at": "2019-08-24T14:15:22Z",
    • "export": "csv",
    • "fields": [
      • "id",
      • "amount",
      • "status",
      • "created_at"
      ],
    • "filter": [
      • {
        • "name": "amount",
        • "operator": ">",
        • "value": "50000"
        }
      ],
    • "id": "83a504a6-2300-42bf-b996-2c8e73e5f9ac",
    • "name": "All transactions from last quarter",
    • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
    • "organisations": [
      • "fab04e42-0901-4e33-839d-4a326d037497"
      ],
    • "status": "PENDING",
    • "updated_at": "2019-08-24T14:15:22Z"
    }
]

Create new report

Request Body schema: application/json

Create new report

export
string
Enum: "csv" "xlsx"

Report export type

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.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" "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

Array of objects or null (ReportFilterRules)

Report filter

name
required
string

The name of the report

organisation
required
string

Reference to the organisation this report belongs to

organisations
required
Array of strings

Array of organisations

Responses

Request samples

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

Response samples

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

Get 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": [
    • "id",
    • "amount",
    • "status",
    • "created_at"
    ],
  • "filter": [
    • {
      • "name": "amount",
      • "operator": ">",
      • "value": "50000"
      }
    ],
  • "id": "83a504a6-2300-42bf-b996-2c8e73e5f9ac",
  • "name": "All transactions from last quarter",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "organisations": [
    • "fab04e42-0901-4e33-839d-4a326d037497"
    ],
  • "status": "PENDING",
  • "updated_at": "2019-08-24T14:15:22Z"
}

Delete 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
[
  • {
    • "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": [
      • "id",
      • "amount",
      • "status",
      • "created_at"
      ],
    • "filter": [
      • {
        • "name": "amount",
        • "operator": ">",
        • "value": "50000"
        }
      ],
    • "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": [
      • "fab04e42-0901-4e33-839d-4a326d037497"
      ],
    • "webhook_url": "https://example.com/webhook",
    }
]

Create new report schedule

Request Body schema: application/json

Create new report schedule

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

email_address
string or null

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

export
string
Enum: "csv" "xlsx"

Report export type

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.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" "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

Array of objects or null (ReportFilterRules)

Report filter

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)

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

name
required
string

The name of the report

organisation
required
string

Reference to the organisation this report schedule belongs to

organisations
required
Array of strings

Array of organisations

webhook_url
string or null

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

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": [
    • "id",
    • "amount",
    • "status",
    • "created_at"
    ],
  • "filter": [
    • {
      • "name": "amount",
      • "operator": ">",
      • "value": "50000"
      }
    ],
  • "include_transactions_for": "yesterday",
  • "interval": "daily",
  • "name": "Daily all transactions report",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "organisations": [
    • "fab04e42-0901-4e33-839d-4a326d037497"
    ],
  • "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": [
    • "id",
    • "amount",
    • "status",
    • "created_at"
    ],
  • "filter": [
    • {
      • "name": "amount",
      • "operator": ">",
      • "value": "50000"
      }
    ],
  • "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": [
    • "fab04e42-0901-4e33-839d-4a326d037497"
    ],
  • "webhook_url": "https://example.com/webhook",
}

Get report schedule count

Responses

Response samples

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

Get 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": [
    • "id",
    • "amount",
    • "status",
    • "created_at"
    ],
  • "filter": [
    • {
      • "name": "amount",
      • "operator": ">",
      • "value": "50000"
      }
    ],
  • "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": [
    • "fab04e42-0901-4e33-839d-4a326d037497"
    ],
  • "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
[
  • {
    • "amount": 1234,
    • "chargeback_count": 2,
    • "chargeback_volume": 8270,
    • "created_at": "2019-08-24T14:15:22Z",
    • "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
    }
]

Get settlement count

Responses

Response samples

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

Get 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",
  • "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 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
[
  • {
    • "id": "9e0377c06-a9e0-43a8-9885-8799a8338b5a"
    }
]

Get amazing things statistics

Responses

Get day-and-time statistics

Responses

Response samples

Content type
application/json
[
  • {
    • "fri": [
      • {
        • "hour": 0,
        • "count": 0,
        • "amount": 0,
        • "volume": 0
        }
      ],
    • "mon": [
      • {
        • "amount": 0,
        • "count": 0,
        • "hour": 0,
        • "volume": 0
        }
      ],
    • "sat": [
      • {
        • "hour": 0,
        • "count": 0,
        • "amount": 0,
        • "volume": 0
        }
      ]
    • "sun": [
      • {
        • "amount": 0,
        • "count": 0,
        • "hour": 0,
        • "volume": 0
        }
      ],
    • "thu": [
      • {
        • "hour": 0,
        • "count": 0,
        • "amount": 0,
        • "volume": 0
        }
      ],
    • "tue": [
      • {
        • "hour": 0,
        • "count": 0,
        • "amount": 0,
        • "volume": 0
        }
      ],
    • "wed": [
      • {
        • "hour": 0,
        • "count": 0,
        • "amount": 0,
        • "volume": 0
        }
      ],
    }
]

Statistics - Aggregate

Statistics - Aggregate

Aggregated by day

Responses

Response samples

Content type
application/json
[
  • {
    • "amount": 0,
    • "count": 0,
    • "date": "2019-08-24",
    • "day": 0,
    • "month": 0,
    • "year": 0
    }
]

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
[
  • {
    • "amount": 0,
    • "count": 0,
    • "date": "2019-08-24",
    • "day": 0,
    • "month": 0,
    • "year": 0
    }
]

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
[
  • {
    • "gateway": "adyen",
    • "id": "c4e6b136-c1fb-41e6-9328-09e01dbc6df5",
    • "last24hours": 12345,
    • "name": "Processor name",
    • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
    • "payment_product": "dummy",
    • "previous24hours": 12345
    }
]

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": {
    • "gateway": "adyen",
    • "id": "c4e6b136-c1fb-41e6-9328-09e01dbc6df5",
    • "name": "Processor name",
    • "payment_product": "dummy",
    • "transaction": {
      • "conversion": "80.12",
      • "status": {
        • "INITIATED": {
          • "count": 258,
          • "amount": 1290000
          }
        },
      • "total": {
        • "count": 258,
        • "amount": 1290000
        },
      • "total_success": {
        • "count": 258,
        • "amount": 1290000
        }
      }
    }
}

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
[
  • {
    • "count": 0,
    • "period": "2019-08-24",
    • "volume": 0,
    • "year": 0
    }
]

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": {
    • "browsers": {
      • "Chrome": 95,
      • "Edge": 38,
      • "Firefox": 61,
      • "MSIE": 36,
      • "Opera": 70,
      • "Safari": 58
      },
    • "dayOfWeek": {
      • "Fri": 61,
      • "Mon": 64,
      • "Sat": 54,
      • "Sun": 49,
      • "Thu": 43,
      • "Tue": 47,
      • "Wed": 40
      },
    • "issuers": {
      • "visa": 153,
      • "mastercard": 121,
      • "maestro": 83
      },
    • "paymentSchemes": {
      • "card": 357,
      • "dummy": 1
      },
    • "platform": {
      • "Chrome OS": 35,
      • "Linux": 71,
      • "Macintosh": 58,
      • "Windows": 194
      },
    • "timeOfDay": [
      • 8
      ],
    • "transactionOutcomes": {
      • "SETTLEMENT_COMPLETED": 358
      }
    },
  • "volume": {
    • "browsers": {
      • "Chrome": 1905213,
      • "Opera": 1187360,
      • "Safari": 1050641,
      • "Edge": 772708,
      • "MSIE": 793988,
      • "Firefox": 1267998
      },
    • "dayOfWeek": {
      • "Mon": 1191826,
      • "Tue": 907160,
      • "Wed": 689427,
      • "Thu": 950276,
      • "Fri": 1236850,
      • "Sat": 984023,
      • "Sun": 1018346
      },
    • "timeOfDay": [
      • 1234
      ],
    • "platform": {
      • "Chrome OS": 689854,
      • "Windows": 3819188,
      • "Macintosh": 1050641,
      • "Linux": 1418225
      },
    • "issuers": {
      • "visa": 2911036,
      • "mastercard": 2388158,
      • "maestro": 1675336
      },
    • "paymentSchemes": {
      • "card": 6974530,
      • "dummy": 3378
      },
    • "transactionOutcomes": {
      • "SETTLEMENT_COMPLETED": 6977908
      }
    }
}

Aggregated transaction location

query Parameters
countryCode
string

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

created_at<
string

Filter on date

created_at>
string

Filter on date

Responses

Response samples

Content type
application/json
[
  • {
    • "count": 0,
    • "location": "string",
    • "volume": 0
    }
]

Aggregated transaction lifecycle

query Parameters
created_at<
string

Filter on date

created_at>
string

Filter on date

Responses

Response samples

Content type
application/json
[
  • {
    • "count": 1100,
    • "count_percentage": 30.15,
    • "name": "SETTLEMENT_COMPLETED",
    • "volume": 54368,
    • "volume_percentage": 34.15
    }
]

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
[
  • {
    • "created_at": "2019-08-24T14:15:22Z",
    • "details": {
      • "else": "457a8d16-370a-494f-a6ec-0f471378fa5e",
      • "if": [
        • {
          • "name": "amount",
          • "operator": ">",
          • "value": "50000"
          }
        ],
      • "then": {
        • "if": [
          • {
            }
          ],
        • "then": "a0cd27a0-c376-4b6f-826f-e94c8ee3dca3",
        • "else": "6a6fface-f2c0-4739-a88c-47365e32d0fe"
        },
      },
    • "id": "5c86557b-5b78-457d-b2fd-45f082603fea",
    • "name": "Routing",
    • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
    • "payment_product": "dummy",
    • "processors": "c4e6b136-c1fb-41e6-9328-09e01dbc6df5,9ea84d17-1f82-425e-bfac-3e6e9787162c",
    • "updated_at": "2019-08-24T14:15:22Z"
    }
]

Create new routing

Request Body schema: application/json

Create new routing

required
object (RoutingDetails)

Routing - Details

name
required
string

The name of the Routing

organisation
required
string

Reference to the organisation this routing belongs to

payment_product
required
string
Enum: "dummy" "card" "gcash"

Payment product string

Responses

Request samples

Content type
application/json
{
  • "details": {
    • "else": "457a8d16-370a-494f-a6ec-0f471378fa5e",
    • "if": [
      • {
        • "name": "amount",
        • "operator": ">",
        • "value": "50000"
        }
      ],
    • "then": {
      • "if": [
        • {
          • "name": "random",
          • "operator": "<=",
          • "value": "50"
          }
        ],
      • "then": "a0cd27a0-c376-4b6f-826f-e94c8ee3dca3",
      • "else": "6a6fface-f2c0-4739-a88c-47365e32d0fe"
      },
    },
  • "name": "Routing",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "payment_product": "dummy"
}

Response samples

Content type
application/json
{
  • "created_at": "2019-08-24T14:15:22Z",
  • "details": {
    • "else": "457a8d16-370a-494f-a6ec-0f471378fa5e",
    • "if": [
      • {
        • "name": "amount",
        • "operator": ">",
        • "value": "50000"
        }
      ],
    • "then": {
      • "if": [
        • {
          • "name": "random",
          • "operator": "<=",
          • "value": "50"
          }
        ],
      • "then": "a0cd27a0-c376-4b6f-826f-e94c8ee3dca3",
      • "else": "6a6fface-f2c0-4739-a88c-47365e32d0fe"
      },
    },
  • "id": "5c86557b-5b78-457d-b2fd-45f082603fea",
  • "name": "Routing",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "payment_product": "dummy",
  • "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": {
    • "else": "457a8d16-370a-494f-a6ec-0f471378fa5e",
    • "if": [
      • {
        • "name": "amount",
        • "operator": ">",
        • "value": "50000"
        }
      ],
    • "then": {
      • "if": [
        • {
          • "name": "random",
          • "operator": "<=",
          • "value": "50"
          }
        ],
      • "then": "a0cd27a0-c376-4b6f-826f-e94c8ee3dca3",
      • "else": "6a6fface-f2c0-4739-a88c-47365e32d0fe"
      },
    },
  • "id": "5c86557b-5b78-457d-b2fd-45f082603fea",
  • "name": "Routing",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "payment_product": "dummy",
  • "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

object (RoutingDetails)

Routing - Details

name
string

The name of the Routing

payment_product
string
Enum: "dummy" "card" "gcash"

Payment product string

Responses

Request samples

Content type
application/json
{
  • "details": {
    • "else": "457a8d16-370a-494f-a6ec-0f471378fa5e",
    • "if": [
      • {
        • "name": "amount",
        • "operator": ">",
        • "value": "50000"
        }
      ],
    • "then": {
      • "if": [
        • {
          • "name": "random",
          • "operator": "<=",
          • "value": "50"
          }
        ],
      • "then": "a0cd27a0-c376-4b6f-826f-e94c8ee3dca3",
      • "else": "6a6fface-f2c0-4739-a88c-47365e32d0fe"
      },
    }
  • "name": "Routing",
  • "payment_product": "dummy"
}

Response samples

Content type
application/json
{
  • "created_at": "2019-08-24T14:15:22Z",
  • "details": {
    • "else": "457a8d16-370a-494f-a6ec-0f471378fa5e",
    • "if": [
      • {
        • "name": "amount",
        • "operator": ">",
        • "value": "50000"
        }
      ],
    • "then": {
      • "if": [
        • {
          • "name": "random",
          • "operator": "<=",
          • "value": "50"
          }
        ],
      • "then": "a0cd27a0-c376-4b6f-826f-e94c8ee3dca3",
      • "else": "6a6fface-f2c0-4739-a88c-47365e32d0fe"
      },
    },
  • "id": "5c86557b-5b78-457d-b2fd-45f082603fea",
  • "name": "Routing",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "payment_product": "dummy",
  • "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
[
  • {
    • "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": [
      • {
        • "id": "30fc3c12-0030-4b09-ad10-6c8bb7eff2dc",
        • "name": "country_code",
        • "operator": "==",
        • "value": "FR"
        }
      ]
    • "tag": "string",
    • "updated_at": "2019-08-24T14:15:22Z",
    }
]

Create new validation ruleset

Request Body schema: application/json

Create new validationruleset

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

Action to take

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

name
required
string

The name of the Validation ruleset

organisation
required
string

Reference to the organisation this validation ruleset belongs to

required
Array of objects (ValidationRulesetRuleCreate)

Ruleset rules

tag
string

Reference to the tag connected to this ruleset

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

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": [
    • {
      • "name": "country_code",
      • "operator": "==",
      • "value": "FR"
      }
    ]
  • "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": [
    • {
      • "id": "30fc3c12-0030-4b09-ad10-6c8bb7eff2dc",
      • "name": "country_code",
      • "operator": "==",
      • "value": "FR"
      }
    ]
  • "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": [
    • {
      • "id": "30fc3c12-0030-4b09-ad10-6c8bb7eff2dc",
      • "name": "country_code",
      • "operator": "==",
      • "value": "FR"
      }
    ]
  • "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

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

Action to take

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

name
string

The name of the Validation ruleset

Array of objects (ValidationRulesetRuleGet)

Ruleset rules

tag
string

Reference to the tag connected to this ruleset

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

Responses

Request samples

Content type
application/json
{
  • "action": "3dSecure",
  • "email": "notify@example.com",
  • "name": "3DS for high amount",
  • "rules": [
    • {
      • "id": "30fc3c12-0030-4b09-ad10-6c8bb7eff2dc",
      • "name": "country_code",
      • "operator": "==",
      • "value": "FR"
      }
    ]
  • "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": [
    • {
      • "id": "30fc3c12-0030-4b09-ad10-6c8bb7eff2dc",
      • "name": "country_code",
      • "operator": "==",
      • "value": "FR"
      }
    ]
  • "tag": "string",
  • "updated_at": "2019-08-24T14:15:22Z",
}

Terminal

Terminal

List terminals

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"
    }
]

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

_search
string

Search webhook based on id, item id or url

_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
[
  • {
    • "amount": 0,
    • "created_at": "2019-08-24T14:15:22Z",
    • "delivered": true,
    • "delivered_on": "2019-08-24T14:15:22Z",
    • "history": [
      • {
        • "content": "Ok.",
        • "created_at": "2019-08-24T14:15:22Z",
        • "status_code": 200
        }
      ]
    • "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",
    }
]

Create new webhook

Request Body schema: application/json

Create new webhook

item_id
string

Item id of the item this webhook is connected to

organisation
required
string

Reference to the organisation this webhook belongs 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

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

Type of item this webhook is connected to

url
required
string

URL of the webhook

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": [
    • {
      • "content": "Ok.",
      • "created_at": "2019-08-24T14:15:22Z",
      • "status_code": 200
      }
    ]
  • "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": [
    • {
      • "content": "Ok.",
      • "created_at": "2019-08-24T14:15:22Z",
      • "status_code": 200
      }
    ]
  • "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

_search
string

Search based on id, holder name or description

_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
[
  • {
    • "bank_account_number": "GB29 NWBK 6016 1331 9268 19",
    • "bic": "ABNANL2A",
    • "created_at": "2019-08-24T14:15:22Z",
    • "currency_code": "USD",
    • "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"
    }
]

Create new bank account

Request Body schema: application/json

Create new bank account

bank_account_number
required
string

Bank account number

bic
required
string

Bank Identifier Code (BIC)

currency_code
required
string
Enum: "USD" "EUR" "GBP" "CAD" "PHP"

The currency code associated to this bank account

description
required
string

Description

holder_name
required
string

Bank account holder name

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": "USD",
  • "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": "USD",
  • "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 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": "USD",
  • "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 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

bic
string

Bank Identifier Code (BIC)

currency_code
string
Enum: "USD" "EUR" "GBP" "CAD" "PHP"

The currency code associated to this bank account

description
string

Description

holder_name
string

Bank account holder name

Responses

Request samples

Content type
application/json
{
  • "bank_account_number": "GB29 NWBK 6016 1331 9268 19",
  • "bic": "ABNANL2A",
  • "currency_code": "USD",
  • "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": "USD",
  • "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

_search
string

Search checkout; id, description or name

_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
[
  • {
    • "background_color": "string",
    • "background_image_url": "string",
    • "button_color": "#309cd5",
    • "button_text_color": "#ffffff",
    • "created_at": "2019-08-24T14:15:22Z",
    • "default_checkout": true,
    • "default_language": "de",
    • "description": "Checkout description",
    • "header_color": "#053c69",
    • "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"
    }
]

Create new checkout

Request Body schema: application/json

Create new checkout

background_color
string

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

background_image_url
string

Page background image url (https)

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

default_checkout
boolean

Default checkout design

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

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

description
string

Short description

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

logo_url
string

Logo url (https)

name
required
string

Checkout name

number_format
string
Enum: "en_US" "nl_NL"

Number format locale

organisation
required
string

Reference to the organisation this checkout belongs to

payment_product_order
string

Comma separated list of payment products

show_language_switch
boolean

Show language switch in header

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_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",
  • "default_checkout": true,
  • "default_language": "de",
  • "description": "Checkout description",
  • "header_color": "#053c69",
  • "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 checkout count

Responses

Response samples

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

Get 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",
  • "default_checkout": true,
  • "default_language": "de",
  • "description": "Checkout description",
  • "header_color": "#053c69",
  • "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

background_color
string

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

background_image_url
string

Page background image url (https)

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

default_checkout
boolean

Default checkout design

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

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

description
string

Short description

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

logo_url
string

Logo url (https)

name
string

Checkout name

number_format
string
Enum: "en_US" "nl_NL"

Number format locale

payment_product_order
string

Comma separated list of payment products

show_language_switch
boolean

Show language switch in header

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_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",
  • "default_checkout": true,
  • "default_language": "de",
  • "description": "Checkout description",
  • "header_color": "#053c69",
  • "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
[
  • {
    • "id": "5f3b358a-a32f-4c96-8b82-ee2ab3ae008f",
    • "name": "Middleware name",
    • "provider": "endeavour",
    • "type": "fraud"
    }
]

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

_search
string

Search merchant

_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
[
  • {
    • "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
    }
]

Create organisation

Request Body schema: application/json

Create new organisation

country_code
required
string

Country code

email
string

The organisation's email address

extended_address
string

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

legal
string

The organisation's legal structure

locality
string

The organisation's locality / city

name
required
string

The name of the organisation

parent
string

Reference to the parent this organisation belongs to

phone
string

The organisation's telephone number

postal_code
string

The organisation's postal code

provider_id
string

External provider ID

region
string

The organisation's country region

registration_number
string or null

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

street
string

The organisation street address

street_number
integer or null

The organisation street number

tax_number
string or null

The organisation's tax number

welcome
string

Reference to the welcome

whitelist_enabled
boolean

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

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

country_code
string

Country code

email
string

The organisation's email address

extended_address
string

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

legal
string

The organisation's legal structure

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

provider_id
string

External provider ID

region
string

The organisation's country region

registration_number
string or null

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

street
string

The organisation street address

street_number
integer or null

The organisation street number

tax_number
string or null

The organisation's tax number

welcome
string

Reference to the welcome

whitelist_enabled
boolean

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

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 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
[
  • {
    • "children": [
      • { }
      ]
    • "id": "fab04e42-0901-4e33-839d-4a326d037497",
    • "name": "Example name",
    • "parent": "8db3257c-2052-4b79-990b-86a5a38835ba"
    }
]

Organisation Contact

Organisation Contact

List organisation contacts

path Parameters
OrganisationId
required
string

The id of the organisation

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

organisationId
string

Skips a number of results

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"
    }
]

Create organisation contact

path Parameters
OrganisationId
required
string

The id of the organisation to retrieve

Request Body schema: application/json

Create new organisation

country_nationality
string or null

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

country_of_birth
string or null

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

country_residence
string or null

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

date_of_birth
string or null

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

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

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
ContactId
required
string

The id of the contact to retrieve

OrganisationId
required
string

The id of the organisation 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
ContactId
required
string

The id of the contact to delete

OrganisationId
required
string

The id of the organisation to delete

Responses

Response samples

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

Update organisation contact

path Parameters
ContactId
required
string

The id of the contact to update

OrganisationId
required
string

The id of the organisation to update

Request Body schema: application/json

Update organisation contact

country_nationality
string or null

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

country_of_birth
string or null

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

country_residence
string or null

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

date_of_birth
string or null

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

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

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
[
  • {
    • "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"
    }
]

Create 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

_search
string

Search based on id, name or description

_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
[
  • {
    • "currency_code": "USD",
    • "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": {
      • "card": "2fbca8b5-87c8-41bd-8c73-09953ad3ed87",
      • "dummy": "b4311837-8be6-48c7-ac44-fe113807d161"
      },
    • "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"
    }
]

Create payment profile

Request Body schema: application/json

PaymentProfile

currency_code
required
string
Enum: "USD" "EUR" "GBP" "CAD" "PHP"

The currency code associated to this payment profile

description
string

A description of the payment profile

disabled
boolean

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

display_name
required
string

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

middleware
string

A list of middleware ids attached to this payment profile

name
required
string

The name of the payment profile

organisation
required
string

Reference to the organisation this payment profile belongs to

processors
string

A list of processor ids attached to this payment profile

routing
object

Routing per payment product

webhook_chargeback_update
string

A webhook url that is called when a chargeback 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

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

website
string

Website

Responses

Request samples

Content type
application/json
{
  • "currency_code": "USD",
  • "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": {
    • "card": "2fbca8b5-87c8-41bd-8c73-09953ad3ed87",
    • "dummy": "b4311837-8be6-48c7-ac44-fe113807d161"
    },
  • "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
[
  • {
    • "currency_code": "USD",
    • "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": {
      • "card": "2fbca8b5-87c8-41bd-8c73-09953ad3ed87",
      • "dummy": "b4311837-8be6-48c7-ac44-fe113807d161"
      },
    • "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"
    }
]

Get payment profile count

Responses

Response samples

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

Get payment profile

path Parameters
PaymentProfileId
required
string

The id of the payment profile to retrieve

Responses

Response samples

Content type
application/json
{
  • "currency_code": "USD",
  • "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": {
    • "card": "2fbca8b5-87c8-41bd-8c73-09953ad3ed87",
    • "dummy": "b4311837-8be6-48c7-ac44-fe113807d161"
    },
  • "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

disabled
boolean

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

display_name
string

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

middleware
string

A list of middleware ids attached to this payment profile

name
string

The name of the payment profile

processors
string

A list of processor ids attached to this payment profile

routing
object

Routing per payment product

webhook_chargeback_update
string

A webhook url that is called when a chargeback 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

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

website
string

Website

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": {
    • "card": "2fbca8b5-87c8-41bd-8c73-09953ad3ed87",
    • "dummy": "b4311837-8be6-48c7-ac44-fe113807d161"
    }
  • "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
[
  • {
    • "currency_code": "USD",
    • "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": {
      • "card": "2fbca8b5-87c8-41bd-8c73-09953ad3ed87",
      • "dummy": "b4311837-8be6-48c7-ac44-fe113807d161"
      },
    • "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"
    }
]

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
[
  • {
    • "created_at": "2019-08-24T14:15:22Z",
    • "details": {
      • "else": "457a8d16-370a-494f-a6ec-0f471378fa5e",
      • "if": [
        • {
          • "name": "amount",
          • "operator": ">",
          • "value": "50000"
          }
        ],
      • "then": {
        • "if": [
          • {
            }
          ],
        • "then": "a0cd27a0-c376-4b6f-826f-e94c8ee3dca3",
        • "else": "6a6fface-f2c0-4739-a88c-47365e32d0fe"
        },
      },
    • "id": "5c86557b-5b78-457d-b2fd-45f082603fea",
    • "name": "Routing",
    • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
    • "payment_product": "dummy",
    • "processors": "c4e6b136-c1fb-41e6-9328-09e01dbc6df5,9ea84d17-1f82-425e-bfac-3e6e9787162c",
    • "updated_at": "2019-08-24T14:15:22Z"
    }
]

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
[
  • {
    • "gateway": "adyen",
    • "id": "c4e6b136-c1fb-41e6-9328-09e01dbc6df5",
    • "name": "string",
    • "payment_product": "card"
    }
]

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
[
  • {
    • "created_at": "2019-08-24T14:15:22Z",
    • "description": "Credentials share description",
    • "details": [
      • {
        • "description": "Secret key used for authorization in processor API",
        • "name": "Secret key",
        • "value": "dmFsdWU="
        }
      ]
    • "name": "Credentials share name",
    • "updated_at": "2019-08-24T14:15:22Z",
    • "user": "b7985317-3e7d-4dbe-a5b7-3779dabf942b"
    }
]

Get shares 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": [
    • {
      • "description": "Secret key used for authorization in processor API",
      • "name": "Secret key",
      • "value": "dmFsdWU="
      }
    ]
  • "name": "Credentials share name",
  • "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": [
    • {
      • "description": "Secret key used for authorization in processor API",
      • "name": "Secret key",
      • "value": "dmFsdWU="
      }
    ]
}

Response samples

Content type
application/json
[
  • {
    • "created_at": "2019-08-24T14:15:22Z",
    • "description": "Credentials share description",
    • "details": [
      • {
        • "description": "Secret key used for authorization in processor API",
        • "name": "Secret key",
        • "value": "dmFsdWU="
        }
      ]
    • "name": "Credentials share name",
    • "updated_at": "2019-08-24T14:15:22Z",
    • "user": "b7985317-3e7d-4dbe-a5b7-3779dabf942b"
    }
]

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
[
  • {
    • "category": "TRANSACTION",
    • "description": "All transaction roles",
    • "name": "TRANSACTION_ALL",
    • "psp": true
    }
]

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
[
  • {
    • "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"
    }
]

Create new tag

Request Body schema: application/json

Create new tag

color
required
string

Tag color

organisation
required
string

Reference to the organisation this tag belongs to

text
required
string

Tag description text

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

color
string

Tag color

text
string

Tag description text

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
[
  • {
    • "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"
    }
]

Create new user

Request Body schema: application/json

User

date_format
string
Enum: "en_US" "nl_NL"

Date format locale

email
required
string

The user's email address

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

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

mfa
boolean

If set to true, multi factor authentication is enabled

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

Multi factor authentication type

name
required
string

The name of the user

number_format
string
Enum: "en_US" "nl_NL"

Number format locale

organisation
required
string

Reference to the organisation this user belongs to

phone_number
string or null

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

welcome
string

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

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
[
  • {
    • "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"
    }
]

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

date_format
string
Enum: "en_US" "nl_NL"

Date format locale

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

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

mfa
boolean

If set to true, multi factor authentication is enabled

mfa_code
string

Optional MFA code (for Google MFA)

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

Multi factor authentication type

name
string

The name of the user

number_format
string
Enum: "en_US" "nl_NL"

Number format locale

phone_number
string or null

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

welcome
string

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

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": [
    • "string"
    ]
}

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"
    }
]

Request new email

Responses

Request 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
[
  • {
    • "active": true,
    • "apikey": "****NY3h",
    • "created_at": "2019-08-24T14:15:22Z",
    • "id": "b1330396-92c7-4d1c-890a-b111373a13a8",
    • "ip_white_list": [
      • "192.168.0.1"
      ],
    • "last_used_at": "2019-08-24",
    • "name": "Apikey",
    • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
    • "roles": [
      • "USER_ALL"
      ],
    }
]

Create new apikey

Request Body schema: application/json

Apikey

ip_white_list
Array of strings

Array of allowed ip addresses

name
required
string

Apikey name

organisation
required
string

Reference to the organisation this api key belongs to

Responses

Request samples

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

Response samples

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

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": [
    • "192.168.0.1"
    ],
  • "last_used_at": "2019-08-24",
  • "name": "Apikey",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "roles": [
    • "USER_ALL"
    ],
}

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

ip_white_list
Array of strings

Array of allowed ip addresses

name
string

Apikey name

Responses

Request samples

Content type
application/json
{
  • "ip_white_list": [
    • "192.168.0.1"
    ]
  • "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": [
    • "192.168.0.1"
    ],
  • "last_used_at": "2019-08-24",
  • "name": "Apikey",
  • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
  • "roles": [
    • "USER_ALL"
    ],
}

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": [
    • "string"
    ]
}

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": [
      • "192.168.0.1"
      ],
    • "last_used_at": "2019-08-24",
    • "name": "Apikey",
    • "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
    • "roles": [
      • "USER_ALL"
      ],
    }
]

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

fingerprint
string

Browser fingerprint

mfa_cookie
string

Remember MFA cookie

password
required
string

The user's password

username
string

The user's email address

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": [
    • "USER_ALL"
    ],
  • "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

code
required
string

MFA code supplied by the user

fingerprint
string

Browser fingerprint

remember
boolean

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

token
string

MFA token received during login step

username
required
string

The user's email address

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": [
    • "USER_ALL"
    ],
  • "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

mfa_code
string

Optional MFA code (for Google MFA)

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

Type of MFA

token
required
string

MFA set-up one time token received during login step

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": [
    • "USER_ALL"
    ],
  • "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

password
required
string

The new user password

token
required
string

The password update token

Responses

Request samples

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

Update email

Request Body schema: application/json

Update Email

email
required
string

The new user email address

token
required
string

The email update token

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

_search
string

Search mcc

_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
[
  • {
    • "description": "Merchants classified with this MCC are licensed practitioners of veterinary medicine.",
    • "includes": "Animal Doctors",
    • "number": "0742",
    • "similar": "5995",
    • "title": "Veterinary Services"
    }
]

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"
}