Order processing (1.0.0)

Download OpenAPI specification:Download

Order processing REST API.

Authentication

bearerAuth

Security Scheme Type HTTP
HTTP Authorization Scheme bearer
Bearer format "access-token"

Order

Transaction

Payment Processing

Initiate payment

Initiate payment with an order

Authorizations:
path Parameters
mid
required
integer

The merchant id

orderId
required
string

The order id

Request Body schema: application/json

Request body describing the payment

orderDescription
string <= 100 characters

The OrderDescription can be used in some Soft Descriptor scenarios.

orderDetailDescription
string <= 100 characters

Can sometimes be used in Soft Descriptor scenarios.

paymentMethodId
integer
Default: 1000

The payment method Id. Examples of acceptable values are 1 = 'Nordea', 10 = 'Bank Austria'.

required
object

Currency may be represented by either currency or numericCurrency, not both.

object

Additional data related to payment processing.

Array of objects[ items ]

Line items in an order.

autoCapture
boolean

Defaults to false. If set to true the system will automatically capture the payment of the order for card payments. For redirect payments this is simply an indicator to the partner bank whether to withdraw funds automatically or not. Not all partner banks support this.

transactionChannel
required
string
Enum: "Web Online" "Cash Register" "Telephone" "Mail" "FaceToFace" "Digital Wallet" "In-app" "Voice Recognition" "MOTO"

A String with the name of transaction channel used to process the transaction. Case sensitive, space must be included where applicable.

object

Card related information. Although all elements are optional in this data type, some elements are mandatory for some transaction types and for some card types.

object
object
object

Billing information, such as the invoicing address to a card holder.

object

Shipping information, such as the invoicing address to a card holder.

object
object
requestId
string <= 50 characters [A-Za-z0-9_-]{0,50}

Request identifier, set by the merchant. Evaluated against [A-Za-z0-9_-]{0,50}

createToken
boolean
Default: false

Should a token be created for the passed PAN

token
string <= 64 characters

Payment instrument Token. Referring to a previously stored payment instrument such as a card number.

orderScopeReferenceTransactionId
number

Use to indicate that this request is to be processed in the same order scope as the transaction id provided.

object

Information relating to browser and traffic routing.

object
object
object
object
object

Additional data related to fraud screening

object
object
authenticationVerificationData
string

The verification data of the authentication. To be used in InitiatePaymentRequest.

authenticationApplication
string

The used authentication method. To be used in InitiatePaymentRequest.

object

Contains data regarding credentials on file feature

schemeToken
boolean
Default: false

Defaults to false. Set to true if network or scheme token like MDES or VTS will be used.

cardServiceCryptogram
string

This field will be used to pass the cryptogram we receive in case of scheme tokenization or wallet.

Responses

Request samples

Content type
application/json
{
  • "orderDescription": "description",
  • "orderDetailDescription": "detailed desc",
  • "paymentMethodId": 1,
  • "amount": {
    },
  • "payInfo": {
    },
  • "lineItems": [
    ],
  • "autoCapture": true,
  • "transactionChannel": "Web Online",
  • "cardInfo": {
    },
  • "cardVerificationInfo": {
    },
  • "cardAuthenticationInfo": {
    },
  • "billingInfo": {
    },
  • "shippingInfo": {
    },
  • "bankBillingInfo": {
    },
  • "fraudControl": {
    },
  • "requestId": "request-id-101",
  • "createToken": true,
  • "token": "9000033649121111",
  • "orderScopeReferenceTransactionId": 10059432245,
  • "browserInfo": {
    },
  • "merchantInfo": {
    },
  • "subMerchantInfo": {
    },
  • "cardPresentAuthInfo": {
    },
  • "recurringInfo": {
    },
  • "fraudScreeningData": {
    },
  • "redirectInfo": {},
  • "threeDSecureInfo": {
    },
  • "authenticationVerificationData": "string",
  • "authenticationApplication": "string",
  • "storedCredentialInfo": {
    },
  • "schemeToken": true,
  • "cardServiceCryptogram": "string"
}

Response samples

Content type
application/json
{
  • "mid": 1570616552,
  • "orderId": "order_example_1",
  • "orderDetailDescription": "detailed desc",
  • "orderDescription": "description",
  • "orderAmount": 10.5,
  • "fulfilmentAmount": 10.5,
  • "capturedAmount": 0,
  • "refundedAmount": 0,
  • "currency": "EUR",
  • "baseCurrency": "EUR",
  • "baseOrderAmount": 10.5,
  • "baseFulfilmentAmount": 10.5,
  • "baseCapturedAmount": 0,
  • "baseRefundedAmount": 0,
  • "capturable": true,
  • "cancelable": true,
  • "refundable": false,
  • "completable": false,
  • "dccIndicator": false,
  • "timestamp": "2019-11-05T10:05:43.569Z",
  • "transactionReferences": [
    ]
}

Completes one order given merchant id and order id

Completes a redirect transactions of a payment order given a merchant id and order id. If the Payment Method is returning data, this must be passed on in this call.

Authorizations:
path Parameters
mid
required
integer

The merchant id

orderId
required
string

The order id

Request Body schema: application/json

Request body describing the complete

redirectParameterString
string

Parameter string that may be needed in order to successfully complete payment

Responses

Request samples

Content type
application/json
{
  • "redirectParameterString": "A=X&B=Y"
}

Response samples

Content type
application/json
{
  • "mid": 1570616552,
  • "orderId": "order_example_1",
  • "orderDetailDescription": "detailed desc",
  • "orderDescription": "description",
  • "orderAmount": 10.5,
  • "fulfilmentAmount": 10.5,
  • "capturedAmount": 0,
  • "refundedAmount": 0,
  • "currency": "EUR",
  • "baseCurrency": "EUR",
  • "baseOrderAmount": 10.5,
  • "baseFulfilmentAmount": 10.5,
  • "baseCapturedAmount": 0,
  • "baseRefundedAmount": 0,
  • "capturable": true,
  • "cancelable": true,
  • "refundable": false,
  • "completable": false,
  • "dccIndicator": false,
  • "timestamp": "2019-11-05T10:05:43.569Z",
  • "transactionReferences": [