Download OpenAPI specification:
Hi 👋
Before you dive into the code, please read this first.
This documentation is still in development. Some endpoints may not work correctly yet.
Use this only as a concept — do not share it.
For direct integration with in3 you can use the transactionProcessing endpoints below. Refer to the endpoint documentation for request/response details and error handling.
/merchant-cpsp/transactions: Create a new transaction/merchant-cpsp/transactions/{transactionId}: Get transaction detailsThis endpoint is used to create an in3 transaction by the Merchant/CPSP. In case of a non-deterministic failure (timeout, 429, or 5xx), the Merchant/CPSP should retry this endpoint once.
required | object (Amount) |
| description required | string (TransactionDescription) [ 1 .. 35 ] characters Description shown to the user and on statement. |
| reference required | string (TransactionReference) [ 1 .. 35 ] characters [a-zA-Z0-9]{1,35} External transaction reference used for reconciliation. |
| expirationPeriod | integer <int64> [ 60 .. 3600 ] |
| transactionType | string (TransactionType) Value: "ONLINE" Transaction type used in this transaction.
|
| transactionFlow | string (TransactionFlow) Value: "STANDARD" Transaction flow which the Merchant/CPSP desires to initiate.
|
required | object (CreateTransactionCreditor) |
object (RequestedCheckoutDetails) | |
| mcc | string (MCC) = 4 characters Merchant Category Code |
| transactionCallbackUrl required | string <uri> (TransactionCallbackUrl) |
| returnUrl required | string (ReturnUrl) |
| issuerId | string (IssuerId) [ 8 .. 11 ] characters ^[A-Z]{6}[A-Z2-9][A-NP-Z0-9]([A-Z0-9]{3}){0,1... |
{- "amount": {
- "amount": 50,
- "breakdown": {
- "orderAmount": 50,
- "shippingCost": 999999999999
}, - "type": "FIXED",
- "maximum": 50,
- "minimum": 50,
- "currency": "EUR"
}, - "description": "Bike",
- "reference": "in3Purchase",
- "expirationPeriod": 60,
- "transactionType": "ONLINE",
- "transactionFlow": "STANDARD",
- "creditor": {
- "sub": {
- "id": 1234,
- "name": "Dutch BikeShop"
}, - "countryCode": "NL"
}, - "requestedCheckoutDetails": {
- "debtorContactDetails": {
- "firstName": false,
- "lastName": false,
- "phoneNumber": false,
- "email": false
}, - "shippingAddress": false,
- "invoiceAddress": false
}, - "mcc": 5812,
- "issuerId": "RABONL2UXXX"
}{- "transactionId": "0001000000000001",
- "createdDateTimestamp": "2019-08-24T14:15:22Z",
- "expiryDateTimestamp": "2019-08-24T14:15:22Z",
- "description": "Bike",
- "reference": "in3Purchase",
- "transactionType": "ONLINE",
- "transactionFlow": "STANDARD",
- "amount": {
- "amount": 50,
- "breakdown": {
- "orderAmount": 50,
- "shippingCost": 999999999999
}, - "type": "FIXED",
- "maximum": 50,
- "minimum": 50,
- "currency": "EUR"
}, - "creditor": {
- "id": "100000001",
- "name": "The Dutch BikeShop Company N.V.",
- "sub": {
- "id": 1234,
- "name": "Dutch BikeShop"
}, - "cpsp": false,
- "cpspSchemeId": "s8f0kg85Sk",
- "c2cProviderSchemeId": "8f9gss92ks0",
- "countryCode": "NL",
- "iban": "NL44RABO0123456789",
- "bic": "INGBNL2AXXX"
}, - "mcc": 5812,
- "issuerId": "RABONL2UXXX",
- "notificationResult": "PUSH_SENT_SHOW_WAITING_SCREEN",
- "requestedCheckoutDetails": {
- "debtorContactDetails": {
- "firstName": false,
- "lastName": false,
- "phoneNumber": false,
- "email": false
}, - "shippingAddress": false,
- "invoiceAddress": false
}
}This API is used to get the details of the transaction identified by transactionId.
This api should NOT implement a retry mechanism on this endpoint but they can try it once only in the following situations:
| transactionId required | string = 16 characters [0-9]{16} Example: 0001000000000001 The unique numeric identifier generated by in3 for a transaction. |
{- "status": "OPEN",
- "guaranteedAmount": 1000,
- "finalStateDateTimestamp": "2019-08-24T14:15:22Z",
- "debtor": {
- "iban": "NL44RABO0123456789",
- "bic": "ABNANL2AXXX",
- "name": "Pieter Jan",
- "checkoutDetails": {
- "contactDetails": {
- "firstName": "string",
- "lastName": "string",
- "phoneNumber": "string",
- "email": "user@example.com"
}, - "shippingAddress": {
- "firstName": "string",
- "lastName": "string",
- "companyName": "string",
- "postalCode": "string",
- "houseNumber": "string",
- "addition": "string",
- "street": "string",
- "city": "string",
- "countryName": "string"
}, - "invoiceAddress": {
- "firstName": "string",
- "lastName": "string",
- "companyName": "string",
- "postalCode": "string",
- "houseNumber": "string",
- "addition": "string",
- "street": "string",
- "city": "string",
- "countryName": "string"
}
}
}, - "transactionId": "0001000000000001",
- "createdDateTimestamp": "2019-08-24T14:15:22Z",
- "expiryDateTimestamp": "2019-08-24T14:15:22Z",
- "description": "Bike",
- "reference": "in3Purchase",
- "transactionType": "ONLINE",
- "transactionFlow": "STANDARD",
- "amount": {
- "amount": 50,
- "breakdown": {
- "orderAmount": 50,
- "shippingCost": 999999999999
}, - "type": "FIXED",
- "maximum": 50,
- "minimum": 50,
- "currency": "EUR"
}, - "creditor": {
- "id": "100000001",
- "name": "The Dutch BikeShop Company N.V.",
- "sub": {
- "id": 1234,
- "name": "Dutch BikeShop"
}, - "cpsp": false,
- "cpspSchemeId": "s8f0kg85Sk",
- "c2cProviderSchemeId": "8f9gss92ks0",
- "countryCode": "NL",
- "iban": "NL44RABO0123456789",
- "bic": "INGBNL2AXXX"
}, - "mcc": 5812,
- "issuerId": "RABONL2UXXX"
}