Download OpenAPI specification:Download
Magnius payments API
The API URLs:
| Environment | URL |
|---|---|
| Payground | https://payground-api.magnius.com/v1/ |
| Production | https://api.magnius.com/v1/ |
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.
To make our platform support all currencies and to prevent rounding errors, amounts are stored as natural numbers, paired with an exponent. This exponent defines at which position the decimal point/comma is placed, counting from the right.
Say we have and amount of 12.34 EUR. It will be stored and presented as 1234 with an exponential of 2. Some currencies, like the Japanese Yen, have no exponent. A transaction amount of ¥1,000 JPY is stored as 1000.
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
For list endpoints, you can specify the sort order using the query parameters _sort
and _sort-
.
Sort order ASC
Query parameter: _sort=
/v1/transaction?_sort=created_at
Sort order DESC
Query parameter: _sort-=
/v1/transaction?_sort-=created_at
The API supports population. This means that fields that reference a certain object will be automatically resolved. Population can be achieved by providing the relevant fields the query parameter _populate.
As an example, let's take a payment profile object:
{
"id": "7c23a50d-8699-431c-a82b-a78718d2b6f6",
"organisation": "c96b2d81-51db-4a8a-a0e9-19918c168a3c",
"name": "My profile",
"currency_code": "EUR",
...
}
To know the name of the organisation that this payment profile belongs to, we would have to make an api-call requesting the organisation with ID c96b2d81-51db-4a8a-a0e9-19918c168a3c.
Population allows us to let the server do this for us. If we call /paymentprofile/7c23a50d-8699-431c-a82b-a78718d2b6f6?_populate=organisation, we get the following results:
{
"id": "7c23a50d-8699-431c-a82b-a78718d2b6f6",
"organisation": {
"id": "c96b2d81-51db-4a8a-a0e9-19918c168a3c",
"name": "Example Company",
"parent_id": "cc5a8e9b-a39a-4e53-b404-668a5426cca2"
}
"name": "My profile",
"currency_code": "EUR",
...
}
Like with filters it's also possible to populate multiple objects. As an example:
/v1/paymentprofile?_populate[]=organisation&_populate[]=bank_account
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).
Cards will be stored automatically after transactions. It is also possible to use a card add link to store a card without a transaction
| _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 |
[- {
- "active": true,
- "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",
- "status": "CREATED",
- "updated_at": "2019-08-24T14:15:22Z",
- "valid_until": "2019-08-24T14:15:22Z",
}
]
Card add links are used in scenarios where you want to ask the customer to enter their card details for later use
Create new card add link
| organisation required | string Reference to the organization this link belongs to |
| customer | string Reference to the customer this card add link belongs to |
| checkout | string or null Reference to the checkout this card add link belongs to |
| payment_profile | string or null If the card object should be stored with the processor too, this field is required |
| dynamic_descriptor | string A short reference / descriptor that will show up on the card add link page |
| merchant_reference | string or null A reference specified by the merchant to identify the transaction |
| redirect_url | string The URL where the customer will be redirected once the card add completes, regardless of whether it succeeds or fails |
| origin | string or null Origin (necessary when card add link will be in an iFrame) The fully qualified Origin of your application |
| redirect_parent_function | string or null Redirect parent window function name(optional when card add link will be in an iFrame). Must be alphanumeric. This function will be called on the iFrame result page |
| webhook_card_link_update | string A webhook url that is called when a card add link is updated |
| valid_until | string <date-time> Card add link is valid until. Defaults to 24 hours |
{- "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",
- "valid_until": "2019-08-24T14:15:22Z",
}
{- "active": true,
- "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",
- "status": "CREATED",
- "updated_at": "2019-08-24T14:15:22Z",
- "valid_until": "2019-08-24T14:15:22Z",
}
| CardAddId required | string The id of the card add link to retrieve |
{- "active": true,
- "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",
- "status": "CREATED",
- "updated_at": "2019-08-24T14:15:22Z",
- "valid_until": "2019-08-24T14:15:22Z",
}
{- "bin": "123456",
- "brand": "Visa",
- "created_at": "2019-08-24T14:15:22Z",
- "currency_code": "CUSTOMIZATION_CURRENCY_DEFAULT",
- "cvv_verified": true,
- "data": { },
- "expiry_month": "12",
- "expiry_year": "2030",
- "holder_name": "J. Doe",
- "id": "a61335cf-8c8b-4a75-a259-fd4dac62fb37",
- "issuer_country": "IT",
- "issuer_name": "POSTE ITALIANE",
- "last_four": "4321",
- "last_used": "2019-08-24T14:15:22Z",
- "prepaid": true,
- "saved": true,
- "type": "credit",
- "variant": "Standard"
}
| CardId required | string The id of the card to update |
Update card
| expiry_month | string Card expiry month. A number from 01 to 12 |
| expiry_year | string Card expiry year |
| holder_name | string The name of the cardholder |
| saved | boolean Indicates whether the card is saved by the customer for future use or not |
{- "expiry_month": "12",
- "expiry_year": "2030",
- "holder_name": "J. Doe",
- "saved": true
}
{- "bin": "123456",
- "brand": "Visa",
- "created_at": "2019-08-24T14:15:22Z",
- "currency_code": "CUSTOMIZATION_CURRENCY_DEFAULT",
- "cvv_verified": true,
- "data": { },
- "expiry_month": "12",
- "expiry_year": "2030",
- "holder_name": "J. Doe",
- "id": "a61335cf-8c8b-4a75-a259-fd4dac62fb37",
- "issuer_country": "IT",
- "issuer_name": "POSTE ITALIANE",
- "last_four": "4321",
- "last_used": "2019-08-24T14:15:22Z",
- "prepaid": true,
- "saved": true,
- "type": "credit",
- "variant": "Standard"
}
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
| _limit | integer [ 1 .. 2000 ] Default: 100 The maximum amount of results |
| _populate | string Populates the full details of a related resource. It's possible to populate multiple resources. Separate the resources by space |
| _skip | integer Skips a number of results |
| _sort | string Sorts the results by ascending order according to the provided field. If the field is prefixed with '-'' (e.g. -created_at), the order is descending |
| _search | string Search chargeback |
[- {
- "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"
}
]
| ChargebackId required | string The id of the chargeback to retrieve |
{- "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"
}
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
| _limit | integer [ 1 .. 2000 ] Default: 100 The maximum amount of results |
| _populate | string Populates the full details of a related resource. It's possible to populate multiple resources. Separate the resources by space |
| _skip | integer Skips a number of results |
| _sort | string Sorts the results by ascending order according to the provided field. If the field is prefixed with '-'' (e.g. -created_at), the order is descending |
| _search | string Search customer based on id, email or name |
[- {
- "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 new customer
| merchant_reference | string or null A reference specified by the merchant to identify the customer |
| title | string or null The title / honorific prefix of a person, amongst {mr, ms} |
| initials | string or null Initials of a person |
| first_name | string The first name(s) of a person, 100 characters or less |
| last_name | string The last name(s) of a person, 100 characters or less |
| gender | string or null Enum: "male" "female" "" The gender of a customer amongst {male, female} |
| date_of_birth | string or null The date of birth of a person, 10 characters, ISO-8601 (YYYY-MM-DD) |
| email_address required | string The email address of a person or an organisation, 100 characters or less |
| phone_number | string or null The telephone or mobile number of a person / company, ITU/E.123 format with international prefix (+PPNNNNNNNNN...) |
| fax_number | string or null The fax number, ITU/E.123 format with international prefix (+PPNNNNNNNNN...) |
| street_address | string or null A complete street name of a person's or company's address, 250 characters or less |
| house_number | string or null Address house number |
| house_number_suffix | string or null Address house extension |
| postal_code | string or null A postal code for the address, if any |
| city | string or null A city name for the address, 100 characters or less |
| region | string or null A region / state / province for the address |
| country_code | string or null A 2-letter ISO3166 alpha-2. country code for the address |
| social_security_number | string or null The social security number of the customer |
| status | string Enum: "unverified" "auto-unverified" "auto-verified" "verified" Customer verification status. Defaults to 'unverified' |
| status_reason | string Customer verification status reason |
| segment | string or null Enum: "Champion" "Loyal" "Potential Loyalist" "Recent" "Promising" "Needing Attention" "About To Sleep" "Can’t Lose Them" "Hibernating" "Lost" "" Customer RFM (customer value) segment |
| is_sole_proprietor | boolean or null Company information - Is sole proprietor |
| corporation_name | string or null Company information - Name |
| coc_number | string or null Company information - Chamber of Commerce number |
| organisation required | string Reference to the organisation this customer belongs to |
| attach_token | Array of strings Attach imported token(s) to new customer. This will store cards that the customer can use as saved cards |
{- "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"
}
{- "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"
}
{- "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"
}
| CustomerId required | string The id of the customer to update |
Customer
| merchant_reference | string or null A reference specified by the merchant to identify the customer |
| title | string or null The title / honorific prefix of a person, amongst {mr, ms} |
| initials | string or null Initials of a person |
| first_name | string The first name(s) of a person, 100 characters or less |
| last_name | string The last name(s) of a person, 100 characters or less |
| gender | string or null Enum: "male" "female" "" The gender of a customer amongst {male, female} |
| date_of_birth | string or null The date of birth of a person, 10 characters, ISO-8601 (YYYY-MM-DD) |
| email_address | string The email address of a person or an organisation, 100 characters or less |
| phone_number | string or null The telephone or mobile number of a person / company, ITU/E.123 format with international prefix (+PPNNNNNNNNN...) |
| fax_number | string or null The fax number, ITU/E.123 format with international prefix (+PPNNNNNNNNN...) |
| street_address | string or null A complete street name of a person's or company's address, 250 characters or less |
| house_number | string or null Address house number |
| house_number_suffix | string or null Address house extension |
| postal_code | string or null A postal code for the address, if any |
| city | string or null A city name for the address, 100 characters or less |
| region | string or null A region / state / province for the address |
| country_code | string or null A 2-letter ISO3166 alpha-2. country code for the address |
| social_security_number | string or null The social security number of the customer |
| status | string Enum: "unverified" "auto-unverified" "auto-verified" "verified" Customer verification status. Defaults to 'unverified' |
| status_reason | string Customer verification status reason |
| segment | string or null Enum: "Champion" "Loyal" "Potential Loyalist" "Recent" "Promising" "Needing Attention" "About To Sleep" "Can’t Lose Them" "Hibernating" "Lost" "" Customer RFM (customer value) segment |
| is_sole_proprietor | boolean or null Company information - Is sole proprietor |
| corporation_name | string or null Company information - Name |
| coc_number | string or null Company information - Chamber of Commerce number |
{- "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"
}
{- "city": "Amsterdam",
- "coc_number": "3333444555",
- "corporation_name": "Example Enterprice",
- "country_code": "NL",
- "created_at": "2019-08-24T14:15:22Z",
- "date_of_birth": "1980-01-01",
- "email_address": "j.doe@example.com",
- "fax_number": "+31123456788",
- "first_name": "John",
- "gender": "male",
- "house_number": "123",
- "house_number_suffix": "A",
- "id": "cbbfa6ec-fb44-4da4-94c4-d81e92fd43e6",
- "initials": "J",
- "is_sole_proprietor": true,
- "last_name": "Doe",
- "last_status_update": "2019-08-24T14:15:22Z",
- "merchant_reference": "Customer 12345678",
- "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
- "phone_number": "+31123456789",
- "postal_code": "1234AA",
- "region": "NH",
- "segment": "Champion",
- "social_security_number": "string",
- "status": "unverified",
- "status_reason": "string",
- "street_address": "Example street",
- "title": "mr"
}
Bulk create customers using JSONL format. Each line should be a valid JSON object matching the CustomerCreate schema.
Example Request:
{"merchant_reference": "ref_1", "first_name": "John", "last_name": "Doe", "email_address": "john.doe@example.com", "organisation": "org_1"}
{"merchant_reference": "ref_2", "first_name": "Jane", "last_name": "Smith", "email_address": "invalid", "organisation": "org_1"}
Bulk response:
| merchant_reference | string or null | Reference specified by the merchant to identify the customer |
| id | string | The ID of the customer object |
| status | integer | 200 for success, 400 for validation error |
| errors | object or null | Validation errors, key-value pairs |
One customer JSON per line. Maximum 1000 customers.
{"merchant_reference": "ref_1", "first_name": "John", "last_name": "Doe", "email_address": "john.doe@example.com", "organisation": "org_1"}
{"merchant_reference": "ref_2", "first_name": "Jane", "last_name": "Smith", "email_address": "invalid", "organisation": "org_1"}
{"merchant_reference": "ref_1", "id": "a61335cf-8c8b-4a75-a259-fd4dac62fb37", "status": 200, "errors": null}
{"merchant_reference": "ref_2", "id": null, "status": 400, "errors": {"email_address": "This value is not a valid email address."}}
| CustomerId required | string The id of the customer to attach the token(s) to |
Attach token(s) to customer
| attach_token | Array of strings Attach imported token(s) to new customer. This will store cards that the customer can use as saved cards |
{- "attach_token": [
- "cd3af7d2-8ee1-439a-b752-faba1295db76"
]
}
{- "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"
}
| CustomerId required | string The id of the customer to retrieve |
[- {
- "created_at": "2019-08-24T14:15:22Z",
- "customer": "cbbfa6ec-fb44-4da4-94c4-d81e92fd43e6",
- "id": "string",
- "status": "unverified",
- "status_reason": "string"
}
]
| CustomerId required | string The id of the customer to erase |
| _with_transactions | boolean Erase customer transactions as well |
{- "message": "Erasure request for object [object Id] is completed."
}
[- {
- "bin": "123456",
- "brand": "Visa",
- "created_at": "2019-08-24T14:15:22Z",
- "currency_code": "CUSTOMIZATION_CURRENCY_DEFAULT",
- "cvv_verified": true,
- "data": { },
- "expiry_month": "12",
- "expiry_year": "2030",
- "holder_name": "J. Doe",
- "id": "a61335cf-8c8b-4a75-a259-fd4dac62fb37",
- "issuer_country": "IT",
- "issuer_name": "POSTE ITALIANE",
- "last_four": "4321",
- "last_used": "2019-08-24T14:15:22Z",
- "prepaid": true,
- "saved": true,
- "type": "credit",
- "variant": "Standard"
}
]
A payment link can be shared with your customers. For example it can be communicated via email, chat app or unpaid invoice
| _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 |
[- {
- "active": true,
- "amount": 1234,
- "created_at": "2019-08-24T14:15:22Z",
- "customer": "cbbfa6ec-fb44-4da4-94c4-d81e92fd43e6",
- "details": {
- "change_amount": true,
- "change_amount_max": 10000,
- "change_amount_min": 100,
- "checkout_id": "3419630a-ff67-4693-a1b9-6891cc7776e2"
}, - "dynamic_descriptor": "Webshop X",
- "id": "cd9979a1-d857-43f6-9821-87e296f7f9c8",
- "merchant_reference": "Order 12345678",
- "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
- "payment_product": "alipay",
- "payment_profile": "7c23a50d-8699-431c-a82b-a78718d2b6f6",
- "status": "CREATED",
- "transaction": "e0377c06-a9e0-43a8-9885-8799a8338b5a",
- "updated_at": "2019-08-24T14:15:22Z",
- "valid_until": "2019-08-24T14:15:22Z",
}
]
Create new payment link
| organisation | string Reference to the organization this link belongs to |
| payment_profile required | string Reference to the payment profile this link belongs to |
| amount required | integer Amount is charged without a decimal place e.g. $1.5 = 150. Currencies can have different decimals/exponentials, see Currencies Section for more details |
| dynamic_descriptor | string A short reference / descriptor that will show up on the customers bank statement |
| merchant_reference required | string A reference specified by the merchant to identify the transaction |
| customer | string Reference to the customer this transaction belongs to |
| payment_product | string Enum: "alipay" "applepay" "bacs" "bcmc" "belfius" "bitpay" "bpwallet" "card" "cardexternal" "creditclick" "directdebit" "directdebitplus" "dummy" "efecty" "eps" "etransfer" "ezeewallet" "finshark" "gcash" "googlepay" "ideal" "imps" "instaxchange" "interac" "klarna" "multibanco" "mybank" "opennode" "oxxo" "p24" "paybybank" "paypal" "paysafecard" "paytm" "payu" "pix" "pos" "pse" "sepa" "skrill" "sofort" "triplea" "trustly" "trustpay" "unionpay" "upi" "volt" "wechatpay" Reference to a specific payment product. This will bypass the hosted payment page |
| redirect_url | string The URL where the customer will be redirected once the transaction completes, regardless of whether it succeeds or fails |
| webhook_transaction_update | string A webhook url that is called when a transaction is updated |
| valid_until | string <date-time> Payment link is valid until. Defaults to 24 hours |
object (PaymentLinkDetailCreate) |
{- "amount": 1234,
- "customer": "cbbfa6ec-fb44-4da4-94c4-d81e92fd43e6",
- "details": {
- "change_amount": true,
- "change_amount_max": 10000,
- "change_amount_min": 100,
- "checkout_id": "3419630a-ff67-4693-a1b9-6891cc7776e2"
} - "dynamic_descriptor": "Webshop X",
- "merchant_reference": "Order 12345678",
- "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
- "payment_product": "alipay",
- "payment_profile": "7c23a50d-8699-431c-a82b-a78718d2b6f6",
- "valid_until": "2019-08-24T14:15:22Z",
}
{- "active": true,
- "amount": 1234,
- "created_at": "2019-08-24T14:15:22Z",
- "customer": "cbbfa6ec-fb44-4da4-94c4-d81e92fd43e6",
- "details": {
- "change_amount": true,
- "change_amount_max": 10000,
- "change_amount_min": 100,
- "checkout_id": "3419630a-ff67-4693-a1b9-6891cc7776e2"
}, - "dynamic_descriptor": "Webshop X",
- "id": "cd9979a1-d857-43f6-9821-87e296f7f9c8",
- "merchant_reference": "Order 12345678",
- "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
- "payment_product": "alipay",
- "payment_profile": "7c23a50d-8699-431c-a82b-a78718d2b6f6",
- "status": "CREATED",
- "transaction": "e0377c06-a9e0-43a8-9885-8799a8338b5a",
- "updated_at": "2019-08-24T14:15:22Z",
- "valid_until": "2019-08-24T14:15:22Z",
}
| PaymentLinkId required | string The id of the payment link to retrieve |
{- "active": true,
- "amount": 1234,
- "created_at": "2019-08-24T14:15:22Z",
- "customer": "cbbfa6ec-fb44-4da4-94c4-d81e92fd43e6",
- "details": {
- "change_amount": true,
- "change_amount_max": 10000,
- "change_amount_min": 100,
- "checkout_id": "3419630a-ff67-4693-a1b9-6891cc7776e2"
}, - "dynamic_descriptor": "Webshop X",
- "id": "cd9979a1-d857-43f6-9821-87e296f7f9c8",
- "merchant_reference": "Order 12345678",
- "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
- "payment_product": "alipay",
- "payment_profile": "7c23a50d-8699-431c-a82b-a78718d2b6f6",
- "status": "CREATED",
- "transaction": "e0377c06-a9e0-43a8-9885-8799a8338b5a",
- "updated_at": "2019-08-24T14:15:22Z",
- "valid_until": "2019-08-24T14:15:22Z",
}
| _limit | integer [ 1 .. 2000 ] Default: 100 The maximum amount of results |
| _populate | string Populates the full details of a related resource. It's possible to populate multiple resources. Separate the resources by space |
| _skip | integer Skips a number of results |
| _sort | string Sorts the results by ascending order according to the provided field. If the field is prefixed with '-'' (e.g. -created_at), the order is descending |
| _search | string Search refund |
[- {
- "amount": 1234,
- "created_at": "2019-08-24T14:15:22Z",
- "id": "5dd46e6b-fd34-4143-9fec-131abb3fd78e",
- "last_status_update": "2019-08-24T14:15:22Z",
- "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
- "payment_profile": "7c23a50d-8699-431c-a82b-a78718d2b6f6",
- "processor": "c4e6b136-c1fb-41e6-9328-09e01dbc6df5",
- "processor_id_external": "63b2ecc5-d9cd-433d-bbdb-15e3aad12bba",
- "reason": "Product does not match description",
- "status": "PENDING",
- "transaction": "e0377c06-a9e0-43a8-9885-8799a8338b5a",
}
]
| RefundId required | string The id of the refund to retrieve |
| _search | string Search refund |
{- "amount": 1234,
- "created_at": "2019-08-24T14:15:22Z",
- "id": "5dd46e6b-fd34-4143-9fec-131abb3fd78e",
- "last_status_update": "2019-08-24T14:15:22Z",
- "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
- "payment_profile": "7c23a50d-8699-431c-a82b-a78718d2b6f6",
- "processor": "c4e6b136-c1fb-41e6-9328-09e01dbc6df5",
- "processor_id_external": "63b2ecc5-d9cd-433d-bbdb-15e3aad12bba",
- "reason": "Product does not match description",
- "status": "PENDING",
- "transaction": "e0377c06-a9e0-43a8-9885-8799a8338b5a",
}
The transaction flow consists of three main steps: initialization, authorization, and validation. For more information, see our Checkout integration guide
| _limit | integer [ 1 .. 2000 ] Default: 100 The maximum amount of results |
| _populate | string Populates the full details of a related resource. It's possible to populate multiple resources. Separate the resources by space |
| _skip | integer Skips a number of results |
| _sort | string Sorts the results by ascending order according to the provided field. If the field is prefixed with '-'' (e.g. -created_at), the order is descending |
| _search | string Search transaction based on id or merchant reference |
| _search_by | string Enum: "id" "merchant_reference" "customer" Define the field you want to search on |
[- {
- "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": {
- "apple_pay": {
- "bin": "123456",
- "brand": "Visa",
- "issuer_country": "IT",
- "issuer_name": "POSTE ITALIANE",
- "last_four": "4321",
- "prepaid": true,
- "type": "credit",
- "variant": "Standard"
}, - "avs": "Y",
- "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"
}, - "payer_info": {
- "id": "6e6cf800-f744-4263-bc81-2e5b83365318",
- "name": "John Doe",
- "payer_address": "123 Main Street, Apt 4B, Anytown, NY 10001, USA",
- "payer_email": "j.doe@example.com",
- "payer_phone": "+31123456789"
}, - "sender": {
- "account_number": "string",
- "account_holder": "string",
- "bank_code": "string",
- "bank_name": "string",
- "bic": "string",
- "country_code": "string",
- "iban": "string"
}, - "threed_authenticated": true,
- "threed_cavv": "AJkCCReZIncEQFcQBZkiAAAAAAA=",
- "threed_eci": "05",
- "threed_enrolled": true,
- "threed_id": "28ffd090-b54e-4af6-9682-0de0fb443867",
- "threed_xid": "f1dc1c44-5f86-4ff0-9415-68fb6cc6bf1c"
}, - "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": "alipay",
- "payment_product_issuer": "mastercard",
- "payment_product_type": "mastercard",
- "payment_profile": "7c23a50d-8699-431c-a82b-a78718d2b6f6",
- "platform": "Windows",
- "processor": "c4e6b136-c1fb-41e6-9328-09e01dbc6df5",
- "processor_id_external": "e3332d06-0e19-4783-86d8-e861b414a7e7",
- "processor_id_external_second": "1a55747a-1e16-4ce7-86c7-4ab2cf060af2",
- "recurring_type": "first",
- "reserve_release_date": "2019-08-24T14:15:22Z",
- "settlement": "a42b0f5b-1d9a-4641-9dab-ddbaf308a1a6",
- "status": "SETTLEMENT_COMPLETED",
- "status_reason": "Cancelled by customer",
- "subscription": "d22f96b7-638e-4132-ba4e-1119571f4a76",
- "subscription_cycle": 1,
- "tagged": true,
- "tags": [
- "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",
}
]
| TransactionId required | string The id of the transaction to retrieve |
{- "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": {
- "apple_pay": {
- "bin": "123456",
- "brand": "Visa",
- "issuer_country": "IT",
- "issuer_name": "POSTE ITALIANE",
- "last_four": "4321",
- "prepaid": true,
- "type": "credit",
- "variant": "Standard"
}, - "avs": "Y",
- "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"
}, - "payer_info": {
- "id": "6e6cf800-f744-4263-bc81-2e5b83365318",
- "name": "John Doe",
- "payer_address": "123 Main Street, Apt 4B, Anytown, NY 10001, USA",
- "payer_email": "j.doe@example.com",
- "payer_phone": "+31123456789"
}, - "sender": {
- "account_number": "string",
- "account_holder": "string",
- "bank_code": "string",
- "bank_name": "string",
- "bic": "string",
- "country_code": "string",
- "iban": "string"
}, - "threed_authenticated": true,
- "threed_cavv": "AJkCCReZIncEQFcQBZkiAAAAAAA=",
- "threed_eci": "05",
- "threed_enrolled": true,
- "threed_id": "28ffd090-b54e-4af6-9682-0de0fb443867",
- "threed_xid": "f1dc1c44-5f86-4ff0-9415-68fb6cc6bf1c"
}, - "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": "alipay",
- "payment_product_issuer": "mastercard",
- "payment_product_type": "mastercard",
- "payment_profile": "7c23a50d-8699-431c-a82b-a78718d2b6f6",
- "platform": "Windows",
- "processor": "c4e6b136-c1fb-41e6-9328-09e01dbc6df5",
- "processor_id_external": "e3332d06-0e19-4783-86d8-e861b414a7e7",
- "processor_id_external_second": "1a55747a-1e16-4ce7-86c7-4ab2cf060af2",
- "recurring_type": "first",
- "reserve_release_date": "2019-08-24T14:15:22Z",
- "settlement": "a42b0f5b-1d9a-4641-9dab-ddbaf308a1a6",
- "status": "SETTLEMENT_COMPLETED",
- "status_reason": "Cancelled by customer",
- "subscription": "d22f96b7-638e-4132-ba4e-1119571f4a76",
- "subscription_cycle": 1,
- "tagged": true,
- "tags": [
- "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",
}
| TransactionId required | string The id of the transaction to retrieve |
[- {
- "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"
}
]
The Start Transaction operation is used to initiate a payment.
The details object depends on the payment product chosen. See the example items for specific detail objects.
By providing "due-date" with a future date, a scheduled transaction will be created.
| due-date | string <date> Example: 2025-01-25 If provided, a scheduled transaction will be created and executed on the specified date |
Transaction
| organisation | string Reference to the organization this transaction belongs to |
| payment_profile required | string Reference to the payment profile this transaction belongs to |
| amount required | integer Amount is charged without a decimal place e.g. $1.5 = 150. Currencies can have different decimals/exponentials, see Currencies Section for more details |
| dynamic_descriptor required | string A short reference / descriptor that will show up on the customers bank statement |
| merchant_reference required | string A reference specified by the merchant to identify the transaction |
| customer | string Reference to the customer this transaction belongs to |
| customer_ip required | string The IP address of the customer |
| country_code | string Two-letter ISO country code |
| user_agent required | string The full user agent string of the device the customer used to submit the transaction |
required | object Transaction details |
object (TransactionOrderData) Transaction - OrderData | |
| card | string The Id of the card object. Required for recurring_type=repeat |
| payment_product | string Payment product string |
| recurring_type | string Enum: "" "first" "repeat" This field is to be used only when a transaction is part of a series of recurring transactions. If it's the initial transaction, set the value to 'first', and if it's not, set it to 'repeat'. This field must not be included in transactions that will not be part of a series of repeated transactions. ('first' and 'repeat' are written in all lowercase letters). |
| webhook_transaction_update | string A webhook url that is called when a transaction is updated |
{- "amount": 1234,
- "card": "a61335cf-8c8b-4a75-a259-fd4dac62fb37",
- "country_code": "NL",
- "customer": "cbbfa6ec-fb44-4da4-94c4-d81e92fd43e6",
- "customer_ip": "123.123.123.123",
- "details": {
- "checkout_id": "3419630a-ff67-4693-a1b9-6891cc7776e2",
- "merchant_data": {
- "foo": "bar"
}
}, - "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": "alipay",
- "payment_profile": "7c23a50d-8699-431c-a82b-a78718d2b6f6",
- "recurring_type": "first",
- "user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36 OPR/68.0.3618.125",
}
{- "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": {
- "apple_pay": {
- "bin": "123456",
- "brand": "Visa",
- "issuer_country": "IT",
- "issuer_name": "POSTE ITALIANE",
- "last_four": "4321",
- "prepaid": true,
- "type": "credit",
- "variant": "Standard"
}, - "avs": "Y",
- "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"
}, - "payer_info": {
- "id": "6e6cf800-f744-4263-bc81-2e5b83365318",
- "name": "John Doe",
- "payer_address": "123 Main Street, Apt 4B, Anytown, NY 10001, USA",
- "payer_email": "j.doe@example.com",
- "payer_phone": "+31123456789"
}, - "sender": {
- "account_number": "string",
- "account_holder": "string",
- "bank_code": "string",
- "bank_name": "string",
- "bic": "string",
- "country_code": "string",
- "iban": "string"
}, - "threed_authenticated": true,
- "threed_cavv": "AJkCCReZIncEQFcQBZkiAAAAAAA=",
- "threed_eci": "05",
- "threed_enrolled": true,
- "threed_id": "28ffd090-b54e-4af6-9682-0de0fb443867",
- "threed_xid": "f1dc1c44-5f86-4ff0-9415-68fb6cc6bf1c"
}, - "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": "alipay",
- "payment_product_issuer": "mastercard",
- "payment_product_type": "mastercard",
- "payment_profile": "7c23a50d-8699-431c-a82b-a78718d2b6f6",
- "platform": "Windows",
- "processor": "c4e6b136-c1fb-41e6-9328-09e01dbc6df5",
- "processor_id_external": "e3332d06-0e19-4783-86d8-e861b414a7e7",
- "processor_id_external_second": "1a55747a-1e16-4ce7-86c7-4ab2cf060af2",
- "recurring_type": "first",
- "reserve_release_date": "2019-08-24T14:15:22Z",
- "settlement": "a42b0f5b-1d9a-4641-9dab-ddbaf308a1a6",
- "status": "SETTLEMENT_COMPLETED",
- "status_reason": "Cancelled by customer",
- "subscription": "d22f96b7-638e-4132-ba4e-1119571f4a76",
- "subscription_cycle": 1,
- "tagged": true,
- "tags": [
- "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",
}
| due-date required | string <date> Example: 2025-01-25 A scheduled transaction will be created and executed on the specified date. For bulk this is currently only enabled for sepa and is required. |
Bulk create transactions using JSONL format. Each line should be a valid JSON object matching the TransactionStart schema.
Example Request:
{"payment_profile": "pp_1", "amount": 100, "payment_product": "sepa", "merchant_reference": "ref_1", "dynamic_descriptor": "des_1", "customer_ip": "ip_1", "user_agent": "agent_1", "details": {"redirect_url": "https://example.com/redirect", "mandate": "man_1"} }
{"payment_profile": "pp_1", "amount": 0, "payment_product": "sepa", "merchant_reference": "ref_2", "dynamic_descriptor": "des_2", "customer_ip": "ip_2", "user_agent": "agent_2", "details": {"redirect_url": "https://example.com/redirect", "mandate": "man_2"} }
Bulk response:
| merchant_reference | string or null | Reference specified by the merchant to identify the transaction |
| id | string | The ID of the transaction object |
| status | integer | 200 for success, 400 for validation error |
| errors | object or null | Validation errors, key-value pairs |
One transaction JSON per line. Maximum 1000 transactions.
{"payment_profile": "pp_1", "amount": 100, "payment_product": "sepa", "merchant_reference": "ref_1", "dynamic_descriptor": "des_1", "customer_ip": "ip_1", "user_agent": "agent_1", "details": {"redirect_url": "https://example.com/redirect", "mandate": "man_1"} }
{"payment_profile": "pp_1", "amount": 0, "payment_product": "sepa", "merchant_reference": "ref_2", "dynamic_descriptor": "des_2", "customer_ip": "ip_2", "user_agent": "agent_2", "details": {"redirect_url": "https://example.com/redirect", "mandate": "man_2"} }
{"merchant_reference": "ref_1", "id": "a61335cf-8c8b-4a75-a259-fd4dac62fb37", "status": 200, "errors": null}
{"merchant_reference": "ref_2", "id": null, "status": 400, "errors": {"amount": "This value should be greater than 0."}}
| TransactionId required | string The id of the transaction to void |
{- "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": {
- "apple_pay": {
- "bin": "123456",
- "brand": "Visa",
- "issuer_country": "IT",
- "issuer_name": "POSTE ITALIANE",
- "last_four": "4321",
- "prepaid": true,
- "type": "credit",
- "variant": "Standard"
}, - "avs": "Y",
- "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"
}, - "payer_info": {
- "id": "6e6cf800-f744-4263-bc81-2e5b83365318",
- "name": "John Doe",
- "payer_address": "123 Main Street, Apt 4B, Anytown, NY 10001, USA",
- "payer_email": "j.doe@example.com",
- "payer_phone": "+31123456789"
}, - "sender": {
- "account_number": "string",
- "account_holder": "string",
- "bank_code": "string",
- "bank_name": "string",
- "bic": "string",
- "country_code": "string",
- "iban": "string"
}, - "threed_authenticated": true,
- "threed_cavv": "AJkCCReZIncEQFcQBZkiAAAAAAA=",
- "threed_eci": "05",
- "threed_enrolled": true,
- "threed_id": "28ffd090-b54e-4af6-9682-0de0fb443867",
- "threed_xid": "f1dc1c44-5f86-4ff0-9415-68fb6cc6bf1c"
}, - "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": "alipay",
- "payment_product_issuer": "mastercard",
- "payment_product_type": "mastercard",
- "payment_profile": "7c23a50d-8699-431c-a82b-a78718d2b6f6",
- "platform": "Windows",
- "processor": "c4e6b136-c1fb-41e6-9328-09e01dbc6df5",
- "processor_id_external": "e3332d06-0e19-4783-86d8-e861b414a7e7",
- "processor_id_external_second": "1a55747a-1e16-4ce7-86c7-4ab2cf060af2",
- "recurring_type": "first",
- "reserve_release_date": "2019-08-24T14:15:22Z",
- "settlement": "a42b0f5b-1d9a-4641-9dab-ddbaf308a1a6",
- "status": "SETTLEMENT_COMPLETED",
- "status_reason": "Cancelled by customer",
- "subscription": "d22f96b7-638e-4132-ba4e-1119571f4a76",
- "subscription_cycle": 1,
- "tagged": true,
- "tags": [
- "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",
}
| TransactionId required | string The id of the transaction to capture |
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 |
{- "amount": 0
}
{- "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": {
- "apple_pay": {
- "bin": "123456",
- "brand": "Visa",
- "issuer_country": "IT",
- "issuer_name": "POSTE ITALIANE",
- "last_four": "4321",
- "prepaid": true,
- "type": "credit",
- "variant": "Standard"
}, - "avs": "Y",
- "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"
}, - "payer_info": {
- "id": "6e6cf800-f744-4263-bc81-2e5b83365318",
- "name": "John Doe",
- "payer_address": "123 Main Street, Apt 4B, Anytown, NY 10001, USA",
- "payer_email": "j.doe@example.com",
- "payer_phone": "+31123456789"
}, - "sender": {
- "account_number": "string",
- "account_holder": "string",
- "bank_code": "string",
- "bank_name": "string",
- "bic": "string",
- "country_code": "string",
- "iban": "string"
}, - "threed_authenticated": true,
- "threed_cavv": "AJkCCReZIncEQFcQBZkiAAAAAAA=",
- "threed_eci": "05",
- "threed_enrolled": true,
- "threed_id": "28ffd090-b54e-4af6-9682-0de0fb443867",
- "threed_xid": "f1dc1c44-5f86-4ff0-9415-68fb6cc6bf1c"
}, - "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": "alipay",
- "payment_product_issuer": "mastercard",
- "payment_product_type": "mastercard",
- "payment_profile": "7c23a50d-8699-431c-a82b-a78718d2b6f6",
- "platform": "Windows",
- "processor": "c4e6b136-c1fb-41e6-9328-09e01dbc6df5",
- "processor_id_external": "e3332d06-0e19-4783-86d8-e861b414a7e7",
- "processor_id_external_second": "1a55747a-1e16-4ce7-86c7-4ab2cf060af2",
- "recurring_type": "first",
- "reserve_release_date": "2019-08-24T14:15:22Z",
- "settlement": "a42b0f5b-1d9a-4641-9dab-ddbaf308a1a6",
- "status": "SETTLEMENT_COMPLETED",
- "status_reason": "Cancelled by customer",
- "subscription": "d22f96b7-638e-4132-ba4e-1119571f4a76",
- "subscription_cycle": 1,
- "tagged": true,
- "tags": [
- "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",
}
| TransactionId required | string The id of the transaction to refund |
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 |
{- "amount": 1234,
- "reason": "Product does not match description",
}
{- "amount": 1234,
- "created_at": "2019-08-24T14:15:22Z",
- "id": "5dd46e6b-fd34-4143-9fec-131abb3fd78e",
- "last_status_update": "2019-08-24T14:15:22Z",
- "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
- "payment_profile": "7c23a50d-8699-431c-a82b-a78718d2b6f6",
- "processor": "c4e6b136-c1fb-41e6-9328-09e01dbc6df5",
- "processor_id_external": "63b2ecc5-d9cd-433d-bbdb-15e3aad12bba",
- "reason": "Product does not match description",
- "status": "PENDING",
- "transaction": "e0377c06-a9e0-43a8-9885-8799a8338b5a",
}
[- {
- "checkout_id": "3419630a-ff67-4693-a1b9-6891cc7776e2",
- "issuer": "ABNANL2A",
- "merchant_data": {
- "foo": "bar"
}, - "name": "ABN AMRO",
}
]
| TransactionId required | string The id of the transaction to erase |
| _with_customer | boolean Erase transaction customer as well |
| _with_customer_other_transactions | boolean Erase customer other transactions as well |
{- "message": "Erasure request for object [object Id] is completed."
}
| _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 |
[- {
- "amount": 1234,
- "apikey": "b1330396-92c7-4d1c-890a-b111373a13a8",
- "created_at": "2019-08-24T14:15:22Z",
- "customer": "cbbfa6ec-fb44-4da4-94c4-d81e92fd43e6",
- "due_date": "2025-01-25",
- "dynamic_descriptor": "Webshop X",
- "executed_at": "2025-01-25 12:00:00",
- "id": "bcd93c27-c163-4a46-8e2e-a0634b4b617b",
- "merchant_reference": "Order 12345678",
- "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
- "payment_product": "alipay",
- "payment_profile": "7c23a50d-8699-431c-a82b-a78718d2b6f6",
- "status": "CREATED"
}
]
| scheduledTransactionId required | string The id of the scheduled transaction to retrieve |
{- "amount": 1234,
- "apikey": "b1330396-92c7-4d1c-890a-b111373a13a8",
- "created_at": "2019-08-24T14:15:22Z",
- "customer": "cbbfa6ec-fb44-4da4-94c4-d81e92fd43e6",
- "due_date": "2025-01-25",
- "dynamic_descriptor": "Webshop X",
- "executed_at": "2025-01-25 12:00:00",
- "id": "bcd93c27-c163-4a46-8e2e-a0634b4b617b",
- "merchant_reference": "Order 12345678",
- "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
- "payment_product": "alipay",
- "payment_profile": "7c23a50d-8699-431c-a82b-a78718d2b6f6",
- "status": "CREATED"
}
| _limit | integer [ 1 .. 2000 ] Default: 100 The maximum amount of results |
| _populate | string Populates the full details of a related resource. It's possible to populate multiple resources. Separate the resources by space |
| _skip | integer Skips a number of results |
| _sort | string Sorts the results by ascending order according to the provided field. If the field is prefixed with '-'' (e.g. -created_at), the order is descending |
| _search | string Search based on id |
[- {
- "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": {
- "apple_pay": {
- "bin": "123456",
- "brand": "Visa",
- "issuer_country": "IT",
- "issuer_name": "POSTE ITALIANE",
- "last_four": "4321",
- "prepaid": true,
- "type": "credit",
- "variant": "Standard"
}, - "avs": "Y",
- "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"
}, - "payer_info": {
- "id": "6e6cf800-f744-4263-bc81-2e5b83365318",
- "name": "John Doe",
- "payer_address": "123 Main Street, Apt 4B, Anytown, NY 10001, USA",
- "payer_email": "j.doe@example.com",
- "payer_phone": "+31123456789"
}, - "sender": {
- "account_number": "string",
- "account_holder": "string",
- "bank_code": "string",
- "bank_name": "string",
- "bic": "string",
- "country_code": "string",
- "iban": "string"
}, - "threed_authenticated": true,
- "threed_cavv": "AJkCCReZIncEQFcQBZkiAAAAAAA=",
- "threed_eci": "05",
- "threed_enrolled": true,
- "threed_id": "28ffd090-b54e-4af6-9682-0de0fb443867",
- "threed_xid": "f1dc1c44-5f86-4ff0-9415-68fb6cc6bf1c"
}, - "dynamic_descriptor": "Webshop X",
- "id": "502ec437-2dfc-449c-b4f8-5a6ceac24d45",
- "last_status_update": "2019-08-24T14:15:22Z",
- "latitude": "52.3667",
- "longitude": "4.8945",
- "merchant_reference": "Order 12345678",
- "order_data": {
- "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": "alipay",
- "payment_product_issuer": "mastercard",
- "payment_product_type": "mastercard",
- "payment_profile": "7c23a50d-8699-431c-a82b-a78718d2b6f6",
- "platform": "Windows",
- "processor": "c4e6b136-c1fb-41e6-9328-09e01dbc6df5",
- "processor_id_external": "e3332d06-0e19-4783-86d8-e861b414a7e7",
- "processor_id_external_second": "1a55747a-1e16-4ce7-86c7-4ab2cf060af2",
- "recurring_type": "first",
- "reserve_release_date": "2019-08-24T14:15:22Z",
- "retry": "502ec437-2dfc-449c-b4f8-5a6ceac24d45",
- "settlement": "a42b0f5b-1d9a-4641-9dab-ddbaf308a1a6",
- "status": "SETTLEMENT_COMPLETED",
- "status_reason": "Cancelled by customer",
- "subscription": "d22f96b7-638e-4132-ba4e-1119571f4a76",
- "subscription_cycle": 1,
- "tagged": true,
- "tags": [
- "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",
}
]
Creates a new retry session. This endpoint functions similarly to the /transaction/start endpoint, but requires a Retry ID to enable automatic retry attempts for previously failed transactions.
Important: For standard transaction flows, use the /transaction/start endpoint instead. This endpoint should only be used when implementing automated retry logic for failed transactions.
Note: The due-date
header is not supported for session creation. If you need to set a due date,
use the /transaction/start endpoint with
the due-date
header instead.
Create new session
| organisation | string Reference to the organization this transaction belongs to |
| payment_profile required | string Reference to the payment profile this transaction belongs to |
| amount required | integer Amount is charged without a decimal place e.g. $1.5 = 150. Currencies can have different decimals/exponentials, see Currencies Section for more details |
| dynamic_descriptor required | string A short reference / descriptor that will show up on the customers bank statement |
| merchant_reference required | string A reference specified by the merchant to identify the transaction |
| customer | string Reference to the customer this transaction belongs to |
| customer_ip required | string The IP address of the customer |
| country_code | string Two-letter ISO country code |
| user_agent required | string The full user agent string of the device the customer used to submit the transaction |
required | object (TransactionDetailCard) Transaction details |
object (TransactionOrderData) Transaction - OrderData | |
| card | string The Id of the card object. Required for recurring_type=repeat |
| payment_product required | string Enum: "card" "applepay" "alipay" "bacs" "bcmc" "belfius" "bitpay" "bpwallet" "cardexternal" "creditclick" "directdebit" "directdebitplus" "dummy" "efecty" "eps" "etransfer" "ezeewallet" "finshark" "gcash" "googlepay" "ideal" "imps" "instaxchange" "interac" "klarna" "multibanco" "mybank" "opennode" "oxxo" "p24" "paybybank" "paypal" "paysafecard" "paytm" "payu" "pix" "pos" "pse" "sepa" "skrill" "sofort" "triplea" "trustly" "trustpay" "unionpay" "upi" "volt" "wechatpay" Payment product string |
| recurring_type | string Enum: "" "first" "repeat" This field is to be used only when a transaction is part of a series of recurring transactions. If it's the initial transaction, set the value to 'first', and if it's not, set it to 'repeat'. This field must not be included in transactions that will not be part of a series of repeated transactions. ('first' and 'repeat' are written in all lowercase letters). |
| webhook_transaction_update | string A webhook url that is called when a transaction is updated |
| retry required | string Reference to the retry this session belongs to |
{- "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",
- "skip_fraud_check": false
}, - "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",
- "retry": "502ec437-2dfc-449c-b4f8-5a6ceac24d45",
- "user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36 OPR/68.0.3618.125",
}
{- "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": {
- "apple_pay": {
- "bin": "123456",
- "brand": "Visa",
- "issuer_country": "IT",
- "issuer_name": "POSTE ITALIANE",
- "last_four": "4321",
- "prepaid": true,
- "type": "credit",
- "variant": "Standard"
}, - "avs": "Y",
- "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"
}, - "payer_info": {
- "id": "6e6cf800-f744-4263-bc81-2e5b83365318",
- "name": "John Doe",
- "payer_address": "123 Main Street, Apt 4B, Anytown, NY 10001, USA",
- "payer_email": "j.doe@example.com",
- "payer_phone": "+31123456789"
}, - "sender": {
- "account_number": "string",
- "account_holder": "string",
- "bank_code": "string",
- "bank_name": "string",
- "bic": "string",
- "country_code": "string",
- "iban": "string"
}, - "threed_authenticated": true,
- "threed_cavv": "AJkCCReZIncEQFcQBZkiAAAAAAA=",
- "threed_eci": "05",
- "threed_enrolled": true,
- "threed_id": "28ffd090-b54e-4af6-9682-0de0fb443867",
- "threed_xid": "f1dc1c44-5f86-4ff0-9415-68fb6cc6bf1c"
}, - "dynamic_descriptor": "Webshop X",
- "id": "502ec437-2dfc-449c-b4f8-5a6ceac24d45",
- "last_status_update": "2019-08-24T14:15:22Z",
- "latitude": "52.3667",
- "longitude": "4.8945",
- "merchant_reference": "Order 12345678",
- "order_data": {
- "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": "alipay",
- "payment_product_issuer": "mastercard",
- "payment_product_type": "mastercard",
- "payment_profile": "7c23a50d-8699-431c-a82b-a78718d2b6f6",
- "platform": "Windows",
- "processor": "c4e6b136-c1fb-41e6-9328-09e01dbc6df5",
- "processor_id_external": "e3332d06-0e19-4783-86d8-e861b414a7e7",
- "processor_id_external_second": "1a55747a-1e16-4ce7-86c7-4ab2cf060af2",
- "recurring_type": "first",
- "reserve_release_date": "2019-08-24T14:15:22Z",
- "retry": "502ec437-2dfc-449c-b4f8-5a6ceac24d45",
- "settlement": "a42b0f5b-1d9a-4641-9dab-ddbaf308a1a6",
- "status": "SETTLEMENT_COMPLETED",
- "status_reason": "Cancelled by customer",
- "subscription": "d22f96b7-638e-4132-ba4e-1119571f4a76",
- "subscription_cycle": 1,
- "tagged": true,
- "tags": [
- "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",
}
{- "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": {
- "apple_pay": {
- "bin": "123456",
- "brand": "Visa",
- "issuer_country": "IT",
- "issuer_name": "POSTE ITALIANE",
- "last_four": "4321",
- "prepaid": true,
- "type": "credit",
- "variant": "Standard"
}, - "avs": "Y",
- "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"
}, - "payer_info": {
- "id": "6e6cf800-f744-4263-bc81-2e5b83365318",
- "name": "John Doe",
- "payer_address": "123 Main Street, Apt 4B, Anytown, NY 10001, USA",
- "payer_email": "j.doe@example.com",
- "payer_phone": "+31123456789"
}, - "sender": {
- "account_number": "string",
- "account_holder": "string",
- "bank_code": "string",
- "bank_name": "string",
- "bic": "string",
- "country_code": "string",
- "iban": "string"
}, - "threed_authenticated": true,
- "threed_cavv": "AJkCCReZIncEQFcQBZkiAAAAAAA=",
- "threed_eci": "05",
- "threed_enrolled": true,
- "threed_id": "28ffd090-b54e-4af6-9682-0de0fb443867",
- "threed_xid": "f1dc1c44-5f86-4ff0-9415-68fb6cc6bf1c"
}, - "dynamic_descriptor": "Webshop X",
- "id": "502ec437-2dfc-449c-b4f8-5a6ceac24d45",
- "last_status_update": "2019-08-24T14:15:22Z",
- "latitude": "52.3667",
- "longitude": "4.8945",
- "merchant_reference": "Order 12345678",
- "order_data": {
- "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": "alipay",
- "payment_product_issuer": "mastercard",
- "payment_product_type": "mastercard",
- "payment_profile": "7c23a50d-8699-431c-a82b-a78718d2b6f6",
- "platform": "Windows",
- "processor": "c4e6b136-c1fb-41e6-9328-09e01dbc6df5",
- "processor_id_external": "e3332d06-0e19-4783-86d8-e861b414a7e7",
- "processor_id_external_second": "1a55747a-1e16-4ce7-86c7-4ab2cf060af2",
- "recurring_type": "first",
- "reserve_release_date": "2019-08-24T14:15:22Z",
- "retry": "502ec437-2dfc-449c-b4f8-5a6ceac24d45",
- "settlement": "a42b0f5b-1d9a-4641-9dab-ddbaf308a1a6",
- "status": "SETTLEMENT_COMPLETED",
- "status_reason": "Cancelled by customer",
- "subscription": "d22f96b7-638e-4132-ba4e-1119571f4a76",
- "subscription_cycle": 1,
- "tagged": true,
- "tags": [
- "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",
}
| _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 |
[- {
- "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",
}
]
Create new plan
| checkout | string or null Reference to the checkout used for this plan |
| name required | string Plan name |
| description | string Description |
| dynamic_descriptor | string A short reference / descriptor that will show up on the customers bank statement |
| amount required | integer Amount is charged without a decimal place e.g. $1.5 = 150. Currencies can have different decimals/exponentials, see Currencies Section for more details |
| interval required | string Enum: "day" "week" "month" "year" Specifies cycle frequency |
| interval_count | integer The number of intervals between billing. For example, interval=month and interval_count=3 bills every 3 months Maximum of one-year total interval allowed |
| max_billing_cycle | integer or null The maximum number of billing cycles in the subscription |
| webhook_subscription_update | string or null A webhook url that is called with subscription updates. |
| email_subscription_update | string or null An email address that receives subscription updates. |
| statuses_subscription_update | Array of strings Items Enum: "CREATED" "ACTIVE" "PAST_DUE" "EXPIRED" "CANCELLED" "COMPLETED" Array of subscription statuses. When a subscription status is set to one of those a notification is sent. |
| redirect_url | string or null The URL where the customer will be redirected after the payment |
| payment_profile required | string The ID of the payment profile object |
{- "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"
],
}
{- "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",
}
{- "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",
}
| PlanId required | string The id of the plan to update |
Update plan
| checkout | string or null Reference to the checkout used for this plan |
| name | string Plan name |
| description | string Description |
| dynamic_descriptor | string A short reference / descriptor that will show up on the customers bank statement |
| amount | integer Amount is charged without a decimal place e.g. $1.5 = 150. Currencies can have different decimals/exponentials, see Currencies Section for more details |
| interval | string Enum: "day" "week" "month" "year" Specifies cycle frequency |
| interval_count | integer The number of intervals between billing. For example, interval=month and interval_count=3 bills every 3 months Maximum of one-year total interval allowed |
| max_billing_cycle | integer or null The maximum number of billing cycles in the subscription |
| webhook_subscription_update | string or null A webhook url that is called with subscription updates. |
| email_subscription_update | string or null An email address that receives subscription updates. |
| statuses_subscription_update | Array of strings Items Enum: "CREATED" "ACTIVE" "PAST_DUE" "EXPIRED" "CANCELLED" "COMPLETED" Array of subscription statuses. When a subscription status is set to one of those a notification is sent. |
| redirect_url | string or null The URL where the customer will be redirected after the payment |
{- "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"
],
}
{- "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",
}
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
| _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 |
[- {
- "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",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
Create new subscription
| customer required | string Reference to the customer this subscription belongs to |
| card | string Reference to the card this subscription is linked to |
| due_date | string <date> The date by which customer has to pay the next bill |
| max_billing_cycle | integer or null The maximum number of billing cycles in the subscription |
| payment_product | string Enum: "card" "paypal" Payment product string |
| plan required | string The ID of the plan object |
| subscription_discount | string Reference to the subscription discount |
{- "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"
}
{- "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",
- "updated_at": "2019-08-24T14:15:22Z"
}
| SubscriptionId required | string The id of the subscription to retrieve |
{- "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",
- "updated_at": "2019-08-24T14:15:22Z"
}
| SubscriptionId required | string The id of the subscription to update |
Update subscription
| max_billing_cycle | integer The maximum number of billing cycles in the subscription |
{- "max_billing_cycle": 12
}
{- "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",
- "updated_at": "2019-08-24T14:15:22Z"
}
| SubscriptionId required | string The id of the subscription to cancel |
{- "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",
- "updated_at": "2019-08-24T14:15:22Z"
}
| SubscriptionId required | string The id of the subscription |
| SubscriptionDiscountId required | string The id of the subscription discount to add |
{- "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",
- "updated_at": "2019-08-24T14:15:22Z"
}
| SubscriptionId required | string The id of the subscription |
| SubscriptionDiscountAttachedId required | string The id of the attached subscription discount to remove |
{- "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",
- "updated_at": "2019-08-24T14:15:22Z"
}
| _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 |
[- {
- "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
| amount required | number <float> Amount
| ||||
| type required | string Enum: "percentage" "fixed_cents" Discount type | ||||
| name required | string Discount name | ||||
| minimum_amount | integer or null Minimum amount If set, the discount can only be applied to a subscription of a certain amount. Amount in cents without a decimal place. | ||||
| duration | integer or null Duration If set it will be applied to this number of cycles. If not set it will be applied infinitely. | ||||
| limit_to_first_order | boolean Limit to first time order If true this discount can only be added to a subscription before the first payment has been executed. | ||||
| organisation required | string Reference to the organisation this subscription discount belongs to |
{- "amount": 0.1,
- "duration": 3,
- "limit_to_first_order": false,
- "minimum_amount": 1000,
- "name": "10% Discount",
- "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
- "type": "percentage"
}
{- "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"
}
| SubscriptionDiscountId required | string The id of the subscription discount to retrieve |
{- "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"
}
| SubscriptionDiscountId required | string The id of the subscription discount to update |
Update subscription discount
| amount | number <float> Amount
| ||||
| type | string Enum: "percentage" "fixed_cents" Discount type | ||||
| name | string Discount name | ||||
| minimum_amount | integer or null Minimum amount If set, the discount can only be applied to a subscription of a certain amount. Amount in cents without a decimal place. | ||||
| duration | integer or null Duration If set it will be applied to this number of cycles. If not set it will be applied infinitely. | ||||
| limit_to_first_order | boolean Limit to first time order If true this discount can only be added to a subscription before the first payment has been executed. |
{- "amount": 0.1,
- "duration": 3,
- "limit_to_first_order": false,
- "minimum_amount": 1000,
- "name": "10% Discount",
- "type": "percentage"
}
{- "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"
}
| created_at> | string Filter on date |
| created_at< | string Filter on date |
| group_by | string Default: "month" Enum: "month" "week" "day" Group results |
[- {
- "count": 0,
- "period": "2019-08-24",
- "volume": 0,
- "year": 0
}
]
| created_at> | string Filter on date |
| created_at< | string Filter on date |
{- "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
}
}
}
| created_at> | string Filter on date |
| created_at< | string Filter on date |
{- "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
}
}
}
| created_at> | string Filter on date |
| created_at< | string Filter on date |
{- "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
}
}
| created_at> | string Filter on date |
| created_at< | string Filter on date |
{- "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
}
}
}
| _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 |
[- {
- "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
| name required | string The name of the report |
| fields required | Array of strings Items Enum: "amount" "blocked" "browser" "browser_version" "city" "country_code" "created_at" "customer_ip" "customer_status" "dynamic_descriptor" "id" "last_status_update" "latitude" "longitude" "merchant_reference" "payment_product" "payment_product_type" "platform" "processor_id_external" "processor_id_external_second" "recurring_type" "status" "status_reason" "tagged" "user_agent" "card.id" "card.bin" "card.brand" "card.expiry_month" "card.expiry_year" "card.holder_name" "card.last_four" "customer.id" "customer.title" "customer.initials" "customer.first_name" "customer.last_name" "customer.date_of_birth" "customer.email_address" "customer.phone_number" "customer.fax_number" "customer.street_address" "customer.house_number" "customer.house_number_suffix" "customer.postal_code" "customer.merchant_reference" "customer.city" "customer.region" "customer.country_code" "customer.status" "customer.status_reason" "customer.segment" "customer.created_at" "customer.last_status_update" "details.cvv_present" "details.threed_enrolled" "details.threed_authenticated" "details.mandate" "details.sender.account_number" "details.sender.account_holder" "details.sender.holder_name" "details.sender.bank_code" "details.sender.bank_name" "details.sender.bic" "details.sender.country_code" "details.sender.iban" "organisation.id" "organisation.country_code" "organisation.name" "payment_profile.id" "payment_profile.currency_code" "payment_profile.name" "payment_profile.description" "payment_profile.website" "processor.id" "processor.name" "processor.payment_product" "processor.gateway" "terminal.id" "terminal.name" "terminal.provider_id" Array of fields |
| organisations required | Array of strings Array of organisations |
Array of objects or null (ReportFilterRules) Report filter | |
| export | string Enum: "csv" "xlsx" Report export type |
| organisation required | string Reference to the organisation this report belongs to |
{- "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"
],
}
{- "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"
}
{- "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"
}
| _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 |
[- {
- "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"
],
}
]
Create new report schedule
| name required | string The name of the report |
| fields required | Array of strings Items Enum: "amount" "blocked" "browser" "browser_version" "city" "country_code" "created_at" "customer_ip" "customer_status" "dynamic_descriptor" "id" "last_status_update" "latitude" "longitude" "merchant_reference" "payment_product" "payment_product_type" "platform" "processor_id_external" "processor_id_external_second" "recurring_type" "status" "status_reason" "tagged" "user_agent" "card.id" "card.bin" "card.brand" "card.expiry_month" "card.expiry_year" "card.holder_name" "card.last_four" "customer.id" "customer.title" "customer.initials" "customer.first_name" "customer.last_name" "customer.date_of_birth" "customer.email_address" "customer.phone_number" "customer.fax_number" "customer.street_address" "customer.house_number" "customer.house_number_suffix" "customer.postal_code" "customer.merchant_reference" "customer.city" "customer.region" "customer.country_code" "customer.status" "customer.status_reason" "customer.segment" "customer.created_at" "customer.last_status_update" "details.cvv_present" "details.threed_enrolled" "details.threed_authenticated" "details.mandate" "details.sender.account_number" "details.sender.account_holder" "details.sender.holder_name" "details.sender.bank_code" "details.sender.bank_name" "details.sender.bic" "details.sender.country_code" "details.sender.iban" "organisation.id" "organisation.country_code" "organisation.name" "payment_profile.id" "payment_profile.currency_code" "payment_profile.name" "payment_profile.description" "payment_profile.website" "processor.id" "processor.name" "processor.payment_product" "processor.gateway" "terminal.id" "terminal.name" "terminal.provider_id" Array of fields |
| organisations required | Array of strings Array of organisations |
Array of objects or null (ReportFilterRules) Report filter | |
| export | string Enum: "csv" "xlsx" Report export type |
| interval required | string Enum: "daily" "weekly" "bi-weekly" "monthly" Defines when a report will be generated, e.g. everyday, every week/couple of weeks at a certain day, every x of the month at a certain day |
| day_of_the_month | integer Day of the month if the interval equals to monthly |
| day_of_the_week | string or null Enum: "mon" "tue" "wed" "thu" "fri" "sat" "sun" Report schedule day of the week if interval is weekly/bi-weekly |
| include_transactions_for required | string Enum: "yesterday" "last-7-days" "last-14-days" "last-28-days" "previous-month" "previous-week" "previous-2-weeks" Defines a date or a date range from which transactions will be included to a report, e.g. yesterday, last week (from last mon till last sun), last 7 days (from yesterday to 7 days back) |
| email_address | string or null A specific email address to receive a notification about this kind of report |
| webhook_url | string or null A webhook url to receive a notification about this kind of report |
| organisation required | string Reference to the organisation this report schedule belongs to |
{- "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"
],
}
{- "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"
],
}
| ReportId required | string The id of the report schedule to retrieve |
{- "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"
],
}
| _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 |
[- {
- "amount": 1234,
- "chargeback_count": 2,
- "chargeback_volume": 8270,
- "created_at": "2019-08-24T14:15:22Z",
- "currency_code": "EUR",
- "description": "Adyen settlement_detail_report_batch_121.csv",
- "fees": 12,
- "id": "a42b0f5b-1d9a-4641-9dab-ddbaf308a1a6",
- "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
- "payment_profile": "7c23a50d-8699-431c-a82b-a78718d2b6f6",
- "refund_count": 30,
- "refund_volume": 717360,
- "settlement_profile": "979a5753-a8ab-4e1c-a06d-24bcea5cf7ec",
- "transaction_count": 140,
- "transaction_volume": 717360
}
]
| SettlementId required | string The id of the settlement to retrieve |
{- "amount": 1234,
- "chargeback_count": 2,
- "chargeback_volume": 8270,
- "created_at": "2019-08-24T14:15:22Z",
- "currency_code": "EUR",
- "description": "Adyen settlement_detail_report_batch_121.csv",
- "fees": 12,
- "id": "a42b0f5b-1d9a-4641-9dab-ddbaf308a1a6",
- "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
- "payment_profile": "7c23a50d-8699-431c-a82b-a78718d2b6f6",
- "refund_count": 30,
- "refund_volume": 717360,
- "settlement_profile": "979a5753-a8ab-4e1c-a06d-24bcea5cf7ec",
- "transaction_count": 140,
- "transaction_volume": 717360
}
[- {
- "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
}
],
}
]
| ids required | string Comma separated list of processor ids |
[- {
- "gateway": "adyen",
- "id": "c4e6b136-c1fb-41e6-9328-09e01dbc6df5",
- "last24hours": 12345,
- "name": "Processor name",
- "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
- "payment_product": "alipay",
- "previous24hours": 12345
}
]
Compare processors based on their performance the last 28 days
| ids required | string Comma separated list of processor ids |
{- "processorid": {
- "gateway": "adyen",
- "id": "c4e6b136-c1fb-41e6-9328-09e01dbc6df5",
- "name": "Processor name",
- "payment_product": "alipay",
- "transaction": {
- "conversion": 80.12,
- "status": {
- "INITIATED": {
- "count": 258,
- "amount": 1290000
}
}, - "total": {
- "count": 258,
- "amount": 1290000
}, - "total_success": {
- "count": 258,
- "amount": 1290000
}
}
}
}
| created_at> | string Filter on date |
| created_at< | string Filter on date |
| group_by | string Default: "month" Enum: "month" "week" "day" Group results |
[- {
- "count": 0,
- "period": "2019-08-24",
- "volume": 0,
- "year": 0
}
]
| created_at> | string Filter on date |
| created_at< | string Filter on date |
{- "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
}
}
}
| created_at> | string Filter on date |
| created_at< | string Filter on date |
| countryCode | string Two-letter country code (ISO 3166-1 alpha-2) |
[- {
- "count": 0,
- "location": {
- "alpha2": "string",
- "alpha3": "string",
- "name": "string",
- "numeric": "string"
}, - "volume": 0
}
]
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
| _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 |
[- {
- "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": "alipay",
- "processors": "c4e6b136-c1fb-41e6-9328-09e01dbc6df5,9ea84d17-1f82-425e-bfac-3e6e9787162c",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
Create new routing
| name required | string The name of the Routing |
| payment_product required | string Enum: "alipay" "applepay" "bacs" "bcmc" "belfius" "bitpay" "bpwallet" "card" "cardexternal" "creditclick" "directdebit" "directdebitplus" "dummy" "efecty" "eps" "etransfer" "ezeewallet" "finshark" "gcash" "googlepay" "ideal" "imps" "instaxchange" "interac" "klarna" "multibanco" "mybank" "opennode" "oxxo" "p24" "paybybank" "paypal" "paysafecard" "paytm" "payu" "pix" "pos" "pse" "sepa" "skrill" "sofort" "triplea" "trustly" "trustpay" "unionpay" "upi" "volt" "wechatpay" Payment product string |
required | object (RoutingDetails) Routing - Details |
| organisation required | string Reference to the organisation this routing belongs to |
{- "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": "alipay"
}
{- "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": "alipay",
- "processors": "c4e6b136-c1fb-41e6-9328-09e01dbc6df5,9ea84d17-1f82-425e-bfac-3e6e9787162c",
- "updated_at": "2019-08-24T14:15:22Z"
}
{- "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": "alipay",
- "processors": "c4e6b136-c1fb-41e6-9328-09e01dbc6df5,9ea84d17-1f82-425e-bfac-3e6e9787162c",
- "updated_at": "2019-08-24T14:15:22Z"
}
| RoutingId required | string The id of the Routing to update |
Update Routing
| name | string The name of the Routing |
| payment_product | string Enum: "alipay" "applepay" "bacs" "bcmc" "belfius" "bitpay" "bpwallet" "card" "cardexternal" "creditclick" "directdebit" "directdebitplus" "dummy" "efecty" "eps" "etransfer" "ezeewallet" "finshark" "gcash" "googlepay" "ideal" "imps" "instaxchange" "interac" "klarna" "multibanco" "mybank" "opennode" "oxxo" "p24" "paybybank" "paypal" "paysafecard" "paytm" "payu" "pix" "pos" "pse" "sepa" "skrill" "sofort" "triplea" "trustly" "trustpay" "unionpay" "upi" "volt" "wechatpay" Payment product string |
object (RoutingDetails) Routing - Details |
{- "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": "alipay"
}
{- "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": "alipay",
- "processors": "c4e6b136-c1fb-41e6-9328-09e01dbc6df5,9ea84d17-1f82-425e-bfac-3e6e9787162c",
- "updated_at": "2019-08-24T14:15:22Z"
}
| _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 |
[- {
- "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 validationruleset
| name required | string The name of the Validation ruleset |
| action required | string Enum: "block" "tag" "3dSecure" Action to take |
| tag | string Reference to the tag connected to this ruleset |
string or null The email address attached to the ruleset When set, tries to send an e-mail to the address whenever the rule gets triggered | |
| webhook_url | string or null The webhook URL attached to the ruleset When set, tries to send a webhook to the url whenever the rule gets triggered |
| organisation required | string Reference to the organisation this validation ruleset belongs to |
required | Array of objects (ValidationRulesetRuleCreate) Ruleset rules |
{- "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",
}
{- "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",
}
| ValidationRulesetId required | string The id of the validation ruleset to retrieve |
{- "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",
}
| ValidationRulesetId required | string The id of the validation ruleset to update |
Update validation ruleset
| name | string The name of the Validation ruleset |
| action | string Enum: "block" "tag" "3dSecure" Action to take |
| tag | string Reference to the tag connected to this ruleset |
string or null The email address attached to the ruleset When set, tries to send an e-mail to the address whenever the rule gets triggered | |
| webhook_url | string or null The webhook URL attached to the ruleset When set, tries to send a webhook to the url whenever the rule gets triggered |
Array of objects (ValidationRulesetRuleGet) Ruleset rules |
{- "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",
}
{- "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",
}
{- "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"
}
Use webhooks to get notified about payment events. See our Webhooks guide for more information
| _limit | integer [ 1 .. 2000 ] Default: 100 The maximum amount of results |
| _populate | string Populates the full details of a related resource. It's possible to populate multiple resources. Separate the resources by space |
| _skip | integer Skips a number of results |
| _sort | string Sorts the results by ascending order according to the provided field. If the field is prefixed with '-'' (e.g. -created_at), the order is descending |
| _search | string Search webhook based on id, item id or url |
[- {
- "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
| type required | string Enum: "transaction" "refund" "chargeback" "cardlink" "validationruleset" "report_generated" "session" "subscription" Type of item this webhook is connected to |
| item_id | string Item id of the item this webhook is connected to |
| status | string or null Enum: "INITIATED" "IN_PROGRESS" "PENDING" "AUTHORIZED" "PROCESSED" "SETTLEMENT_REQUESTED" "SETTLEMENT_COMPLETED" "DECLINED" "FAILED" "UNKNOWN" "ABANDONED" "HOLD" "CANCELLED" "AUTHORIZATION_VOIDED" "OPEN" "IN_DISPUTE" "WON" "LOST" "CREATED" "DONE" "EXPIRED" The status change this webhook communicates |
| status_reason | string or null Status reason |
| url required | string URL of the webhook |
| organisation required | string Reference to the organisation this webhook belongs to |
{- "item_id": "e0377c06-a9e0-43a8-9885-8799a8338b5a",
- "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
- "status": "SETTLEMENT_COMPLETED",
- "status_reason": "Status reason",
- "type": "transaction",
}
{- "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",
}
{- "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",
}
| _limit | integer [ 1 .. 2000 ] Default: 100 The maximum amount of results |
| _populate | string Populates the full details of a related resource. It's possible to populate multiple resources. Separate the resources by space |
| _skip | integer Skips a number of results |
| _sort | string Sorts the results by ascending order according to the provided field. If the field is prefixed with '-'' (e.g. -created_at), the order is descending |
| _search | string Search based on id, holder name or description |
[- {
- "bank_account_number": "GB29 NWBK 6016 1331 9268 19",
- "bic": "ABNANL2A",
- "created_at": "2019-08-24T14:15:22Z",
- "currency_code": "ALL",
- "description": "Euro bank account",
- "holder_name": "J. Doe",
- "id": "93082d84-62e6-452b-ad4f-280bf6bef49d",
- "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
Create new bank account
| bank_account_number required | string Bank account number |
| holder_name required | string Bank account holder name |
| description required | string Description |
| bic required | string Bank Identifier Code (BIC) |
| currency_code required | string Enum: "ALL" "AMD" "AUD" "AZN" "BAM" "BGN" "BRL" "BYN" "CAD" "CHF" "COP" "CZK" "DKK" "EUR" "GBP" "GEL" "HUF" "INR" "ISK" "JPY" "MAD" "MDL" "MKD" "MXN" "NOK" "NZD" "PHP" "PLN" "RON" "RSD" "RUB" "SAR" "SEK" "THB" "TRY" "UAH" "USD" "ZAR" The currency code associated to this bank account |
| organisation required | string Reference to the organisation this bank account belongs to |
{- "bank_account_number": "GB29 NWBK 6016 1331 9268 19",
- "bic": "ABNANL2A",
- "currency_code": "ALL",
- "description": "Euro bank account",
- "holder_name": "J. Doe",
- "organisation": "fab04e42-0901-4e33-839d-4a326d037497"
}
{- "bank_account_number": "GB29 NWBK 6016 1331 9268 19",
- "bic": "ABNANL2A",
- "created_at": "2019-08-24T14:15:22Z",
- "currency_code": "ALL",
- "description": "Euro bank account",
- "holder_name": "J. Doe",
- "id": "93082d84-62e6-452b-ad4f-280bf6bef49d",
- "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
- "updated_at": "2019-08-24T14:15:22Z"
}
| BankaccountId required | string The id of the bank account to retrieve |
{- "bank_account_number": "GB29 NWBK 6016 1331 9268 19",
- "bic": "ABNANL2A",
- "created_at": "2019-08-24T14:15:22Z",
- "currency_code": "ALL",
- "description": "Euro bank account",
- "holder_name": "J. Doe",
- "id": "93082d84-62e6-452b-ad4f-280bf6bef49d",
- "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
- "updated_at": "2019-08-24T14:15:22Z"
}
| BankaccountId required | string The id of the bank account to update |
Update bankaccount
| bank_account_number | string Bank account number |
| holder_name | string Bank account holder name |
| description | string Description |
| bic | string Bank Identifier Code (BIC) |
| currency_code | string Enum: "ALL" "AMD" "AUD" "AZN" "BAM" "BGN" "BRL" "BYN" "CAD" "CHF" "COP" "CZK" "DKK" "EUR" "GBP" "GEL" "HUF" "INR" "ISK" "JPY" "MAD" "MDL" "MKD" "MXN" "NOK" "NZD" "PHP" "PLN" "RON" "RSD" "RUB" "SAR" "SEK" "THB" "TRY" "UAH" "USD" "ZAR" The currency code associated to this bank account |
{- "bank_account_number": "GB29 NWBK 6016 1331 9268 19",
- "bic": "ABNANL2A",
- "currency_code": "ALL",
- "description": "Euro bank account",
- "holder_name": "J. Doe"
}
{- "bank_account_number": "GB29 NWBK 6016 1331 9268 19",
- "bic": "ABNANL2A",
- "created_at": "2019-08-24T14:15:22Z",
- "currency_code": "ALL",
- "description": "Euro bank account",
- "holder_name": "J. Doe",
- "id": "93082d84-62e6-452b-ad4f-280bf6bef49d",
- "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
- "updated_at": "2019-08-24T14:15:22Z"
}
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
| _limit | integer [ 1 .. 2000 ] Default: 100 The maximum amount of results |
| _populate | string Populates the full details of a related resource. It's possible to populate multiple resources. Separate the resources by space |
| _skip | integer Skips a number of results |
| _sort | string Sorts the results by ascending order according to the provided field. If the field is prefixed with '-'' (e.g. -created_at), the order is descending |
| _search | string Search checkout; id, description or name |
[- {
- "background_color": "string",
- "background_image_url": "string",
- "button_color": "#309cd5",
- "button_text_color": "#ffffff",
- "created_at": "2019-08-24T14:15:22Z",
- "css": "string",
- "default_checkout": true,
- "default_language": "de",
- "description": "Checkout description",
- "header_color": "#053c69",
- "header_payment_description": "merchant_reference",
- "header_text_color": "#ffffff",
- "id": "3419630a-ff67-4693-a1b9-6891cc7776e2",
- "logo_url": "string",
- "name": "My checkout",
- "number_format": "en_US",
- "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
- "payment_product_order": "card,dummy",
- "show_language_switch": true,
- "updated_at": "2019-08-24T14:15:22Z"
}
]
Create new checkout
| name required | string Checkout name |
| description | string Short description |
| logo_url | string Logo url (https) |
| background_color | string Page background color. Hex code including hashtag. E.g. #FFF or #000000 |
| background_image_url | string Page background image url (https) |
| header_color | string Header color. Hex code including hashtag. E.g. #FFF or #000000 |
| header_text_color | string Header text color. Hex code including hashtag. E.g. #FFF or #000000 |
| header_payment_description | string Default: "merchant_reference" Enum: "merchant_reference" "dynamic_descriptor" "hide" Choose what we display in the header |
| button_color | string Button color. Hex code including hashtag. E.g. #FFF or #000000 |
| button_text_color | string Button text color. Hex code including hashtag. E.g. #FFF or #000000 |
| payment_product_order | string Comma separated list of payment products |
| show_language_switch | boolean Show language switch in header |
| default_language | string Enum: "de" "en" "es" "fr" "nl" Default language (ISO 639-1, Alpha-2 code) |
| number_format | string Enum: "en_US" "nl_NL" Number format locale |
| default_checkout | boolean Default checkout design |
| organisation required | string Reference to the organisation this checkout belongs to |
{- "background_color": "string",
- "background_image_url": "string",
- "button_color": "#309cd5",
- "button_text_color": "#ffffff",
- "default_checkout": true,
- "default_language": "de",
- "description": "Checkout description",
- "header_color": "#053c69",
- "header_payment_description": "merchant_reference",
- "header_text_color": "#ffffff",
- "logo_url": "string",
- "name": "My checkout",
- "number_format": "en_US",
- "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
- "payment_product_order": "card,dummy",
- "show_language_switch": true
}
{- "background_color": "string",
- "background_image_url": "string",
- "button_color": "#309cd5",
- "button_text_color": "#ffffff",
- "created_at": "2019-08-24T14:15:22Z",
- "css": "string",
- "default_checkout": true,
- "default_language": "de",
- "description": "Checkout description",
- "header_color": "#053c69",
- "header_payment_description": "merchant_reference",
- "header_text_color": "#ffffff",
- "id": "3419630a-ff67-4693-a1b9-6891cc7776e2",
- "logo_url": "string",
- "name": "My checkout",
- "number_format": "en_US",
- "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
- "payment_product_order": "card,dummy",
- "show_language_switch": true,
- "updated_at": "2019-08-24T14:15:22Z"
}
| CheckoutId required | string The id of the checkout to retrieve |
{- "background_color": "string",
- "background_image_url": "string",
- "button_color": "#309cd5",
- "button_text_color": "#ffffff",
- "created_at": "2019-08-24T14:15:22Z",
- "css": "string",
- "default_checkout": true,
- "default_language": "de",
- "description": "Checkout description",
- "header_color": "#053c69",
- "header_payment_description": "merchant_reference",
- "header_text_color": "#ffffff",
- "id": "3419630a-ff67-4693-a1b9-6891cc7776e2",
- "logo_url": "string",
- "name": "My checkout",
- "number_format": "en_US",
- "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
- "payment_product_order": "card,dummy",
- "show_language_switch": true,
- "updated_at": "2019-08-24T14:15:22Z"
}
| CheckoutId required | string The id of the checkout to update |
Update checkout
| name | string Checkout name |
| description | string Short description |
| logo_url | string Logo url (https) |
| background_color | string Page background color. Hex code including hashtag. E.g. #FFF or #000000 |
| background_image_url | string Page background image url (https) |
| header_color | string Header color. Hex code including hashtag. E.g. #FFF or #000000 |
| header_text_color | string Header text color. Hex code including hashtag. E.g. #FFF or #000000 |
| header_payment_description | string Default: "merchant_reference" Enum: "merchant_reference" "dynamic_descriptor" "hide" Choose what we display in the header |
| button_color | string Button color. Hex code including hashtag. E.g. #FFF or #000000 |
| button_text_color | string Button text color. Hex code including hashtag. E.g. #FFF or #000000 |
| payment_product_order | string Comma separated list of payment products |
| show_language_switch | boolean Show language switch in header |
| default_language | string Enum: "de" "en" "es" "fr" "nl" Default language (ISO 639-1, Alpha-2 code) |
| number_format | string Enum: "en_US" "nl_NL" Number format locale |
| default_checkout | boolean Default checkout design |
{- "background_color": "string",
- "background_image_url": "string",
- "button_color": "#309cd5",
- "button_text_color": "#ffffff",
- "default_checkout": true,
- "default_language": "de",
- "description": "Checkout description",
- "header_color": "#053c69",
- "header_payment_description": "merchant_reference",
- "header_text_color": "#ffffff",
- "logo_url": "string",
- "name": "My checkout",
- "number_format": "en_US",
- "payment_product_order": "card,dummy",
- "show_language_switch": true
}
{- "background_color": "string",
- "background_image_url": "string",
- "button_color": "#309cd5",
- "button_text_color": "#ffffff",
- "created_at": "2019-08-24T14:15:22Z",
- "css": "string",
- "default_checkout": true,
- "default_language": "de",
- "description": "Checkout description",
- "header_color": "#053c69",
- "header_payment_description": "merchant_reference",
- "header_text_color": "#ffffff",
- "id": "3419630a-ff67-4693-a1b9-6891cc7776e2",
- "logo_url": "string",
- "name": "My checkout",
- "number_format": "en_US",
- "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
- "payment_product_order": "card,dummy",
- "show_language_switch": true,
- "updated_at": "2019-08-24T14:15:22Z"
}
| _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 |
[- {
- "id": "5f3b358a-a32f-4c96-8b82-ee2ab3ae008f",
- "name": "Middleware name",
- "provider": "endeavour",
- "type": "fraud"
}
]
| _limit | integer [ 1 .. 2000 ] Default: 100 The maximum amount of results |
| _populate | string Populates the full details of a related resource. It's possible to populate multiple resources. Separate the resources by space |
| _skip | integer Skips a number of results |
| _sort | string Sorts the results by ascending order according to the provided field. If the field is prefixed with '-'' (e.g. -created_at), the order is descending |
| _search | string Search merchant |
[- {
- "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 new organisation
| provider_id | string External provider ID |
| country_code required | string Country code |
string The organisation's email address | |
| extended_address | string Address extension, e.g. apartment, floor or suite |
| locality | string The organisation's locality / city |
| name required | string The name of the organisation |
| phone | string The organisation's telephone number |
| postal_code | string The organisation's postal code |
| region | string The organisation's country region |
| street | string The organisation street address |
| street_number | integer or null The organisation street number |
| legal | string The organisation's legal structure |
| tax_number | string or null The organisation's tax number |
| registration_number | string or null The registration number of the organization at the (local) chamber of commerce |
| whitelist_enabled | boolean Whitelist enabled setting If set to true, prevents the Organisation's API keys to perform actions from non-whitelisted IPs |
| welcome | string Reference to the welcome |
| parent | string Reference to the parent this organisation belongs to |
{- "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
}
{- "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
}
| OrganisationId required | string The id of the organisation to retrieve |
{- "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
}
| OrganisationId required | string The id of the organisation to update |
Update organisation
| provider_id | string External provider ID |
| country_code | string Country code |
string The organisation's email address | |
| extended_address | string Address extension, e.g. apartment, floor or suite |
| locality | string The organisation's locality / city |
| name | string The name of the organisation |
| phone | string The organisation's telephone number |
| postal_code | string The organisation's postal code |
| region | string The organisation's country region |
| street | string The organisation street address |
| street_number | integer or null The organisation street number |
| legal | string The organisation's legal structure |
| tax_number | string or null The organisation's tax number |
| registration_number | string or null The registration number of the organization at the (local) chamber of commerce |
| whitelist_enabled | boolean Whitelist enabled setting If set to true, prevents the Organisation's API keys to perform actions from non-whitelisted IPs |
| welcome | string Reference to the welcome |
{- "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
}
{- "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 the hierarchical view of organisations based on organisation or one of the sub-organisations
| OrganisationId required | string The id of the organisation |
[- {
- "children": [
- { }
] - "id": "fab04e42-0901-4e33-839d-4a326d037497",
- "name": "Example name",
- "parent": "8db3257c-2052-4b79-990b-86a5a38835ba"
}
]
| OrganisationId required | string The id of the organisation |
| organisationId | string Skips a number of results |
| _limit | integer [ 1 .. 2000 ] Default: 100 The maximum amount of results |
| _populate | string Populates the full details of a related resource. It's possible to populate multiple resources. Separate the resources by space |
| _skip | integer Skips a number of results |
| _sort | string Sorts the results by ascending order according to the provided field. If the field is prefixed with '-'' (e.g. -created_at), the order is descending |
[- {
- "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"
}
]
| OrganisationId required | string The id of the organisation to retrieve |
Create new organisation
| first_name required | string The first name(s) of the contact, 100 characters or less |
| last_name required | string The last name(s) of the contact, 100 characters or less |
| date_of_birth | string or null The date of birth of a person, 10 characters, ISO-8601 (YYYY-MM-DD) |
| country_of_birth | string or null A 2-letter ISO3166 alpha-2. Country code for country of birth |
| country_nationality | string or null A 2-letter ISO3166 alpha-2. Country code for nationality |
| country_residence | string or null A 2-letter ISO3166 alpha-2. Country code for country of residence |
| public_function | boolean or null Contact has public function |
| ubo | boolean or null Contact is ultimate beneficial owner (UBO) |
{- "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
}
{- "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"
}
| OrganisationId required | string The id of the organisation to retrieve |
| ContactId required | string The id of the contact to retrieve |
{- "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"
}
| OrganisationId required | string The id of the organisation to update |
| ContactId required | string The id of the contact to update |
Update organisation contact
| first_name | string The first name(s) of the contact, 100 characters or less |
| last_name | string The last name(s) of the contact, 100 characters or less |
| date_of_birth | string or null The date of birth of a person, 10 characters, ISO-8601 (YYYY-MM-DD) |
| country_of_birth | string or null A 2-letter ISO3166 alpha-2. Country code for country of birth |
| country_nationality | string or null A 2-letter ISO3166 alpha-2. Country code for nationality |
| country_residence | string or null A 2-letter ISO3166 alpha-2. Country code for country of residence |
| public_function | boolean or null Contact has public function |
| ubo | boolean or null Contact is ultimate beneficial owner (UBO) |
{- "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
}
{- "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"
}
Used for whitelisting IPs that have access to the API. If enabled, only these IPs are allowed to initiate a transaction/refund
| OrganisationId required | string The id of the Organisation to retrieve whitelists |
| _populate | string Populates the full details of a related resource. It's possible to populate multiple resources. Separate the resources by space |
[- {
- "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"
}
]
| OrganisationId required | string The id of the Organisation to retrieve whitelists |
Whitelist
| description required | string Item description |
| ip required | string Ip address |
{- "description": "Production server IP",
- "ip": "123.123.123.123"
}
{- "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"
}
| OrganisationId required | string The id of the Organisation to retrieve whitelists |
| WhitelistId required | string The id of the whitelist to retrieve |
{- "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"
}
| OrganisationId required | string The id of the Organisation to retrieve whitelists |
| WhitelistId required | string The id of the whitelist to update |
Update whitelist
| description | string Item description |
| ip | string Ip address |
{- "description": "Production server IP",
- "ip": "123.123.123.123"
}
{- "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"
}
| _limit | integer [ 1 .. 2000 ] Default: 100 The maximum amount of results |
| _populate | string Populates the full details of a related resource. It's possible to populate multiple resources. Separate the resources by space |
| _skip | integer Skips a number of results |
| _sort | string Sorts the results by ascending order according to the provided field. If the field is prefixed with '-'' (e.g. -created_at), the order is descending |
| _search | string Search based on id, name or description |
[- {
- "currency_code": "ALL",
- "description": "Main payment profile",
- "disabled": true,
- "display_name": "Profile",
- "id": "7c23a50d-8699-431c-a82b-a78718d2b6f6",
- "middleware": "5f3b358a-a32f-4c96-8b82-ee2ab3ae008f",
- "name": "Profile 1",
- "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
- "processors": "c4e6b136-c1fb-41e6-9328-09e01dbc6df5",
- "routing": {
- "card": "2fbca8b5-87c8-41bd-8c73-09953ad3ed87",
- "dummy": "b4311837-8be6-48c7-ac44-fe113807d161"
}, - "webhook_failed_email": "failedwebhook@example.com",
- "website": "example.com"
}
]
PaymentProfile
| description | string A description of the payment profile |
| website | string Website |
| disabled | boolean If set to true, it prevents the user from performing any actions on this payment profile |
| name required | string The name of the payment profile |
| display_name required | string The display name of the payment profile; used for hosted payment pages |
| processors | string A list of processor ids attached to this payment profile |
| middleware | string A list of middleware ids attached to this payment profile |
| webhook_chargeback_update | string A webhook url that is called when a chargeback is updated |
| webhook_refund_update | string A webhook url that is called when a refund is updated |
| webhook_transaction_update | string A webhook url that is called when a transaction is updated |
| webhook_failed_email | string We’ll try to deliver a webhook multiple times. When this fails we’ll send an email with the details to this email address |
| routing | object Routing per payment product |
| organisation required | string Reference to the organisation this payment profile belongs to |
| currency_code required | string Enum: "ALL" "AMD" "AUD" "AZN" "BAM" "BGN" "BRL" "BYN" "CAD" "CHF" "COP" "CZK" "DKK" "EUR" "GBP" "GEL" "HUF" "INR" "ISK" "JPY" "MAD" "MDL" "MKD" "MXN" "NOK" "NZD" "PHP" "PLN" "RON" "RSD" "RUB" "SAR" "SEK" "THB" "TRY" "UAH" "USD" "ZAR" The currency code associated to this payment profile |
{- "currency_code": "ALL",
- "description": "Main payment profile",
- "disabled": true,
- "display_name": "Profile",
- "middleware": "5f3b358a-a32f-4c96-8b82-ee2ab3ae008f",
- "name": "Profile 1",
- "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
- "processors": "c4e6b136-c1fb-41e6-9328-09e01dbc6df5",
- "routing": {
- "card": "2fbca8b5-87c8-41bd-8c73-09953ad3ed87",
- "dummy": "b4311837-8be6-48c7-ac44-fe113807d161"
}, - "webhook_failed_email": "failedwebhook@example.com",
- "website": "example.com"
}
[- {
- "currency_code": "ALL",
- "description": "Main payment profile",
- "disabled": true,
- "display_name": "Profile",
- "id": "7c23a50d-8699-431c-a82b-a78718d2b6f6",
- "middleware": "5f3b358a-a32f-4c96-8b82-ee2ab3ae008f",
- "name": "Profile 1",
- "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
- "processors": "c4e6b136-c1fb-41e6-9328-09e01dbc6df5",
- "routing": {
- "card": "2fbca8b5-87c8-41bd-8c73-09953ad3ed87",
- "dummy": "b4311837-8be6-48c7-ac44-fe113807d161"
}, - "webhook_failed_email": "failedwebhook@example.com",
- "website": "example.com"
}
]
| PaymentProfileId required | string The id of the payment profile to retrieve |
{- "currency_code": "ALL",
- "description": "Main payment profile",
- "disabled": true,
- "display_name": "Profile",
- "id": "7c23a50d-8699-431c-a82b-a78718d2b6f6",
- "middleware": "5f3b358a-a32f-4c96-8b82-ee2ab3ae008f",
- "name": "Profile 1",
- "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
- "processors": "c4e6b136-c1fb-41e6-9328-09e01dbc6df5",
- "routing": {
- "card": "2fbca8b5-87c8-41bd-8c73-09953ad3ed87",
- "dummy": "b4311837-8be6-48c7-ac44-fe113807d161"
}, - "webhook_failed_email": "failedwebhook@example.com",
- "website": "example.com"
}
| PaymentProfileId required | string The id of the payment profile to update |
PaymentProfile
| description | string A description of the payment profile |
| website | string Website |
| disabled | boolean If set to true, it prevents the user from performing any actions on this payment profile |
| name | string The name of the payment profile |
| display_name | string The display name of the payment profile; used for hosted payment pages |
| processors | string A list of processor ids attached to this payment profile |
| middleware | string A list of middleware ids attached to this payment profile |
| webhook_chargeback_update | string A webhook url that is called when a chargeback is updated |
| webhook_refund_update | string A webhook url that is called when a refund is updated |
| webhook_transaction_update | string A webhook url that is called when a transaction is updated |
| webhook_failed_email | string We’ll try to deliver a webhook multiple times. When this fails we’ll send an email with the details to this email address |
| routing | object Routing per payment product |
{- "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_failed_email": "failedwebhook@example.com",
- "website": "example.com"
}
[- {
- "currency_code": "ALL",
- "description": "Main payment profile",
- "disabled": true,
- "display_name": "Profile",
- "id": "7c23a50d-8699-431c-a82b-a78718d2b6f6",
- "middleware": "5f3b358a-a32f-4c96-8b82-ee2ab3ae008f",
- "name": "Profile 1",
- "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
- "processors": "c4e6b136-c1fb-41e6-9328-09e01dbc6df5",
- "routing": {
- "card": "2fbca8b5-87c8-41bd-8c73-09953ad3ed87",
- "dummy": "b4311837-8be6-48c7-ac44-fe113807d161"
}, - "webhook_failed_email": "failedwebhook@example.com",
- "website": "example.com"
}
]
| _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 |
[- {
- "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": "alipay",
- "processors": "c4e6b136-c1fb-41e6-9328-09e01dbc6df5,9ea84d17-1f82-425e-bfac-3e6e9787162c",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
| _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 |
[- {
- "gateway": "adyen",
- "id": "c4e6b136-c1fb-41e6-9328-09e01dbc6df5",
- "name": "string",
- "payment_product": "card"
}
]
| _limit | integer [ 1 .. 2000 ] Default: 100 The maximum amount of results |
| _populate | string Populates the full details of a related resource. It's possible to populate multiple resources. Separate the resources by space |
| _skip | integer Skips a number of results |
| _sort | string Sorts the results by ascending order according to the provided field. If the field is prefixed with '-'' (e.g. -created_at), the order is descending |
| _search | string Search based on id or payment product |
[- {
- "created_at": "2019-08-24T14:15:22Z",
- "id": "502ec437-2dfc-449c-b4f8-5a6ceac24d45",
- "name": "Retry",
- "normal": [
- "c4e6b136-c1fb-41e6-9328-09e01dbc6df5",
- "26ab2cc8-c0e7-4329-ab46-1de6f4e5af0c"
], - "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
- "payment_product": "card",
- "threeds": [
- "c4e6b136-c1fb-41e6-9328-09e01dbc6df5",
- "26ab2cc8-c0e7-4329-ab46-1de6f4e5af0c"
], - "updated_at": "2019-08-24T14:15:22Z"
}
]
Create new retry configuration
| name required | string The name of the Retry item |
| payment_product required | string Enum: "card" "applepay" Payment product |
| normal required | Array of strings Normal retry configuration: array of processor IDs |
| threeds required | Array of strings or null 3DS retry configuration: array of processor IDs |
| organisation required | string Reference to the organisation this retry configuration belongs to |
{- "name": "Retry",
- "normal": [
- "c4e6b136-c1fb-41e6-9328-09e01dbc6df5",
- "26ab2cc8-c0e7-4329-ab46-1de6f4e5af0c"
], - "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
- "payment_product": "card",
- "threeds": [
- "c4e6b136-c1fb-41e6-9328-09e01dbc6df5",
- "26ab2cc8-c0e7-4329-ab46-1de6f4e5af0c"
],
}
{- "created_at": "2019-08-24T14:15:22Z",
- "id": "502ec437-2dfc-449c-b4f8-5a6ceac24d45",
- "name": "Retry",
- "normal": [
- "c4e6b136-c1fb-41e6-9328-09e01dbc6df5",
- "26ab2cc8-c0e7-4329-ab46-1de6f4e5af0c"
], - "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
- "payment_product": "card",
- "threeds": [
- "c4e6b136-c1fb-41e6-9328-09e01dbc6df5",
- "26ab2cc8-c0e7-4329-ab46-1de6f4e5af0c"
], - "updated_at": "2019-08-24T14:15:22Z"
}
| RetryId required | string The id of the retry configuration to retrieve |
{- "created_at": "2019-08-24T14:15:22Z",
- "id": "502ec437-2dfc-449c-b4f8-5a6ceac24d45",
- "name": "Retry",
- "normal": [
- "c4e6b136-c1fb-41e6-9328-09e01dbc6df5",
- "26ab2cc8-c0e7-4329-ab46-1de6f4e5af0c"
], - "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
- "payment_product": "card",
- "threeds": [
- "c4e6b136-c1fb-41e6-9328-09e01dbc6df5",
- "26ab2cc8-c0e7-4329-ab46-1de6f4e5af0c"
], - "updated_at": "2019-08-24T14:15:22Z"
}
| RetryId required | string The id of the retry configuration to update |
Update retry configuration
| name | string The name of the Retry item |
| payment_product | string Enum: "card" "applepay" Payment product |
| normal | Array of strings Normal retry configuration: array of processor IDs |
| threeds | Array of strings or null 3DS retry configuration: array of processor IDs |
{- "name": "Retry",
- "normal": [
- "c4e6b136-c1fb-41e6-9328-09e01dbc6df5",
- "26ab2cc8-c0e7-4329-ab46-1de6f4e5af0c"
], - "payment_product": "card",
- "threeds": [
- "c4e6b136-c1fb-41e6-9328-09e01dbc6df5",
- "26ab2cc8-c0e7-4329-ab46-1de6f4e5af0c"
]
}
{- "created_at": "2019-08-24T14:15:22Z",
- "id": "502ec437-2dfc-449c-b4f8-5a6ceac24d45",
- "name": "Retry",
- "normal": [
- "c4e6b136-c1fb-41e6-9328-09e01dbc6df5",
- "26ab2cc8-c0e7-4329-ab46-1de6f4e5af0c"
], - "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
- "payment_product": "card",
- "threeds": [
- "c4e6b136-c1fb-41e6-9328-09e01dbc6df5",
- "26ab2cc8-c0e7-4329-ab46-1de6f4e5af0c"
], - "updated_at": "2019-08-24T14:15:22Z"
}
| _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 |
[- {
- "category": "TRANSACTION",
- "description": "All transaction roles",
- "name": "TRANSACTION_ALL",
- "psp": true
}
]
| _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 |
[- {
- "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
| text required | string Tag description text |
| color required | string Tag color |
| organisation required | string Reference to the organisation this tag belongs to |
{- "color": "#F9BA0C",
- "organisation": "fab04e42-0901-4e33-839d-4a326d037497",
- "text": "High amount"
}
{- "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"
}
{- "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"
}
| TagId required | string The id of the tag to update |
Update tag
| text | string Tag description text |
| color | string Tag color |
{- "color": "#F9BA0C",
- "text": "High amount"
}
{- "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"
}
| _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 |
[- {
- "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"
}
]
User
| name required | string The name of the user |
| phone_number | string or null The telephone or mobile number of this user, ITU/E.123 format with international prefix (+PPNNNNNNNNN...) |
| language | string Enum: "de" "en" "es" "fr" "nl" User language (ISO 639-1, Alpha-2 code) |
| number_format | string Enum: "en_US" "nl_NL" Number format locale |
| date_format | string Enum: "en_US" "nl_NL" Date format locale |
| mfa | boolean If set to true, multi factor authentication is enabled |
| mfa_type | string Enum: "" "google" "email" "sms" Multi factor authentication type |
| welcome | string Reference to the welcome message linked to this user, can only be passed by a user with PSP role |
| organisation required | string Reference to the organisation this user belongs to |
| email required | string The user's email address |
{- "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"
}
[- {
- "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"
}
]
{- "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"
}
| UserId required | string The id of the user to update |
Update user
| name | string The name of the user |
| phone_number | string or null The telephone or mobile number of this user, ITU/E.123 format with international prefix (+PPNNNNNNNNN...) |
| language | string Enum: "de" "en" "es" "fr" "nl" User language (ISO 639-1, Alpha-2 code) |
| number_format | string Enum: "en_US" "nl_NL" Number format locale |
| date_format | string Enum: "en_US" "nl_NL" Date format locale |
| mfa | boolean If set to true, multi factor authentication is enabled |
| mfa_type | string Enum: "" "google" "email" "sms" Multi factor authentication type |
| welcome | string Reference to the welcome message linked to this user, can only be passed by a user with PSP role |
| mfa_code | string Optional MFA code (for Google MFA) |
{- "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"
}
{- "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"
}
| UserId required | string The id of the user to update |
Roles
| roles | Array of strings Array of roles |
{- "roles": [
- "string"
]
}
[- {
- "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"
}
]
| _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 |
[- {
- "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"
],
}
]
Apikey
| name required | string Apikey name |
| ip_white_list | Array of strings Array of allowed ip addresses |
| organisation required | string Reference to the organisation this api key belongs to |
{- "ip_white_list": [
- "192.168.0.1"
], - "name": "Apikey",
- "organisation": "fab04e42-0901-4e33-839d-4a326d037497"
}
[- {
- "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"
],
}
]
| apikeyId required | string The id of the apikey to retrieve |
{- "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"
],
}
| apikeyId required | string The id of the apikey to update |
Update apikey
| name | string Apikey name |
| ip_white_list | Array of strings Array of allowed ip addresses |
{- "ip_white_list": [
- "192.168.0.1"
] - "name": "Apikey"
}
{- "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"
],
}
| apikeyId required | string The id of the apikey to update roles |
Roles
| roles | Array of strings Array of roles |
{- "roles": [
- "string"
]
}
[- {
- "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"
],
}
]
| apikeyId required | string The id of the apikey to get |
password
| password | string The user's password |
{- "password": "string"
}
{- "apikey": "string"
}
login
| username | string The user's email address |
| password required | string The user's password |
| fingerprint | string Browser fingerprint |
| mfa_cookie | string Remember MFA cookie |
{- "fingerprint": "4ffe339968b9112e44ff0f2e967ccd12",
- "mfa_cookie": "wPBbZ1VYwap73soi34y5F99Iyjgn9vua0cKDBtubXS30PdixzN",
- "password": "string",
- "username": "example@example.com"
}
{- "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
| username required | string The user's email address |
| code required | string MFA code supplied by the user |
| token | string MFA token received during login step |
| remember | boolean Remember MFA for current device for 30 days (fingerprint required) |
| fingerprint | string Browser fingerprint |
{- "code": "123123",
- "fingerprint": "wPBbZ1VYwap73soi34y5F99Iyjgn9vua0cKDBtubXS30PdixzN",
- "remember": true,
- "token": "fGgTKpA10rp4mZ5gBH2FarmHl36RjzlpEsfgNMUVNHd9q50wdce",
- "username": "string"
}
{- "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
| token required | string MFA set-up one time token received during login step |
| mfa_type required | string Enum: "google" "email" "sms" Type of MFA |
| mfa_code | string Optional MFA code (for Google MFA) |
{- "mfa_code": "string",
- "mfa_type": "email",
- "token": "fGgTKpA10rp4mZ5gBH2FarmHl36RjzlpEsfgNMUVNHd9q50wdce"
}
{- "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"
}
Update Password
| token required | string The password update token |
| password required | string The new user password |
{- "password": "string",
- "token": "fGgTKpA10rp4mZ5gBH2FarmHl36RjzlpEsfgNMUVNHd9q50wdce"
}
Update Email
| token required | string The email update token |
| email required | string The new user email address |
{- "email": "new@example.com",
- "token": "fGgTKpA10rp4mZ5gBH2FarmHl36RjzlpEsfgNMUVNHd9q50wdce"
}
| _limit | integer [ 1 .. 2000 ] Default: 100 The maximum amount of results |
| _populate | string Populates the full details of a related resource. It's possible to populate multiple resources. Separate the resources by space |
| _skip | integer Skips a number of results |
| _sort | string Sorts the results by ascending order according to the provided field. If the field is prefixed with '-'' (e.g. -created_at), the order is descending |
| _search | string Search mcc |
[- {
- "description": "Merchants classified with this MCC are licensed practitioners of veterinary medicine.",
- "includes": "Animal Doctors",
- "number": "0742",
- "similar": "5995",
- "title": "Veterinary Services"
}
]
| MccId required | string The id of the mcc to retrieve |
{- "description": "Merchants classified with this MCC are licensed practitioners of veterinary medicine.",
- "includes": "Animal Doctors",
- "number": "0742",
- "similar": "5995",
- "title": "Veterinary Services"
}