Public endpoints
Use this endpoint to directly request an access_token
Use HTTP Basic authentication scheme for
authenticating grant_type client_credentials
, use
client_id/client_secret as user/password.
Use HTTP Bearer authentication scheme for authenticating
grant_type authorization_code
or password
, where the
Bearer value must be a JWT toke with access to the token
endpoint.
Use HTTP Bearer authentication scheme for authenticating
grant_type account_user_token
, where the Bearer value
must be a account user JWT token.
Use ID token as Bearer toke if the user was authenticated externally. The ID must include a
Use HTTP Bearer authentication scheme for authenticating
grant_type refresh_token
where the Bearer value must
be an Access Token for the clients that was used to create
the Refresh Token.
When a request is made to the endpoint to get an access token,
normally you either get an error, or you get an access token.
However, when the MFA is enabled, the endpoint may return a new
error with error.code: mfa_required
.
When an mfa_required
error is returned, the client must perform
a challenge
. This is done by sending a request to the
auth/mfa/challenge endpoint
To verify MFA using an OOB challenge, the client must make a request to
this endpoint with grant_type=mfa-oob
. Include the oob_code
you
received from the challenge response, as well as the mfa_token
you
received as part of mfa_required error.
scopes:
oid required | string <^[PT]{1}(?=(?:.{3}|.{8})$)[0-9]*$> An id that uniquely identifies the account or owner (partner) |
grant_type required | string |
audience required | string The unique identifier of the target API you want to access. The audience must be a grant associated with the client |
{- "grant_type": "client_credentials",
}
{- "access_token": "eyJhbGci...t7P4",
- "token_type": "Bearer",
- "expires_in": 86400,
- "refresh_token": "string"
}
A Checkout Session relates to an order in your system. When an order has been placed you create a corresponding Checkout Session to receive payment for that order.
Create a corresponding Checkout Session for an order placed in your system using predefined session profile
Note that items
is a required property when creating a session with
Instabank configured.
scopes:
include_session | boolean Include all details about the session created |
Dintero-Feature-Toggles | Array of strings Default: Items Value: "strict-session-amounts" Feature toggles that will change how the API works. These feature toggles are usually the preferred way to use the API, but they break the current API.
|
Dintero-System-Name | string <= 120 characters The name of the ecommerce solution Example: |
Dintero-System-Version | string <= 120 characters The version number of the ecommerce solution Example: |
Dintero-System-Plugin-Name | string <= 120 characters The name of the ecommerce plugin Example: |
Dintero-System-Plugin-Version | string <= 120 characters The version number of the ecommerce plugin Example: |
required | object (SessionOrder) |
required | object (SessionUrls) |
profile_id required | string configuration profile |
object | |
expires_at | string <date-time> |
object (PaymentConfiguration) Override configuration for the profile. | |
object (Merchant) Configure merchant information used in the checkout. | |
object Present only for Express Checkout sessions.An Express Checkout session is a session where the end user will submit a shipping address and then select a shipping option before the before a payment method is selected and the payment is initiated. Endpoints used in the Express Checkout flow. | |
object <= 10 properties Additional metadata about the resource |
{- "url": {
}, - "customer": {
- "customer_id": "string",
- "email": "john.doe@example.com",
- "phone_number": "+4799999999",
- "tokens": {
- "payex.creditcard": {
- "payment_token": "string",
- "recurrence_token": "string"
}
}
}, - "order": {
- "amount": 72200,
- "currency": "NOK",
- "vat_amount": 13660,
- "merchant_reference_2": "string",
- "shipping_address": {
- "first_name": "John",
- "last_name": "Doe",
- "address_line": "string",
- "address_line_2": "string",
- "co_address": "Land Lord",
- "business_name": "string",
- "postal_code": "0349",
- "postal_place": "Oslo",
- "country": "NO",
- "phone_number": "string",
- "email": "string",
- "latitude": 0,
- "longitude": 0,
- "comment": "string",
- "organization_number": "string",
- "customer_reference": "string",
- "cost_center": "string"
}, - "billing_address": {
- "first_name": "John",
- "last_name": "Doe",
- "address_line": "string",
- "address_line_2": "string",
- "co_address": "Land Lord",
- "business_name": "string",
- "postal_code": "0349",
- "postal_place": "Oslo",
- "country": "NO",
- "phone_number": "string",
- "email": "string",
- "latitude": 0,
- "longitude": 0,
- "comment": "string",
- "organization_number": "string",
- "customer_reference": "string",
- "cost_center": "string"
}, - "partial_payment": false,
- "items": [
- {
- "amount": 2000,
- "quantity": 2,
- "line_id": "1",
- "description": "Forsvinnignspølse",
- "vat": 20,
- "id": "10"
}, - {
- "amount": 6600,
- "quantity": 2,
- "line_id": "2",
- "description": "Vissvossafår på neppebrød",
- "vat": 20,
- "id": "6",
- "eligible_for_discount": true,
- "is_changed": true,
- "gross_amount": 10000,
- "discount_lines": [
- {
- "amount": 4400,
- "discount_type": "customer",
- "discount_id": "ed960ace-eb16-4e2e-ae52-b27647ccae8d",
- "description": "Vossafestpris",
- "line_id": 1
}
]
}, - {
- "amount": 59700,
- "quantity": 3,
- "line_id": "3",
- "description": "Luftboller",
- "vat": 20,
- "id": "1"
}
], - "shipping_option": {
- "id": "bring-pick-up-00001",
- "line_id": "bring-pick-up-00001-location-0a1f6b",
- "countries": [
- "NO"
], - "amount": 3900,
- "vat_amount": 975,
- "vat": 25,
- "title": "Standard",
- "description": "Pick up at your nearest postal office",
- "delivery_method": "pick_up",
- "operator": "Bring",
- "operator_product_id": "pick-up-00001-location-0a1f6b",
- "eta": {
- "starts_at": "2020-10-14T19:00:00Z",
- "ends_at": "2020-10-14T20:00:00Z"
}, - "time_slot": {
- "starts_at": "2020-10-14T19:00:00Z",
- "ends_at": "2020-10-14T20:00:00Z"
}, - "pick_up_address": {
- "first_name": "John",
- "last_name": "Doe",
- "address_line": "string",
- "address_line_2": "string",
- "co_address": "Land Lord",
- "business_name": "string",
- "postal_code": "0349",
- "postal_place": "Oslo",
- "country": "NO",
- "phone_number": "string",
- "email": "string",
- "latitude": 0,
- "longitude": 0,
- "comment": "string",
- "organization_number": "string",
- "customer_reference": "string",
- "cost_center": "string",
- "distance": 0
}, - "metadata": {
- "operator_dest": "XAB1239",
- "number_x": 1921
}, - "fee_split": {
- "type": "proportional",
- "destinations": [
- "string"
]
}, - "splits": [
- {
- "payout_destination_id": "P000000001",
- "amount": 29700
}
]
}, - "store": {
- "id": "sc029",
- "name": "SC Oslo",
- "business_name": "SC Oslo AS",
- "address": {
- "address_line": "Sommerkroveien 34",
- "address_line_2": "PB 123",
- "postal_code": "0349",
- "postal_place": "Oslo",
- "country": "NO"
}, - "chain": "SuperChain",
- "email": "contact@superchain.com",
- "gln": "5790001398644",
- "organization_number": "123456789MVA",
- "phone_number": "+4738260107",
- "mcc": "5814",
- "bax": "102603",
- "terminal_id": "T0292"
}, - "discount_lines": [
- {
- "amount": 4400,
- "percentage": 44,
- "discount_type": "customer",
- "discount_id": "766da0ef-9283-42bd-b012-0582344ec53c",
- "description": "string",
- "line_id": 1
}
], - "discount_codes": [
- "SUMMER20"
], - "payout_destination_id": "string",
- "merchant_reference": "string"
}, - "expires_at": "2019-08-24T14:15:22Z",
- "configuration": {
- "auto_capture": true,
- "channel": "in_app",
- "publish": [
- {
- "channel": "sms",
- "type": "checkout-link"
}
], - "active_payment_types": {
- "enabled": true
}, - "default_payment_type": "bambora.creditcard",
- "bambora": {
- "type": "payment_type",
- "creditcard": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable"
}, - "mobilepay": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable"
}, - "vipps": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable"
}
}, - "instabank": {
- "finance": {
- "enabled": true,
- "payability": "payable"
}, - "invoice": {
- "enabled": true,
- "payability": "payable",
- "require_applicant": true
}, - "installment": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable"
}, - "postponement": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable"
}
}, - "netaxept": {
- "type": "payment_type",
- "creditcard": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable",
- "terminal": {
- "terminal": "/Terminal/default.aspx",
- "terminal_design": "string",
- "terminal_single_page": true,
- "terminal_layout": "string"
}
}
}, - "payex": {
- "dynamic_descriptor": "string",
- "swish": {
- "enabled": true,
- "payability": "payable"
}, - "creditcard": {
- "enabled": true,
- "payability": "payable",
- "generate_payment_token": false,
- "generate_recurrence_token": false,
- "no_cvc": true
}, - "mobilepay": {
- "enabled": true,
- "payability": "payable"
}, - "vipps": {
- "enabled": true,
- "payability": "payable"
}, - "applepay": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable"
}, - "clicktopay": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable"
}, - "googlepay": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable"
}
}, - "vipps": {
- "enabled": true,
- "payability": "payable",
- "dynamic_descriptor": "string"
}, - "collector": {
- "type": "payment_type",
- "dynamic_descriptor": "string",
- "invoice": {
- "type": "payment_product_type",
- "enabled": true,
- "countries": [
- "string"
], - "options": {
- "enable_on_hold": true
}, - "payability": "payable"
}, - "invoice_b2b": {
- "type": "payment_product_type",
- "payability": "payable",
- "enabled": true,
- "countries": [
- "string"
], - "options": {
- "disable_collector_b2b_address_enforcement": false,
- "enable_on_hold": true
}
}, - "invoice_b2b_preapproved": {
- "type": "payment_product_type",
- "payability": "payable",
- "enabled": true,
- "countries": [
- "string"
], - "accounts": [
- {
- "billing_address": {
- "business_name": "string",
- "organization_number": "stringstr",
- "address_line": "string",
- "address_line_2": "string",
- "co_address": "string",
- "postal_code": "0349",
- "postal_place": "Oslo",
- "country": "NO",
- "phone_number": "string",
- "email": "string",
- "customer_reference": "string",
- "cost_center": "string",
- "first_name": "John",
- "last_name": "Doe",
- "address_id": "address_1"
}, - "company_id": "string"
}
]
}, - "finance": {
- "type": "payment_product_type",
- "enabled": true,
- "countries": [
- "string"
], - "payability": "payable"
}, - "installment": {
- "type": "payment_product_type",
- "enabled": true,
- "countries": [
- "string"
], - "options": {
- "enable_on_hold": true
}, - "payability": "payable"
}
}, - "klarna": {
- "type": "payment_type",
- "klarna": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable"
}
}, - "santander": {
- "type": "payment_type",
- "debit_account": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable",
- "branding_name": "string",
- "accounts": [
- {
- "account_number_token": "string",
- "masked_account_number": "string"
}
]
}
}, - "swish": {
- "type": "payment_type",
- "swish": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable"
}
}, - "payout": {
- "payment_products": [
- {
- "payment_product": "bambora"
}
]
}, - "discounts": {
- "express_discount_codes": {
- "payability": "payable",
- "enabled": true
}, - "order": {
- "enabled": false
}
}, - "theme": {
- "backdrop": "string",
- "primary": "string",
- "text": "string",
- "warning": "string",
- "error": "string",
- "font-family": "string"
}, - "countries": {
- "preferred_country": "string",
- "allow_countries": [
- "string"
], - "deny_countries": [
- "string"
]
}
}, - "profile_id": "string",
- "express": {
- "shipping_options": [
- {
- "id": "bring-pick-up-00001",
- "line_id": "bring-pick-up-00001-location-0a1f6b",
- "countries": [
- "NO"
], - "amount": 3900,
- "vat_amount": 975,
- "vat": 25,
- "title": "Standard",
- "description": "Pick up at your nearest postal office",
- "delivery_method": "pick_up",
- "operator": "Bring",
- "operator_product_id": "pick-up-00001-location-0a1f6b",
- "eta": {
- "starts_at": "2020-10-14T19:00:00Z",
- "ends_at": "2020-10-14T20:00:00Z"
}, - "time_slot": {
- "starts_at": "2020-10-14T19:00:00Z",
- "ends_at": "2020-10-14T20:00:00Z"
}, - "pick_up_address": {
- "first_name": "John",
- "last_name": "Doe",
- "address_line": "string",
- "address_line_2": "string",
- "co_address": "Land Lord",
- "business_name": "string",
- "postal_code": "0349",
- "postal_place": "Oslo",
- "country": "NO",
- "phone_number": "string",
- "email": "string",
- "latitude": 0,
- "longitude": 0,
- "comment": "string",
- "organization_number": "string",
- "customer_reference": "string",
- "cost_center": "string",
- "distance": 0
}, - "metadata": {
- "operator_dest": "XAB1239",
- "number_x": 1921
}
}
], - "shipping_mode": "shipping_required",
- "discount_codes": {
- "max_count": 0,
}, - "customer_types": [
- "b2c",
- "b2b"
]
}, - "metadata": {
- "system_x_id": "XAB1239",
- "number_x": 1921
}
}
{- "id": "string",
- "publish": [
- {
- "channel": "sms",
- "type": "checkout-link",
- "id": "string",
- "status": "sent"
}
], - "session": {
- "id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "url": {
}, - "customer": {
- "customer_id": "string",
- "email": "john.doe@example.com",
- "phone_number": "+4799999999",
- "my_dintero": {
- "actions": [
- "create_user"
],
}, - "tokens": {
- "payex.creditcard": {
- "payment_token_id": "2134a260d196b1d65e59b259dc43f619d7f0f3c6"
}
}
}, - "order": {
- "amount": 72200,
- "currency": "NOK",
- "vat_amount": 13660,
- "merchant_reference_2": "string",
- "shipping_address": {
- "first_name": "John",
- "last_name": "Doe",
- "address_line": "string",
- "address_line_2": "string",
- "co_address": "Land Lord",
- "business_name": "string",
- "postal_code": "0349",
- "postal_place": "Oslo",
- "country": "NO",
- "phone_number": "string",
- "email": "string",
- "latitude": 0,
- "longitude": 0,
- "comment": "string",
- "organization_number": "string",
- "customer_reference": "string",
- "cost_center": "string"
}, - "billing_address": {
- "first_name": "John",
- "last_name": "Doe",
- "address_line": "string",
- "address_line_2": "string",
- "co_address": "Land Lord",
- "business_name": "string",
- "postal_code": "0349",
- "postal_place": "Oslo",
- "country": "NO",
- "phone_number": "string",
- "email": "string",
- "latitude": 0,
- "longitude": 0,
- "comment": "string",
- "organization_number": "string",
- "customer_reference": "string",
- "cost_center": "string"
}, - "partial_payment": false,
- "items": [
- {
- "amount": 2000,
- "quantity": 2,
- "line_id": "1",
- "description": "Forsvinnignspølse",
- "vat": 20,
- "id": "10"
}, - {
- "amount": 6600,
- "quantity": 2,
- "line_id": "2",
- "description": "Vissvossafår på neppebrød",
- "vat": 20,
- "id": "6",
- "eligible_for_discount": true,
- "is_changed": true,
- "gross_amount": 10000,
- "discount_lines": [
- {
- "amount": 4400,
- "discount_type": "customer",
- "discount_id": "ed960ace-eb16-4e2e-ae52-b27647ccae8d",
- "description": "Vossafestpris",
- "line_id": 1
}
]
}, - {
- "amount": 59700,
- "quantity": 3,
- "line_id": "3",
- "description": "Luftboller",
- "vat": 20,
- "id": "1"
}
], - "gross_amount": 0,
- "is_changed": true,
- "shipping_option": {
- "id": "bring-pick-up-00001",
- "line_id": "bring-pick-up-00001-location-0a1f6b",
- "countries": [
- "NO"
], - "amount": 3900,
- "vat_amount": 975,
- "vat": 25,
- "title": "Standard",
- "description": "Pick up at your nearest postal office",
- "delivery_method": "pick_up",
- "operator": "Bring",
- "operator_product_id": "pick-up-00001-location-0a1f6b",
- "eta": {
- "starts_at": "2020-10-14T19:00:00Z",
- "ends_at": "2020-10-14T20:00:00Z"
}, - "time_slot": {
- "starts_at": "2020-10-14T19:00:00Z",
- "ends_at": "2020-10-14T20:00:00Z"
}, - "pick_up_address": {
- "first_name": "John",
- "last_name": "Doe",
- "address_line": "string",
- "address_line_2": "string",
- "co_address": "Land Lord",
- "business_name": "string",
- "postal_code": "0349",
- "postal_place": "Oslo",
- "country": "NO",
- "phone_number": "string",
- "email": "string",
- "latitude": 0,
- "longitude": 0,
- "comment": "string",
- "organization_number": "string",
- "customer_reference": "string",
- "cost_center": "string",
- "distance": 0
}, - "metadata": {
- "operator_dest": "XAB1239",
- "number_x": 1921
}, - "fee_split": {
- "type": "proportional",
- "destinations": [
- "string"
]
}, - "splits": [
- {
- "payout_destination_id": "P000000001",
- "amount": 29700
}
]
}, - "store": {
- "id": "sc029",
- "name": "SC Oslo",
- "business_name": "SC Oslo AS",
- "address": {
- "address_line": "Sommerkroveien 34",
- "address_line_2": "PB 123",
- "postal_code": "0349",
- "postal_place": "Oslo",
- "country": "NO"
}, - "chain": "SuperChain",
- "email": "contact@superchain.com",
- "gln": "5790001398644",
- "organization_number": "123456789MVA",
- "phone_number": "+4738260107",
- "mcc": "5814",
- "bax": "102603",
- "terminal_id": "T0292"
}, - "discount_lines": [
- {
- "amount": 4400,
- "percentage": 44,
- "discount_type": "customer",
- "discount_id": "766da0ef-9283-42bd-b012-0582344ec53c",
- "description": "string",
- "line_id": 1
}
], - "discount_codes": [
- "SUMMER20"
], - "payout_destination_id": "string",
- "merchant_reference": "string"
}, - "expires_at": "2019-08-24T14:15:22Z",
- "express": {
- "shipping_options": [
- {
- "id": "bring-pick-up-00001",
- "line_id": "bring-pick-up-00001-location-0a1f6b",
- "countries": [
- "NO"
], - "amount": 3900,
- "vat_amount": 975,
- "vat": 25,
- "title": "Standard",
- "description": "Pick up at your nearest postal office",
- "delivery_method": "pick_up",
- "operator": "Bring",
- "operator_product_id": "pick-up-00001-location-0a1f6b",
- "eta": {
- "starts_at": "2020-10-14T19:00:00Z",
- "ends_at": "2020-10-14T20:00:00Z"
}, - "time_slot": {
- "starts_at": "2020-10-14T19:00:00Z",
- "ends_at": "2020-10-14T20:00:00Z"
}, - "pick_up_address": {
- "first_name": "John",
- "last_name": "Doe",
- "address_line": "string",
- "address_line_2": "string",
- "co_address": "Land Lord",
- "business_name": "string",
- "postal_code": "0349",
- "postal_place": "Oslo",
- "country": "NO",
- "phone_number": "string",
- "email": "string",
- "latitude": 0,
- "longitude": 0,
- "comment": "string",
- "organization_number": "string",
- "customer_reference": "string",
- "cost_center": "string",
- "distance": 0
}, - "metadata": {
- "operator_dest": "XAB1239",
- "number_x": 1921
}
}
], - "shipping_mode": "shipping_required",
- "discount_codes": {
- "max_count": 0,
}, - "customer_types": [
- "b2c",
- "b2b"
]
}, - "configuration": {
- "auto_capture": true,
- "channel": "in_app",
- "publish": [
- {
- "channel": "sms",
- "type": "checkout-link",
- "id": "string",
- "status": "sent"
}
], - "active_payment_types": {
- "enabled": true
}, - "default_payment_type": "bambora.creditcard",
- "bambora": {
- "type": "payment_type",
- "creditcard": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable"
}, - "mobilepay": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable"
}, - "vipps": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable"
}
}, - "instabank": {
- "finance": {
- "enabled": true,
- "payability": "payable",
- "product": {
- "product_code": "630",
- "minimum_monthly_balance_rate": "1.67",
- "annual_interest_rate": "0.0",
- "effective_annual_interest_rate": "0.0",
- "origination_fee": 9500,
- "notification_fee": 3900,
- "minimum_amount": 20000,
- "loan_example": {
- "amount": 2500000,
- "years": 1,
- "total_amount": 2772300,
- "cost": 272300,
- "effective_annual_interest_rate": "21.38"
}, - "branding_image_url": "string"
}
}, - "invoice": {
- "enabled": true,
- "payability": "payable",
- "require_applicant": true,
- "product": {
- "product_code": "632",
- "due_in_days": 10,
- "minimum_amount": 20000,
- "invoice_fee": 9500,
- "require_applicant_amount": 7500000,
- "branding_image_url": "string"
}
}, - "installment": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable",
- "products": [
- {
- "minimum_amount": 20000,
- "product_code": "633",
- "credit_time": 36,
- "origination_fee": 9500,
- "notification_fee": 3900,
- "annual_interest_rate": "0.0",
- "effective_annual_interest_rate": "54.69",
- "total_amount": 309400,
- "monthly_amount": 100000,
- "first_monthly_amount": 109500,
- "require_applicant_amount": 2500000,
- "loan_example": {
- "amount": 2500000,
- "years": 1,
- "total_amount": 2772300,
- "cost": 272300,
- "effective_annual_interest_rate": "21.38"
}, - "branding_image_url": "string"
}
]
}, - "postponement": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable",
- "products": [
- {
- "minimum_amount": 20000,
- "product_code": "633",
- "postponement_months": 36,
- "origination_fee": 9500,
- "notification_fee": 3900,
- "annual_interest_rate": "0.0",
- "effective_annual_interest_rate": "54.69",
- "total_amount": 309400,
- "require_applicant_amount": 2500000,
- "loan_example": {
- "amount": 2500000,
- "years": 1,
- "total_amount": 2772300,
- "cost": 272300,
- "effective_annual_interest_rate": "21.38"
}, - "branding_image_url": "string"
}
]
}
}, - "netaxept": {
- "type": "payment_type",
- "creditcard": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable",
- "terminal": {
- "terminal": "/Terminal/default.aspx",
- "terminal_design": "string",
- "terminal_single_page": true,
- "terminal_layout": "string"
}
}
}, - "payex": {
- "dynamic_descriptor": "string",
- "swish": {
- "enabled": true,
- "payability": "payable"
}, - "creditcard": {
- "enabled": true,
- "payability": "payable",
- "generate_payment_token": false,
- "generate_recurrence_token": false,
- "no_cvc": true
}, - "mobilepay": {
- "enabled": true,
- "payability": "payable"
}, - "vipps": {
- "enabled": true,
- "payability": "payable"
}, - "applepay": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable"
}, - "clicktopay": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable"
}, - "googlepay": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable"
}
}, - "vipps": {
- "enabled": true,
- "payability": "payable",
- "dynamic_descriptor": "string"
}, - "collector": {
- "type": "payment_type",
- "dynamic_descriptor": "string",
- "invoice": {
- "type": "payment_product_type",
- "enabled": true,
- "countries": [
- "string"
], - "options": {
- "enable_on_hold": true
}, - "payability": "payable"
}, - "invoice_b2b": {
- "type": "payment_product_type",
- "payability": "payable",
- "enabled": true,
- "countries": [
- "string"
], - "options": {
- "disable_collector_b2b_address_enforcement": false,
- "enable_on_hold": true
}
}, - "invoice_b2b_preapproved": {
- "type": "payment_product_type",
- "payability": "payable",
- "enabled": true,
- "countries": [
- "string"
], - "accounts": [
- {
- "billing_address": {
- "business_name": "string",
- "organization_number": "stringstr",
- "address_line": "string",
- "address_line_2": "string",
- "co_address": "string",
- "postal_code": "0349",
- "postal_place": "Oslo",
- "country": "NO",
- "phone_number": "string",
- "email": "string",
- "customer_reference": "string",
- "cost_center": "string",
- "first_name": "John",
- "last_name": "Doe",
- "address_id": "address_1"
}, - "company_id": "string"
}
]
}, - "finance": {
- "type": "payment_product_type",
- "enabled": true,
- "countries": [
- "string"
], - "payability": "payable"
}, - "installment": {
- "type": "payment_product_type",
- "enabled": true,
- "countries": [
- "string"
], - "options": {
- "enable_on_hold": true
}, - "payability": "payable"
}
}, - "klarna": {
- "type": "payment_type",
- "klarna": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable"
}
}, - "santander": {
- "type": "payment_type",
- "debit_account": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable",
- "branding_name": "string",
- "accounts": [
- {
- "account_number_token": "string",
- "masked_account_number": "string"
}
]
}
}, - "swish": {
- "type": "payment_type",
- "swish": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable"
}
}, - "payout": {
- "payment_products": [
- {
- "payment_product": "bambora"
}
]
}, - "discounts": {
- "type": "discounts",
- "express_discount_codes": {
- "payability": "payable",
- "enabled": true
}, - "order": {
- "enabled": false
}
}, - "theme": {
- "backdrop": "string",
- "primary": "string",
- "text": "string",
- "warning": "string",
- "error": "string",
- "font-family": "string"
}, - "countries": {
- "preferred_country": "string",
- "allow_countries": [
- "string"
], - "deny_countries": [
- "string"
]
},
}, - "updated_at": "2019-08-24T14:15:22Z",
- "customer_ip": "string",
- "user_agent": "string",
- "initiating_system_request_headers": {
- "dintero-system-name": "woocommerce",
- "dintero-system-version": "5.0.0",
- "dintero-system-plugin-name": "Dintero.Checkout.WooCommerce",
- "dintero-system-plugin-version": "2021.03.02",
- "user-agent": "Mozilla: Mozilla/5.0"
}, - "payment_operation": "unscheduled_purchase",
- "events": [
- {
- "id": "769952fe-86c9-4185-a1ce-aeb46da3509c",
- "name": "INITIATED",
- "created_at": "2019-05-09T09:13:40.306Z",
- "request_id": "b97b6312-f8b3-11ed-be56-0242ac120002"
}, - {
- "name": "VISITED",
- "created_at": "2019-05-09T09:13:50.548Z"
}, - {
- "name": "PAY_FAILED",
- "created_at": "2019-05-09T09:14:10.548Z",
- "details": {
- "error": "Rejected",
- "payment_product_type": "instabank.finance"
}
}, - {
- "name": "FAILED",
- "created_at": "2019-05-09T09:16:11.786Z"
}
], - "transaction_id": "string",
- "metadata": {
- "session:profile_id": "string"
}, - "cancelled_by": "string",
- "cancelled_at": "2019-08-24T14:15:22Z"
}
}
scopes:
session_id required | string <checkout-id> The session ID |
includes | Array of strings Items Enum: "events.request_headers" "initiating_system_request_headers" Include aditional data that are by default excluded from the session details.
|
{- "id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "url": {
}, - "customer": {
- "customer_id": "string",
- "email": "john.doe@example.com",
- "phone_number": "+4799999999",
- "my_dintero": {
- "actions": [
- "create_user"
],
}, - "tokens": {
- "payex.creditcard": {
- "payment_token_id": "2134a260d196b1d65e59b259dc43f619d7f0f3c6"
}
}
}, - "order": {
- "amount": 72200,
- "currency": "NOK",
- "vat_amount": 13660,
- "merchant_reference_2": "string",
- "shipping_address": {
- "first_name": "John",
- "last_name": "Doe",
- "address_line": "string",
- "address_line_2": "string",
- "co_address": "Land Lord",
- "business_name": "string",
- "postal_code": "0349",
- "postal_place": "Oslo",
- "country": "NO",
- "phone_number": "string",
- "email": "string",
- "latitude": 0,
- "longitude": 0,
- "comment": "string",
- "organization_number": "string",
- "customer_reference": "string",
- "cost_center": "string"
}, - "billing_address": {
- "first_name": "John",
- "last_name": "Doe",
- "address_line": "string",
- "address_line_2": "string",
- "co_address": "Land Lord",
- "business_name": "string",
- "postal_code": "0349",
- "postal_place": "Oslo",
- "country": "NO",
- "phone_number": "string",
- "email": "string",
- "latitude": 0,
- "longitude": 0,
- "comment": "string",
- "organization_number": "string",
- "customer_reference": "string",
- "cost_center": "string"
}, - "partial_payment": false,
- "items": [
- {
- "amount": 2000,
- "quantity": 2,
- "line_id": "1",
- "description": "Forsvinnignspølse",
- "vat": 20,
- "id": "10"
}, - {
- "amount": 6600,
- "quantity": 2,
- "line_id": "2",
- "description": "Vissvossafår på neppebrød",
- "vat": 20,
- "id": "6",
- "eligible_for_discount": true,
- "is_changed": true,
- "gross_amount": 10000,
- "discount_lines": [
- {
- "amount": 4400,
- "discount_type": "customer",
- "discount_id": "ed960ace-eb16-4e2e-ae52-b27647ccae8d",
- "description": "Vossafestpris",
- "line_id": 1
}
]
}, - {
- "amount": 59700,
- "quantity": 3,
- "line_id": "3",
- "description": "Luftboller",
- "vat": 20,
- "id": "1"
}
], - "gross_amount": 0,
- "is_changed": true,
- "shipping_option": {
- "id": "bring-pick-up-00001",
- "line_id": "bring-pick-up-00001-location-0a1f6b",
- "countries": [
- "NO"
], - "amount": 3900,
- "vat_amount": 975,
- "vat": 25,
- "title": "Standard",
- "description": "Pick up at your nearest postal office",
- "delivery_method": "pick_up",
- "operator": "Bring",
- "operator_product_id": "pick-up-00001-location-0a1f6b",
- "eta": {
- "starts_at": "2020-10-14T19:00:00Z",
- "ends_at": "2020-10-14T20:00:00Z"
}, - "time_slot": {
- "starts_at": "2020-10-14T19:00:00Z",
- "ends_at": "2020-10-14T20:00:00Z"
}, - "pick_up_address": {
- "first_name": "John",
- "last_name": "Doe",
- "address_line": "string",
- "address_line_2": "string",
- "co_address": "Land Lord",
- "business_name": "string",
- "postal_code": "0349",
- "postal_place": "Oslo",
- "country": "NO",
- "phone_number": "string",
- "email": "string",
- "latitude": 0,
- "longitude": 0,
- "comment": "string",
- "organization_number": "string",
- "customer_reference": "string",
- "cost_center": "string",
- "distance": 0
}, - "metadata": {
- "operator_dest": "XAB1239",
- "number_x": 1921
}, - "fee_split": {
- "type": "proportional",
- "destinations": [
- "string"
]
}, - "splits": [
- {
- "payout_destination_id": "P000000001",
- "amount": 29700
}
]
}, - "store": {
- "id": "sc029",
- "name": "SC Oslo",
- "business_name": "SC Oslo AS",
- "address": {
- "address_line": "Sommerkroveien 34",
- "address_line_2": "PB 123",
- "postal_code": "0349",
- "postal_place": "Oslo",
- "country": "NO"
}, - "chain": "SuperChain",
- "email": "contact@superchain.com",
- "gln": "5790001398644",
- "organization_number": "123456789MVA",
- "phone_number": "+4738260107",
- "mcc": "5814",
- "bax": "102603",
- "terminal_id": "T0292"
}, - "discount_lines": [
- {
- "amount": 4400,
- "percentage": 44,
- "discount_type": "customer",
- "discount_id": "766da0ef-9283-42bd-b012-0582344ec53c",
- "description": "string",
- "line_id": 1
}
], - "discount_codes": [
- "SUMMER20"
], - "payout_destination_id": "string",
- "merchant_reference": "string"
}, - "expires_at": "2019-08-24T14:15:22Z",
- "express": {
- "shipping_options": [
- {
- "id": "bring-pick-up-00001",
- "line_id": "bring-pick-up-00001-location-0a1f6b",
- "countries": [
- "NO"
], - "amount": 3900,
- "vat_amount": 975,
- "vat": 25,
- "title": "Standard",
- "description": "Pick up at your nearest postal office",
- "delivery_method": "pick_up",
- "operator": "Bring",
- "operator_product_id": "pick-up-00001-location-0a1f6b",
- "eta": {
- "starts_at": "2020-10-14T19:00:00Z",
- "ends_at": "2020-10-14T20:00:00Z"
}, - "time_slot": {
- "starts_at": "2020-10-14T19:00:00Z",
- "ends_at": "2020-10-14T20:00:00Z"
}, - "pick_up_address": {
- "first_name": "John",
- "last_name": "Doe",
- "address_line": "string",
- "address_line_2": "string",
- "co_address": "Land Lord",
- "business_name": "string",
- "postal_code": "0349",
- "postal_place": "Oslo",
- "country": "NO",
- "phone_number": "string",
- "email": "string",
- "latitude": 0,
- "longitude": 0,
- "comment": "string",
- "organization_number": "string",
- "customer_reference": "string",
- "cost_center": "string",
- "distance": 0
}, - "metadata": {
- "operator_dest": "XAB1239",
- "number_x": 1921
}
}
], - "shipping_mode": "shipping_required",
- "discount_codes": {
- "max_count": 0,
}, - "customer_types": [
- "b2c",
- "b2b"
]
}, - "configuration": {
- "auto_capture": true,
- "channel": "in_app",
- "publish": [
- {
- "channel": "sms",
- "type": "checkout-link",
- "id": "string",
- "status": "sent"
}
], - "active_payment_types": {
- "enabled": true
}, - "default_payment_type": "bambora.creditcard",
- "bambora": {
- "type": "payment_type",
- "creditcard": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable"
}, - "mobilepay": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable"
}, - "vipps": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable"
}
}, - "instabank": {
- "finance": {
- "enabled": true,
- "payability": "payable",
- "product": {
- "product_code": "630",
- "minimum_monthly_balance_rate": "1.67",
- "annual_interest_rate": "0.0",
- "effective_annual_interest_rate": "0.0",
- "origination_fee": 9500,
- "notification_fee": 3900,
- "minimum_amount": 20000,
- "loan_example": {
- "amount": 2500000,
- "years": 1,
- "total_amount": 2772300,
- "cost": 272300,
- "effective_annual_interest_rate": "21.38"
}, - "branding_image_url": "string"
}
}, - "invoice": {
- "enabled": true,
- "payability": "payable",
- "require_applicant": true,
- "product": {
- "product_code": "632",
- "due_in_days": 10,
- "minimum_amount": 20000,
- "invoice_fee": 9500,
- "require_applicant_amount": 7500000,
- "branding_image_url": "string"
}
}, - "installment": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable",
- "products": [
- {
- "minimum_amount": 20000,
- "product_code": "633",
- "credit_time": 36,
- "origination_fee": 9500,
- "notification_fee": 3900,
- "annual_interest_rate": "0.0",
- "effective_annual_interest_rate": "54.69",
- "total_amount": 309400,
- "monthly_amount": 100000,
- "first_monthly_amount": 109500,
- "require_applicant_amount": 2500000,
- "loan_example": {
- "amount": 2500000,
- "years": 1,
- "total_amount": 2772300,
- "cost": 272300,
- "effective_annual_interest_rate": "21.38"
}, - "branding_image_url": "string"
}
]
}, - "postponement": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable",
- "products": [
- {
- "minimum_amount": 20000,
- "product_code": "633",
- "postponement_months": 36,
- "origination_fee": 9500,
- "notification_fee": 3900,
- "annual_interest_rate": "0.0",
- "effective_annual_interest_rate": "54.69",
- "total_amount": 309400,
- "require_applicant_amount": 2500000,
- "loan_example": {
- "amount": 2500000,
- "years": 1,
- "total_amount": 2772300,
- "cost": 272300,
- "effective_annual_interest_rate": "21.38"
}, - "branding_image_url": "string"
}
]
}
}, - "netaxept": {
- "type": "payment_type",
- "creditcard": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable",
- "terminal": {
- "terminal": "/Terminal/default.aspx",
- "terminal_design": "string",
- "terminal_single_page": true,
- "terminal_layout": "string"
}
}
}, - "payex": {
- "dynamic_descriptor": "string",
- "swish": {
- "enabled": true,
- "payability": "payable"
}, - "creditcard": {
- "enabled": true,
- "payability": "payable",
- "generate_payment_token": false,
- "generate_recurrence_token": false,
- "no_cvc": true
}, - "mobilepay": {
- "enabled": true,
- "payability": "payable"
}, - "vipps": {
- "enabled": true,
- "payability": "payable"
}, - "applepay": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable"
}, - "clicktopay": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable"
}, - "googlepay": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable"
}
}, - "vipps": {
- "enabled": true,
- "payability": "payable",
- "dynamic_descriptor": "string"
}, - "collector": {
- "type": "payment_type",
- "dynamic_descriptor": "string",
- "invoice": {
- "type": "payment_product_type",
- "enabled": true,
- "countries": [
- "string"
], - "options": {
- "enable_on_hold": true
}, - "payability": "payable"
}, - "invoice_b2b": {
- "type": "payment_product_type",
- "payability": "payable",
- "enabled": true,
- "countries": [
- "string"
], - "options": {
- "disable_collector_b2b_address_enforcement": false,
- "enable_on_hold": true
}
}, - "invoice_b2b_preapproved": {
- "type": "payment_product_type",
- "payability": "payable",
- "enabled": true,
- "countries": [
- "string"
], - "accounts": [
- {
- "billing_address": {
- "business_name": "string",
- "organization_number": "stringstr",
- "address_line": "string",
- "address_line_2": "string",
- "co_address": "string",
- "postal_code": "0349",
- "postal_place": "Oslo",
- "country": "NO",
- "phone_number": "string",
- "email": "string",
- "customer_reference": "string",
- "cost_center": "string",
- "first_name": "John",
- "last_name": "Doe",
- "address_id": "address_1"
}, - "company_id": "string"
}
]
}, - "finance": {
- "type": "payment_product_type",
- "enabled": true,
- "countries": [
- "string"
], - "payability": "payable"
}, - "installment": {
- "type": "payment_product_type",
- "enabled": true,
- "countries": [
- "string"
], - "options": {
- "enable_on_hold": true
}, - "payability": "payable"
}
}, - "klarna": {
- "type": "payment_type",
- "klarna": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable"
}
}, - "santander": {
- "type": "payment_type",
- "debit_account": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable",
- "branding_name": "string",
- "accounts": [
- {
- "account_number_token": "string",
- "masked_account_number": "string"
}
]
}
}, - "swish": {
- "type": "payment_type",
- "swish": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable"
}
}, - "payout": {
- "payment_products": [
- {
- "payment_product": "bambora"
}
]
}, - "discounts": {
- "type": "discounts",
- "express_discount_codes": {
- "payability": "payable",
- "enabled": true
}, - "order": {
- "enabled": false
}
}, - "theme": {
- "backdrop": "string",
- "primary": "string",
- "text": "string",
- "warning": "string",
- "error": "string",
- "font-family": "string"
}, - "countries": {
- "preferred_country": "string",
- "allow_countries": [
- "string"
], - "deny_countries": [
- "string"
]
},
}, - "updated_at": "2019-08-24T14:15:22Z",
- "customer_ip": "string",
- "user_agent": "string",
- "initiating_system_request_headers": {
- "dintero-system-name": "woocommerce",
- "dintero-system-version": "5.0.0",
- "dintero-system-plugin-name": "Dintero.Checkout.WooCommerce",
- "dintero-system-plugin-version": "2021.03.02",
- "user-agent": "Mozilla: Mozilla/5.0"
}, - "payment_operation": "unscheduled_purchase",
- "events": [
- {
- "id": "769952fe-86c9-4185-a1ce-aeb46da3509c",
- "name": "INITIATED",
- "created_at": "2019-05-09T09:13:40.306Z",
- "request_id": "b97b6312-f8b3-11ed-be56-0242ac120002"
}, - {
- "name": "VISITED",
- "created_at": "2019-05-09T09:13:50.548Z"
}, - {
- "name": "PAY_FAILED",
- "created_at": "2019-05-09T09:14:10.548Z",
- "details": {
- "error": "Rejected",
- "payment_product_type": "instabank.finance"
}
}, - {
- "name": "FAILED",
- "created_at": "2019-05-09T09:16:11.786Z"
}
], - "transaction_id": "string",
- "metadata": {
- "session:profile_id": "string"
}, - "cancelled_by": "string",
- "cancelled_at": "2019-08-24T14:15:22Z"
}
Session must be locked for paying before updating.
Requirements:
order.shipping_option
must be included in express_shipping_options
if both are set.order.amount
must be equal to the sum of order.items
and order.shipping_option
scopes:
session_id required | string <checkout-id> The session ID |
force_shipping_address_callback | boolean Default: false If If |
update_without_lock | boolean Default: false Allow updating session without it having been locked first. Allowed for server-to-server when the checkout has not been rendered yet. |
Dintero-System-Name | string <= 120 characters The name of the ecommerce solution Example: |
Dintero-System-Version | string <= 120 characters The version number of the ecommerce solution Example: |
Dintero-System-Plugin-Name | string <= 120 characters The name of the ecommerce plugin Example: |
Dintero-System-Plugin-Version | string <= 120 characters The version number of the ecommerce plugin Example: |
required | object (SessionOrderUpdate) |
object (SessionExpressUpdate) | |
remove_lock | boolean Default: true Remove lock after updating |
{- "order": {
- "amount": 72200,
- "currency": "NOK",
- "vat_amount": 13660,
- "merchant_reference_2": "string",
- "shipping_address": {
- "first_name": "John",
- "last_name": "Doe",
- "address_line": "string",
- "address_line_2": "string",
- "co_address": "Land Lord",
- "business_name": "string",
- "postal_code": "0349",
- "postal_place": "Oslo",
- "country": "NO",
- "phone_number": "string",
- "email": "string",
- "latitude": 0,
- "longitude": 0,
- "comment": "string",
- "organization_number": "string",
- "customer_reference": "string",
- "cost_center": "string"
}, - "billing_address": {
- "first_name": "John",
- "last_name": "Doe",
- "address_line": "string",
- "address_line_2": "string",
- "co_address": "Land Lord",
- "business_name": "string",
- "postal_code": "0349",
- "postal_place": "Oslo",
- "country": "NO",
- "phone_number": "string",
- "email": "string",
- "latitude": 0,
- "longitude": 0,
- "comment": "string",
- "organization_number": "string",
- "customer_reference": "string",
- "cost_center": "string"
}, - "partial_payment": false,
- "items": [
- {
- "amount": 2000,
- "quantity": 2,
- "line_id": "1",
- "description": "Forsvinnignspølse",
- "vat": 20,
- "id": "10"
}, - {
- "amount": 6600,
- "quantity": 2,
- "line_id": "2",
- "description": "Vissvossafår på neppebrød",
- "vat": 20,
- "id": "6",
- "eligible_for_discount": true,
- "is_changed": true,
- "gross_amount": 10000,
- "discount_lines": [
- {
- "amount": 4400,
- "discount_type": "customer",
- "discount_id": "ed960ace-eb16-4e2e-ae52-b27647ccae8d",
- "description": "Vossafestpris",
- "line_id": 1
}
]
}, - {
- "amount": 59700,
- "quantity": 3,
- "line_id": "3",
- "description": "Luftboller",
- "vat": 20,
- "id": "1"
}
], - "shipping_option": {
- "id": "bring-pick-up-00001",
- "line_id": "bring-pick-up-00001-location-0a1f6b",
- "countries": [
- "NO"
], - "amount": 3900,
- "vat_amount": 975,
- "vat": 25,
- "title": "Standard",
- "description": "Pick up at your nearest postal office",
- "delivery_method": "pick_up",
- "operator": "Bring",
- "operator_product_id": "pick-up-00001-location-0a1f6b",
- "eta": {
- "starts_at": "2020-10-14T19:00:00Z",
- "ends_at": "2020-10-14T20:00:00Z"
}, - "time_slot": {
- "starts_at": "2020-10-14T19:00:00Z",
- "ends_at": "2020-10-14T20:00:00Z"
}, - "pick_up_address": {
- "first_name": "John",
- "last_name": "Doe",
- "address_line": "string",
- "address_line_2": "string",
- "co_address": "Land Lord",
- "business_name": "string",
- "postal_code": "0349",
- "postal_place": "Oslo",
- "country": "NO",
- "phone_number": "string",
- "email": "string",
- "latitude": 0,
- "longitude": 0,
- "comment": "string",
- "organization_number": "string",
- "customer_reference": "string",
- "cost_center": "string",
- "distance": 0
}, - "metadata": {
- "operator_dest": "XAB1239",
- "number_x": 1921
}, - "fee_split": {
- "type": "proportional",
- "destinations": [
- "string"
]
}, - "splits": [
- {
- "payout_destination_id": "P000000001",
- "amount": 29700
}
]
}, - "store": {
- "id": "sc029",
- "name": "SC Oslo",
- "business_name": "SC Oslo AS",
- "address": {
- "address_line": "Sommerkroveien 34",
- "address_line_2": "PB 123",
- "postal_code": "0349",
- "postal_place": "Oslo",
- "country": "NO"
}, - "chain": "SuperChain",
- "email": "contact@superchain.com",
- "gln": "5790001398644",
- "organization_number": "123456789MVA",
- "phone_number": "+4738260107",
- "mcc": "5814",
- "bax": "102603",
- "terminal_id": "T0292"
}, - "discount_lines": [
- {
- "amount": 4400,
- "percentage": 44,
- "discount_type": "customer",
- "discount_id": "766da0ef-9283-42bd-b012-0582344ec53c",
- "description": "string",
- "line_id": 1
}
], - "discount_codes": [
- "SUMMER20"
]
}, - "express": {
- "shipping_options": [
- {
- "id": "bring-pick-up-00001",
- "line_id": "bring-pick-up-00001-location-0a1f6b",
- "countries": [
- "NO"
], - "amount": 3900,
- "vat_amount": 975,
- "vat": 25,
- "title": "Standard",
- "description": "Pick up at your nearest postal office",
- "delivery_method": "pick_up",
- "operator": "Bring",
- "operator_product_id": "pick-up-00001-location-0a1f6b",
- "eta": {
- "starts_at": "2020-10-14T19:00:00Z",
- "ends_at": "2020-10-14T20:00:00Z"
}, - "time_slot": {
- "starts_at": "2020-10-14T19:00:00Z",
- "ends_at": "2020-10-14T20:00:00Z"
}, - "pick_up_address": {
- "first_name": "John",
- "last_name": "Doe",
- "address_line": "string",
- "address_line_2": "string",
- "co_address": "Land Lord",
- "business_name": "string",
- "postal_code": "0349",
- "postal_place": "Oslo",
- "country": "NO",
- "phone_number": "string",
- "email": "string",
- "latitude": 0,
- "longitude": 0,
- "comment": "string",
- "organization_number": "string",
- "customer_reference": "string",
- "cost_center": "string",
- "distance": 0
}, - "metadata": {
- "operator_dest": "XAB1239",
- "number_x": 1921
}
}
], - "shipping_mode": "shipping_required"
}, - "remove_lock": true
}
{- "id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "url": {
}, - "customer": {
- "customer_id": "string",
- "email": "john.doe@example.com",
- "phone_number": "+4799999999",
- "my_dintero": {
- "actions": [
- "create_user"
],
}, - "tokens": {
- "payex.creditcard": {
- "payment_token_id": "2134a260d196b1d65e59b259dc43f619d7f0f3c6"
}
}
}, - "order": {
- "amount": 72200,
- "currency": "NOK",
- "vat_amount": 13660,
- "merchant_reference_2": "string",
- "shipping_address": {
- "first_name": "John",
- "last_name": "Doe",
- "address_line": "string",
- "address_line_2": "string",
- "co_address": "Land Lord",
- "business_name": "string",
- "postal_code": "0349",
- "postal_place": "Oslo",
- "country": "NO",
- "phone_number": "string",
- "email": "string",
- "latitude": 0,
- "longitude": 0,
- "comment": "string",
- "organization_number": "string",
- "customer_reference": "string",
- "cost_center": "string"
}, - "billing_address": {
- "first_name": "John",
- "last_name": "Doe",
- "address_line": "string",
- "address_line_2": "string",
- "co_address": "Land Lord",
- "business_name": "string",
- "postal_code": "0349",
- "postal_place": "Oslo",
- "country": "NO",
- "phone_number": "string",
- "email": "string",
- "latitude": 0,
- "longitude": 0,
- "comment": "string",
- "organization_number": "string",
- "customer_reference": "string",
- "cost_center": "string"
}, - "partial_payment": false,
- "items": [
- {
- "amount": 2000,
- "quantity": 2,
- "line_id": "1",
- "description": "Forsvinnignspølse",
- "vat": 20,
- "id": "10"
}, - {
- "amount": 6600,
- "quantity": 2,
- "line_id": "2",
- "description": "Vissvossafår på neppebrød",
- "vat": 20,
- "id": "6",
- "eligible_for_discount": true,
- "is_changed": true,
- "gross_amount": 10000,
- "discount_lines": [
- {
- "amount": 4400,
- "discount_type": "customer",
- "discount_id": "ed960ace-eb16-4e2e-ae52-b27647ccae8d",
- "description": "Vossafestpris",
- "line_id": 1
}
]
}, - {
- "amount": 59700,
- "quantity": 3,
- "line_id": "3",
- "description": "Luftboller",
- "vat": 20,
- "id": "1"
}
], - "gross_amount": 0,
- "is_changed": true,
- "shipping_option": {
- "id": "bring-pick-up-00001",
- "line_id": "bring-pick-up-00001-location-0a1f6b",
- "countries": [
- "NO"
], - "amount": 3900,
- "vat_amount": 975,
- "vat": 25,
- "title": "Standard",
- "description": "Pick up at your nearest postal office",
- "delivery_method": "pick_up",
- "operator": "Bring",
- "operator_product_id": "pick-up-00001-location-0a1f6b",
- "eta": {
- "starts_at": "2020-10-14T19:00:00Z",
- "ends_at": "2020-10-14T20:00:00Z"
}, - "time_slot": {
- "starts_at": "2020-10-14T19:00:00Z",
- "ends_at": "2020-10-14T20:00:00Z"
}, - "pick_up_address": {
- "first_name": "John",
- "last_name": "Doe",
- "address_line": "string",
- "address_line_2": "string",
- "co_address": "Land Lord",
- "business_name": "string",
- "postal_code": "0349",
- "postal_place": "Oslo",
- "country": "NO",
- "phone_number": "string",
- "email": "string",
- "latitude": 0,
- "longitude": 0,
- "comment": "string",
- "organization_number": "string",
- "customer_reference": "string",
- "cost_center": "string",
- "distance": 0
}, - "metadata": {
- "operator_dest": "XAB1239",
- "number_x": 1921
}, - "fee_split": {
- "type": "proportional",
- "destinations": [
- "string"
]
}, - "splits": [
- {
- "payout_destination_id": "P000000001",
- "amount": 29700
}
]
}, - "store": {
- "id": "sc029",
- "name": "SC Oslo",
- "business_name": "SC Oslo AS",
- "address": {
- "address_line": "Sommerkroveien 34",
- "address_line_2": "PB 123",
- "postal_code": "0349",
- "postal_place": "Oslo",
- "country": "NO"
}, - "chain": "SuperChain",
- "email": "contact@superchain.com",
- "gln": "5790001398644",
- "organization_number": "123456789MVA",
- "phone_number": "+4738260107",
- "mcc": "5814",
- "bax": "102603",
- "terminal_id": "T0292"
}, - "discount_lines": [
- {
- "amount": 4400,
- "percentage": 44,
- "discount_type": "customer",
- "discount_id": "766da0ef-9283-42bd-b012-0582344ec53c",
- "description": "string",
- "line_id": 1
}
], - "discount_codes": [
- "SUMMER20"
], - "payout_destination_id": "string",
- "merchant_reference": "string"
}, - "expires_at": "2019-08-24T14:15:22Z",
- "express": {
- "shipping_options": [
- {
- "id": "bring-pick-up-00001",
- "line_id": "bring-pick-up-00001-location-0a1f6b",
- "countries": [
- "NO"
], - "amount": 3900,
- "vat_amount": 975,
- "vat": 25,
- "title": "Standard",
- "description": "Pick up at your nearest postal office",
- "delivery_method": "pick_up",
- "operator": "Bring",
- "operator_product_id": "pick-up-00001-location-0a1f6b",
- "eta": {
- "starts_at": "2020-10-14T19:00:00Z",
- "ends_at": "2020-10-14T20:00:00Z"
}, - "time_slot": {
- "starts_at": "2020-10-14T19:00:00Z",
- "ends_at": "2020-10-14T20:00:00Z"
}, - "pick_up_address": {
- "first_name": "John",
- "last_name": "Doe",
- "address_line": "string",
- "address_line_2": "string",
- "co_address": "Land Lord",
- "business_name": "string",
- "postal_code": "0349",
- "postal_place": "Oslo",
- "country": "NO",
- "phone_number": "string",
- "email": "string",
- "latitude": 0,
- "longitude": 0,
- "comment": "string",
- "organization_number": "string",
- "customer_reference": "string",
- "cost_center": "string",
- "distance": 0
}, - "metadata": {
- "operator_dest": "XAB1239",
- "number_x": 1921
}
}
], - "shipping_mode": "shipping_required",
- "discount_codes": {
- "max_count": 0,
}, - "customer_types": [
- "b2c",
- "b2b"
]
}, - "configuration": {
- "auto_capture": true,
- "channel": "in_app",
- "publish": [
- {
- "channel": "sms",
- "type": "checkout-link",
- "id": "string",
- "status": "sent"
}
], - "active_payment_types": {
- "enabled": true
}, - "default_payment_type": "bambora.creditcard",
- "bambora": {
- "type": "payment_type",
- "creditcard": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable"
}, - "mobilepay": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable"
}, - "vipps": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable"
}
}, - "instabank": {
- "finance": {
- "enabled": true,
- "payability": "payable",
- "product": {
- "product_code": "630",
- "minimum_monthly_balance_rate": "1.67",
- "annual_interest_rate": "0.0",
- "effective_annual_interest_rate": "0.0",
- "origination_fee": 9500,
- "notification_fee": 3900,
- "minimum_amount": 20000,
- "loan_example": {
- "amount": 2500000,
- "years": 1,
- "total_amount": 2772300,
- "cost": 272300,
- "effective_annual_interest_rate": "21.38"
}, - "branding_image_url": "string"
}
}, - "invoice": {
- "enabled": true,
- "payability": "payable",
- "require_applicant": true,
- "product": {
- "product_code": "632",
- "due_in_days": 10,
- "minimum_amount": 20000,
- "invoice_fee": 9500,
- "require_applicant_amount": 7500000,
- "branding_image_url": "string"
}
}, - "installment": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable",
- "products": [
- {
- "minimum_amount": 20000,
- "product_code": "633",
- "credit_time": 36,
- "origination_fee": 9500,
- "notification_fee": 3900,
- "annual_interest_rate": "0.0",
- "effective_annual_interest_rate": "54.69",
- "total_amount": 309400,
- "monthly_amount": 100000,
- "first_monthly_amount": 109500,
- "require_applicant_amount": 2500000,
- "loan_example": {
- "amount": 2500000,
- "years": 1,
- "total_amount": 2772300,
- "cost": 272300,
- "effective_annual_interest_rate": "21.38"
}, - "branding_image_url": "string"
}
]
}, - "postponement": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable",
- "products": [
- {
- "minimum_amount": 20000,
- "product_code": "633",
- "postponement_months": 36,
- "origination_fee": 9500,
- "notification_fee": 3900,
- "annual_interest_rate": "0.0",
- "effective_annual_interest_rate": "54.69",
- "total_amount": 309400,
- "require_applicant_amount": 2500000,
- "loan_example": {
- "amount": 2500000,
- "years": 1,
- "total_amount": 2772300,
- "cost": 272300,
- "effective_annual_interest_rate": "21.38"
}, - "branding_image_url": "string"
}
]
}
}, - "netaxept": {
- "type": "payment_type",
- "creditcard": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable",
- "terminal": {
- "terminal": "/Terminal/default.aspx",
- "terminal_design": "string",
- "terminal_single_page": true,
- "terminal_layout": "string"
}
}
}, - "payex": {
- "dynamic_descriptor": "string",
- "swish": {
- "enabled": true,
- "payability": "payable"
}, - "creditcard": {
- "enabled": true,
- "payability": "payable",
- "generate_payment_token": false,
- "generate_recurrence_token": false,
- "no_cvc": true
}, - "mobilepay": {
- "enabled": true,
- "payability": "payable"
}, - "vipps": {
- "enabled": true,
- "payability": "payable"
}, - "applepay": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable"
}, - "clicktopay": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable"
}, - "googlepay": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable"
}
}, - "vipps": {
- "enabled": true,
- "payability": "payable",
- "dynamic_descriptor": "string"
}, - "collector": {
- "type": "payment_type",
- "dynamic_descriptor": "string",
- "invoice": {
- "type": "payment_product_type",
- "enabled": true,
- "countries": [
- "string"
], - "options": {
- "enable_on_hold": true
}, - "payability": "payable"
}, - "invoice_b2b": {
- "type": "payment_product_type",
- "payability": "payable",
- "enabled": true,
- "countries": [
- "string"
], - "options": {
- "disable_collector_b2b_address_enforcement": false,
- "enable_on_hold": true
}
}, - "invoice_b2b_preapproved": {
- "type": "payment_product_type",
- "payability": "payable",
- "enabled": true,
- "countries": [
- "string"
], - "accounts": [
- {
- "billing_address": {
- "business_name": "string",
- "organization_number": "stringstr",
- "address_line": "string",
- "address_line_2": "string",
- "co_address": "string",
- "postal_code": "0349",
- "postal_place": "Oslo",
- "country": "NO",
- "phone_number": "string",
- "email": "string",
- "customer_reference": "string",
- "cost_center": "string",
- "first_name": "John",
- "last_name": "Doe",
- "address_id": "address_1"
}, - "company_id": "string"
}
]
}, - "finance": {
- "type": "payment_product_type",
- "enabled": true,
- "countries": [
- "string"
], - "payability": "payable"
}, - "installment": {
- "type": "payment_product_type",
- "enabled": true,
- "countries": [
- "string"
], - "options": {
- "enable_on_hold": true
}, - "payability": "payable"
}
}, - "klarna": {
- "type": "payment_type",
- "klarna": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable"
}
}, - "santander": {
- "type": "payment_type",
- "debit_account": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable",
- "branding_name": "string",
- "accounts": [
- {
- "account_number_token": "string",
- "masked_account_number": "string"
}
]
}
}, - "swish": {
- "type": "payment_type",
- "swish": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable"
}
}, - "payout": {
- "payment_products": [
- {
- "payment_product": "bambora"
}
]
}, - "discounts": {
- "type": "discounts",
- "express_discount_codes": {
- "payability": "payable",
- "enabled": true
}, - "order": {
- "enabled": false
}
}, - "theme": {
- "backdrop": "string",
- "primary": "string",
- "text": "string",
- "warning": "string",
- "error": "string",
- "font-family": "string"
}, - "countries": {
- "preferred_country": "string",
- "allow_countries": [
- "string"
], - "deny_countries": [
- "string"
]
},
}, - "updated_at": "2019-08-24T14:15:22Z",
- "customer_ip": "string",
- "user_agent": "string",
- "initiating_system_request_headers": {
- "dintero-system-name": "woocommerce",
- "dintero-system-version": "5.0.0",
- "dintero-system-plugin-name": "Dintero.Checkout.WooCommerce",
- "dintero-system-plugin-version": "2021.03.02",
- "user-agent": "Mozilla: Mozilla/5.0"
}, - "payment_operation": "unscheduled_purchase",
- "events": [
- {
- "id": "769952fe-86c9-4185-a1ce-aeb46da3509c",
- "name": "INITIATED",
- "created_at": "2019-05-09T09:13:40.306Z",
- "request_id": "b97b6312-f8b3-11ed-be56-0242ac120002"
}, - {
- "name": "VISITED",
- "created_at": "2019-05-09T09:13:50.548Z"
}, - {
- "name": "PAY_FAILED",
- "created_at": "2019-05-09T09:14:10.548Z",
- "details": {
- "error": "Rejected",
- "payment_product_type": "instabank.finance"
}
}, - {
- "name": "FAILED",
- "created_at": "2019-05-09T09:16:11.786Z"
}
], - "transaction_id": "string",
- "metadata": {
- "session:profile_id": "string"
}, - "cancelled_by": "string",
- "cancelled_at": "2019-08-24T14:15:22Z"
}
Cancel a session
The session transaction will be voided in case where it is initialized or authorized.
Cancel is not allowed in case where the current transaction state is not initialized or authorized.
scopes:
session_id required | string <checkout-id> The session ID |
Dintero-System-Name | string <= 120 characters The name of the ecommerce solution Example: |
Dintero-System-Version | string <= 120 characters The version number of the ecommerce solution Example: |
Dintero-System-Plugin-Name | string <= 120 characters The name of the ecommerce plugin Example: |
Dintero-System-Plugin-Version | string <= 120 characters The version number of the ecommerce plugin Example: |
{- "id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "url": {
}, - "customer": {
- "customer_id": "string",
- "email": "john.doe@example.com",
- "phone_number": "+4799999999",
- "my_dintero": {
- "actions": [
- "create_user"
],
}, - "tokens": {
- "payex.creditcard": {
- "payment_token_id": "2134a260d196b1d65e59b259dc43f619d7f0f3c6"
}
}
}, - "order": {
- "amount": 72200,
- "currency": "NOK",
- "vat_amount": 13660,
- "merchant_reference_2": "string",
- "shipping_address": {
- "first_name": "John",
- "last_name": "Doe",
- "address_line": "string",
- "address_line_2": "string",
- "co_address": "Land Lord",
- "business_name": "string",
- "postal_code": "0349",
- "postal_place": "Oslo",
- "country": "NO",
- "phone_number": "string",
- "email": "string",
- "latitude": 0,
- "longitude": 0,
- "comment": "string",
- "organization_number": "string",
- "customer_reference": "string",
- "cost_center": "string"
}, - "billing_address": {
- "first_name": "John",
- "last_name": "Doe",
- "address_line": "string",
- "address_line_2": "string",
- "co_address": "Land Lord",
- "business_name": "string",
- "postal_code": "0349",
- "postal_place": "Oslo",
- "country": "NO",
- "phone_number": "string",
- "email": "string",
- "latitude": 0,
- "longitude": 0,
- "comment": "string",
- "organization_number": "string",
- "customer_reference": "string",
- "cost_center": "string"
}, - "partial_payment": false,
- "items": [
- {
- "amount": 2000,
- "quantity": 2,
- "line_id": "1",
- "description": "Forsvinnignspølse",
- "vat": 20,
- "id": "10"
}, - {
- "amount": 6600,
- "quantity": 2,
- "line_id": "2",
- "description": "Vissvossafår på neppebrød",
- "vat": 20,
- "id": "6",
- "eligible_for_discount": true,
- "is_changed": true,
- "gross_amount": 10000,
- "discount_lines": [
- {
- "amount": 4400,
- "discount_type": "customer",
- "discount_id": "ed960ace-eb16-4e2e-ae52-b27647ccae8d",
- "description": "Vossafestpris",
- "line_id": 1
}
]
}, - {
- "amount": 59700,
- "quantity": 3,
- "line_id": "3",
- "description": "Luftboller",
- "vat": 20,
- "id": "1"
}
], - "gross_amount": 0,
- "is_changed": true,
- "shipping_option": {
- "id": "bring-pick-up-00001",
- "line_id": "bring-pick-up-00001-location-0a1f6b",
- "countries": [
- "NO"
], - "amount": 3900,
- "vat_amount": 975,
- "vat": 25,
- "title": "Standard",
- "description": "Pick up at your nearest postal office",
- "delivery_method": "pick_up",
- "operator": "Bring",
- "operator_product_id": "pick-up-00001-location-0a1f6b",
- "eta": {
- "starts_at": "2020-10-14T19:00:00Z",
- "ends_at": "2020-10-14T20:00:00Z"
}, - "time_slot": {
- "starts_at": "2020-10-14T19:00:00Z",
- "ends_at": "2020-10-14T20:00:00Z"
}, - "pick_up_address": {
- "first_name": "John",
- "last_name": "Doe",
- "address_line": "string",
- "address_line_2": "string",
- "co_address": "Land Lord",
- "business_name": "string",
- "postal_code": "0349",
- "postal_place": "Oslo",
- "country": "NO",
- "phone_number": "string",
- "email": "string",
- "latitude": 0,
- "longitude": 0,
- "comment": "string",
- "organization_number": "string",
- "customer_reference": "string",
- "cost_center": "string",
- "distance": 0
}, - "metadata": {
- "operator_dest": "XAB1239",
- "number_x": 1921
}, - "fee_split": {
- "type": "proportional",
- "destinations": [
- "string"
]
}, - "splits": [
- {
- "payout_destination_id": "P000000001",
- "amount": 29700
}
]
}, - "store": {
- "id": "sc029",
- "name": "SC Oslo",
- "business_name": "SC Oslo AS",
- "address": {
- "address_line": "Sommerkroveien 34",
- "address_line_2": "PB 123",
- "postal_code": "0349",
- "postal_place": "Oslo",
- "country": "NO"
}, - "chain": "SuperChain",
- "email": "contact@superchain.com",
- "gln": "5790001398644",
- "organization_number": "123456789MVA",
- "phone_number": "+4738260107",
- "mcc": "5814",
- "bax": "102603",
- "terminal_id": "T0292"
}, - "discount_lines": [
- {
- "amount": 4400,
- "percentage": 44,
- "discount_type": "customer",
- "discount_id": "766da0ef-9283-42bd-b012-0582344ec53c",
- "description": "string",
- "line_id": 1
}
], - "discount_codes": [
- "SUMMER20"
], - "payout_destination_id": "string",
- "merchant_reference": "string"
}, - "expires_at": "2019-08-24T14:15:22Z",
- "express": {
- "shipping_options": [
- {
- "id": "bring-pick-up-00001",
- "line_id": "bring-pick-up-00001-location-0a1f6b",
- "countries": [
- "NO"
], - "amount": 3900,
- "vat_amount": 975,
- "vat": 25,
- "title": "Standard",
- "description": "Pick up at your nearest postal office",
- "delivery_method": "pick_up",
- "operator": "Bring",
- "operator_product_id": "pick-up-00001-location-0a1f6b",
- "eta": {
- "starts_at": "2020-10-14T19:00:00Z",
- "ends_at": "2020-10-14T20:00:00Z"
}, - "time_slot": {
- "starts_at": "2020-10-14T19:00:00Z",
- "ends_at": "2020-10-14T20:00:00Z"
}, - "pick_up_address": {
- "first_name": "John",
- "last_name": "Doe",
- "address_line": "string",
- "address_line_2": "string",
- "co_address": "Land Lord",
- "business_name": "string",
- "postal_code": "0349",
- "postal_place": "Oslo",
- "country": "NO",
- "phone_number": "string",
- "email": "string",
- "latitude": 0,
- "longitude": 0,
- "comment": "string",
- "organization_number": "string",
- "customer_reference": "string",
- "cost_center": "string",
- "distance": 0
}, - "metadata": {
- "operator_dest": "XAB1239",
- "number_x": 1921
}
}
], - "shipping_mode": "shipping_required",
- "discount_codes": {
- "max_count": 0,
}, - "customer_types": [
- "b2c",
- "b2b"
]
}, - "configuration": {
- "auto_capture": true,
- "channel": "in_app",
- "publish": [
- {
- "channel": "sms",
- "type": "checkout-link",
- "id": "string",
- "status": "sent"
}
], - "active_payment_types": {
- "enabled": true
}, - "default_payment_type": "bambora.creditcard",
- "bambora": {
- "type": "payment_type",
- "creditcard": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable"
}, - "mobilepay": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable"
}, - "vipps": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable"
}
}, - "instabank": {
- "finance": {
- "enabled": true,
- "payability": "payable",
- "product": {
- "product_code": "630",
- "minimum_monthly_balance_rate": "1.67",
- "annual_interest_rate": "0.0",
- "effective_annual_interest_rate": "0.0",
- "origination_fee": 9500,
- "notification_fee": 3900,
- "minimum_amount": 20000,
- "loan_example": {
- "amount": 2500000,
- "years": 1,
- "total_amount": 2772300,
- "cost": 272300,
- "effective_annual_interest_rate": "21.38"
}, - "branding_image_url": "string"
}
}, - "invoice": {
- "enabled": true,
- "payability": "payable",
- "require_applicant": true,
- "product": {
- "product_code": "632",
- "due_in_days": 10,
- "minimum_amount": 20000,
- "invoice_fee": 9500,
- "require_applicant_amount": 7500000,
- "branding_image_url": "string"
}
}, - "installment": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable",
- "products": [
- {
- "minimum_amount": 20000,
- "product_code": "633",
- "credit_time": 36,
- "origination_fee": 9500,
- "notification_fee": 3900,
- "annual_interest_rate": "0.0",
- "effective_annual_interest_rate": "54.69",
- "total_amount": 309400,
- "monthly_amount": 100000,
- "first_monthly_amount": 109500,
- "require_applicant_amount": 2500000,
- "loan_example": {
- "amount": 2500000,
- "years": 1,
- "total_amount": 2772300,
- "cost": 272300,
- "effective_annual_interest_rate": "21.38"
}, - "branding_image_url": "string"
}
]
}, - "postponement": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable",
- "products": [
- {
- "minimum_amount": 20000,
- "product_code": "633",
- "postponement_months": 36,
- "origination_fee": 9500,
- "notification_fee": 3900,
- "annual_interest_rate": "0.0",
- "effective_annual_interest_rate": "54.69",
- "total_amount": 309400,
- "require_applicant_amount": 2500000,
- "loan_example": {
- "amount": 2500000,
- "years": 1,
- "total_amount": 2772300,
- "cost": 272300,
- "effective_annual_interest_rate": "21.38"
}, - "branding_image_url": "string"
}
]
}
}, - "netaxept": {
- "type": "payment_type",
- "creditcard": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable",
- "terminal": {
- "terminal": "/Terminal/default.aspx",
- "terminal_design": "string",
- "terminal_single_page": true,
- "terminal_layout": "string"
}
}
}, - "payex": {
- "dynamic_descriptor": "string",
- "swish": {
- "enabled": true,
- "payability": "payable"
}, - "creditcard": {
- "enabled": true,
- "payability": "payable",
- "generate_payment_token": false,
- "generate_recurrence_token": false,
- "no_cvc": true
}, - "mobilepay": {
- "enabled": true,
- "payability": "payable"
}, - "vipps": {
- "enabled": true,
- "payability": "payable"
}, - "applepay": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable"
}, - "clicktopay": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable"
}, - "googlepay": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable"
}
}, - "vipps": {
- "enabled": true,
- "payability": "payable",
- "dynamic_descriptor": "string"
}, - "collector": {
- "type": "payment_type",
- "dynamic_descriptor": "string",
- "invoice": {
- "type": "payment_product_type",
- "enabled": true,
- "countries": [
- "string"
], - "options": {
- "enable_on_hold": true
}, - "payability": "payable"
}, - "invoice_b2b": {
- "type": "payment_product_type",
- "payability": "payable",
- "enabled": true,
- "countries": [
- "string"
], - "options": {
- "disable_collector_b2b_address_enforcement": false,
- "enable_on_hold": true
}
}, - "invoice_b2b_preapproved": {
- "type": "payment_product_type",
- "payability": "payable",
- "enabled": true,
- "countries": [
- "string"
], - "accounts": [
- {
- "billing_address": {
- "business_name": "string",
- "organization_number": "stringstr",
- "address_line": "string",
- "address_line_2": "string",
- "co_address": "string",
- "postal_code": "0349",
- "postal_place": "Oslo",
- "country": "NO",
- "phone_number": "string",
- "email": "string",
- "customer_reference": "string",
- "cost_center": "string",
- "first_name": "John",
- "last_name": "Doe",
- "address_id": "address_1"
}, - "company_id": "string"
}
]
}, - "finance": {
- "type": "payment_product_type",
- "enabled": true,
- "countries": [
- "string"
], - "payability": "payable"
}, - "installment": {
- "type": "payment_product_type",
- "enabled": true,
- "countries": [
- "string"
], - "options": {
- "enable_on_hold": true
}, - "payability": "payable"
}
}, - "klarna": {
- "type": "payment_type",
- "klarna": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable"
}
}, - "santander": {
- "type": "payment_type",
- "debit_account": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable",
- "branding_name": "string",
- "accounts": [
- {
- "account_number_token": "string",
- "masked_account_number": "string"
}
]
}
}, - "swish": {
- "type": "payment_type",
- "swish": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable"
}
}, - "payout": {
- "payment_products": [
- {
- "payment_product": "bambora"
}
]
}, - "discounts": {
- "type": "discounts",
- "express_discount_codes": {
- "payability": "payable",
- "enabled": true
}, - "order": {
- "enabled": false
}
}, - "theme": {
- "backdrop": "string",
- "primary": "string",
- "text": "string",
- "warning": "string",
- "error": "string",
- "font-family": "string"
}, - "countries": {
- "preferred_country": "string",
- "allow_countries": [
- "string"
], - "deny_countries": [
- "string"
]
},
}, - "updated_at": "2019-08-24T14:15:22Z",
- "customer_ip": "string",
- "user_agent": "string",
- "initiating_system_request_headers": {
- "dintero-system-name": "woocommerce",
- "dintero-system-version": "5.0.0",
- "dintero-system-plugin-name": "Dintero.Checkout.WooCommerce",
- "dintero-system-plugin-version": "2021.03.02",
- "user-agent": "Mozilla: Mozilla/5.0"
}, - "payment_operation": "unscheduled_purchase",
- "events": [
- {
- "id": "769952fe-86c9-4185-a1ce-aeb46da3509c",
- "name": "INITIATED",
- "created_at": "2019-05-09T09:13:40.306Z",
- "request_id": "b97b6312-f8b3-11ed-be56-0242ac120002"
}, - {
- "name": "VISITED",
- "created_at": "2019-05-09T09:13:50.548Z"
}, - {
- "name": "PAY_FAILED",
- "created_at": "2019-05-09T09:14:10.548Z",
- "details": {
- "error": "Rejected",
- "payment_product_type": "instabank.finance"
}
}, - {
- "name": "FAILED",
- "created_at": "2019-05-09T09:16:11.786Z"
}
], - "transaction_id": "string",
- "metadata": {
- "session:profile_id": "string"
}, - "cancelled_by": "string",
- "cancelled_at": "2019-08-24T14:15:22Z"
}
This endpoint lets you create payment and recurrence tokens without reserving or charging any amount.
The URL returned by this endpoint opens a web site where the customer can enter their payment details, e.g. card information.
The payment details will be validated and a transaction with a payment/recurrence token will be created on success containing the payment token created from the customer payment details.
scopes:
include_session | boolean Include all details about the session created |
Dintero-System-Name | string <= 120 characters The name of the ecommerce solution Example: |
Dintero-System-Version | string <= 120 characters The version number of the ecommerce solution Example: |
Dintero-System-Plugin-Name | string <= 120 characters The name of the ecommerce plugin Example: |
Dintero-System-Plugin-Version | string <= 120 characters The version number of the ecommerce plugin Example: |
required | object The session to create the payment token from |
required | object (TokenProvider) |
{- "session": {
- "order": {
- "currency": "NOK",
- "merchant_reference": "string",
- "merchant_reference_2": "string",
- "store": {
- "id": "sc029",
- "name": "SC Oslo",
- "business_name": "SC Oslo AS",
- "address": {
- "address_line": "Sommerkroveien 34",
- "address_line_2": "PB 123",
- "postal_code": "0349",
- "postal_place": "Oslo",
- "country": "NO"
}, - "chain": "SuperChain",
- "email": "contact@superchain.com",
- "gln": "5790001398644",
- "organization_number": "123456789MVA",
- "phone_number": "+4738260107",
- "mcc": "5814",
- "bax": "102603",
- "terminal_id": "T0292"
}
}, - "url": {
}, - "profile_id": "string",
- "customer": {
- "customer_id": "string",
- "email": "john.doe@example.com",
- "phone_number": "+4799999999"
}, - "expires_at": "2019-08-24T14:15:22Z",
- "configuration": {
- "theme": {
- "backdrop": "string",
- "primary": "string",
- "text": "string",
- "warning": "string",
- "error": "string",
- "font-family": "string"
}
}, - "metadata": {
- "system_x_id": "XAB1239",
- "number_x": 1921
}
}, - "token_provider": {
- "payment_product_type": "string"
}
}
{- "id": "string",
- "publish": [
- {
- "channel": "sms",
- "type": "checkout-link",
- "id": "string",
- "status": "sent"
}
], - "session": {
- "id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "url": {
}, - "customer": {
- "customer_id": "string",
- "email": "john.doe@example.com",
- "phone_number": "+4799999999",
- "my_dintero": {
- "actions": [
- "create_user"
],
}, - "tokens": {
- "payex.creditcard": {
- "payment_token_id": "2134a260d196b1d65e59b259dc43f619d7f0f3c6"
}
}
}, - "order": {
- "amount": 72200,
- "currency": "NOK",
- "vat_amount": 13660,
- "merchant_reference_2": "string",
- "shipping_address": {
- "first_name": "John",
- "last_name": "Doe",
- "address_line": "string",
- "address_line_2": "string",
- "co_address": "Land Lord",
- "business_name": "string",
- "postal_code": "0349",
- "postal_place": "Oslo",
- "country": "NO",
- "phone_number": "string",
- "email": "string",
- "latitude": 0,
- "longitude": 0,
- "comment": "string",
- "organization_number": "string",
- "customer_reference": "string",
- "cost_center": "string"
}, - "billing_address": {
- "first_name": "John",
- "last_name": "Doe",
- "address_line": "string",
- "address_line_2": "string",
- "co_address": "Land Lord",
- "business_name": "string",
- "postal_code": "0349",
- "postal_place": "Oslo",
- "country": "NO",
- "phone_number": "string",
- "email": "string",
- "latitude": 0,
- "longitude": 0,
- "comment": "string",
- "organization_number": "string",
- "customer_reference": "string",
- "cost_center": "string"
}, - "partial_payment": false,
- "items": [
- {
- "amount": 2000,
- "quantity": 2,
- "line_id": "1",
- "description": "Forsvinnignspølse",
- "vat": 20,
- "id": "10"
}, - {
- "amount": 6600,
- "quantity": 2,
- "line_id": "2",
- "description": "Vissvossafår på neppebrød",
- "vat": 20,
- "id": "6",
- "eligible_for_discount": true,
- "is_changed": true,
- "gross_amount": 10000,
- "discount_lines": [
- {
- "amount": 4400,
- "discount_type": "customer",
- "discount_id": "ed960ace-eb16-4e2e-ae52-b27647ccae8d",
- "description": "Vossafestpris",
- "line_id": 1
}
]
}, - {
- "amount": 59700,
- "quantity": 3,
- "line_id": "3",
- "description": "Luftboller",
- "vat": 20,
- "id": "1"
}
], - "gross_amount": 0,
- "is_changed": true,
- "shipping_option": {
- "id": "bring-pick-up-00001",
- "line_id": "bring-pick-up-00001-location-0a1f6b",
- "countries": [
- "NO"
], - "amount": 3900,
- "vat_amount": 975,
- "vat": 25,
- "title": "Standard",
- "description": "Pick up at your nearest postal office",
- "delivery_method": "pick_up",
- "operator": "Bring",
- "operator_product_id": "pick-up-00001-location-0a1f6b",
- "eta": {
- "starts_at": "2020-10-14T19:00:00Z",
- "ends_at": "2020-10-14T20:00:00Z"
}, - "time_slot": {
- "starts_at": "2020-10-14T19:00:00Z",
- "ends_at": "2020-10-14T20:00:00Z"
}, - "pick_up_address": {
- "first_name": "John",
- "last_name": "Doe",
- "address_line": "string",
- "address_line_2": "string",
- "co_address": "Land Lord",
- "business_name": "string",
- "postal_code": "0349",
- "postal_place": "Oslo",
- "country": "NO",
- "phone_number": "string",
- "email": "string",
- "latitude": 0,
- "longitude": 0,
- "comment": "string",
- "organization_number": "string",
- "customer_reference": "string",
- "cost_center": "string",
- "distance": 0
}, - "metadata": {
- "operator_dest": "XAB1239",
- "number_x": 1921
}, - "fee_split": {
- "type": "proportional",
- "destinations": [
- "string"
]
}, - "splits": [
- {
- "payout_destination_id": "P000000001",
- "amount": 29700
}
]
}, - "store": {
- "id": "sc029",
- "name": "SC Oslo",
- "business_name": "SC Oslo AS",
- "address": {
- "address_line": "Sommerkroveien 34",
- "address_line_2": "PB 123",
- "postal_code": "0349",
- "postal_place": "Oslo",
- "country": "NO"
}, - "chain": "SuperChain",
- "email": "contact@superchain.com",
- "gln": "5790001398644",
- "organization_number": "123456789MVA",
- "phone_number": "+4738260107",
- "mcc": "5814",
- "bax": "102603",
- "terminal_id": "T0292"
}, - "discount_lines": [
- {
- "amount": 4400,
- "percentage": 44,
- "discount_type": "customer",
- "discount_id": "766da0ef-9283-42bd-b012-0582344ec53c",
- "description": "string",
- "line_id": 1
}
], - "discount_codes": [
- "SUMMER20"
], - "payout_destination_id": "string",
- "merchant_reference": "string"
}, - "expires_at": "2019-08-24T14:15:22Z",
- "express": {
- "shipping_options": [
- {
- "id": "bring-pick-up-00001",
- "line_id": "bring-pick-up-00001-location-0a1f6b",
- "countries": [
- "NO"
], - "amount": 3900,
- "vat_amount": 975,
- "vat": 25,
- "title": "Standard",
- "description": "Pick up at your nearest postal office",
- "delivery_method": "pick_up",
- "operator": "Bring",
- "operator_product_id": "pick-up-00001-location-0a1f6b",
- "eta": {
- "starts_at": "2020-10-14T19:00:00Z",
- "ends_at": "2020-10-14T20:00:00Z"
}, - "time_slot": {
- "starts_at": "2020-10-14T19:00:00Z",
- "ends_at": "2020-10-14T20:00:00Z"
}, - "pick_up_address": {
- "first_name": "John",
- "last_name": "Doe",
- "address_line": "string",
- "address_line_2": "string",
- "co_address": "Land Lord",
- "business_name": "string",
- "postal_code": "0349",
- "postal_place": "Oslo",
- "country": "NO",
- "phone_number": "string",
- "email": "string",
- "latitude": 0,
- "longitude": 0,
- "comment": "string",
- "organization_number": "string",
- "customer_reference": "string",
- "cost_center": "string",
- "distance": 0
}, - "metadata": {
- "operator_dest": "XAB1239",
- "number_x": 1921
}
}
], - "shipping_mode": "shipping_required",
- "discount_codes": {
- "max_count": 0,
}, - "customer_types": [
- "b2c",
- "b2b"
]
}, - "configuration": {
- "auto_capture": true,
- "channel": "in_app",
- "publish": [
- {
- "channel": "sms",
- "type": "checkout-link",
- "id": "string",
- "status": "sent"
}
], - "active_payment_types": {
- "enabled": true
}, - "default_payment_type": "bambora.creditcard",
- "bambora": {
- "type": "payment_type",
- "creditcard": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable"
}, - "mobilepay": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable"
}, - "vipps": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable"
}
}, - "instabank": {
- "finance": {
- "enabled": true,
- "payability": "payable",
- "product": {
- "product_code": "630",
- "minimum_monthly_balance_rate": "1.67",
- "annual_interest_rate": "0.0",
- "effective_annual_interest_rate": "0.0",
- "origination_fee": 9500,
- "notification_fee": 3900,
- "minimum_amount": 20000,
- "loan_example": {
- "amount": 2500000,
- "years": 1,
- "total_amount": 2772300,
- "cost": 272300,
- "effective_annual_interest_rate": "21.38"
}, - "branding_image_url": "string"
}
}, - "invoice": {
- "enabled": true,
- "payability": "payable",
- "require_applicant": true,
- "product": {
- "product_code": "632",
- "due_in_days": 10,
- "minimum_amount": 20000,
- "invoice_fee": 9500,
- "require_applicant_amount": 7500000,
- "branding_image_url": "string"
}
}, - "installment": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable",
- "products": [
- {
- "minimum_amount": 20000,
- "product_code": "633",
- "credit_time": 36,
- "origination_fee": 9500,
- "notification_fee": 3900,
- "annual_interest_rate": "0.0",
- "effective_annual_interest_rate": "54.69",
- "total_amount": 309400,
- "monthly_amount": 100000,
- "first_monthly_amount": 109500,
- "require_applicant_amount": 2500000,
- "loan_example": {
- "amount": 2500000,
- "years": 1,
- "total_amount": 2772300,
- "cost": 272300,
- "effective_annual_interest_rate": "21.38"
}, - "branding_image_url": "string"
}
]
}, - "postponement": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable",
- "products": [
- {
- "minimum_amount": 20000,
- "product_code": "633",
- "postponement_months": 36,
- "origination_fee": 9500,
- "notification_fee": 3900,
- "annual_interest_rate": "0.0",
- "effective_annual_interest_rate": "54.69",
- "total_amount": 309400,
- "require_applicant_amount": 2500000,
- "loan_example": {
- "amount": 2500000,
- "years": 1,
- "total_amount": 2772300,
- "cost": 272300,
- "effective_annual_interest_rate": "21.38"
}, - "branding_image_url": "string"
}
]
}
}, - "netaxept": {
- "type": "payment_type",
- "creditcard": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable",
- "terminal": {
- "terminal": "/Terminal/default.aspx",
- "terminal_design": "string",
- "terminal_single_page": true,
- "terminal_layout": "string"
}
}
}, - "payex": {
- "dynamic_descriptor": "string",
- "swish": {
- "enabled": true,
- "payability": "payable"
}, - "creditcard": {
- "enabled": true,
- "payability": "payable",
- "generate_payment_token": false,
- "generate_recurrence_token": false,
- "no_cvc": true
}, - "mobilepay": {
- "enabled": true,
- "payability": "payable"
}, - "vipps": {
- "enabled": true,
- "payability": "payable"
}, - "applepay": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable"
}, - "clicktopay": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable"
}, - "googlepay": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable"
}
}, - "vipps": {
- "enabled": true,
- "payability": "payable",
- "dynamic_descriptor": "string"
}, - "collector": {
- "type": "payment_type",
- "dynamic_descriptor": "string",
- "invoice": {
- "type": "payment_product_type",
- "enabled": true,
- "countries": [
- "string"
], - "options": {
- "enable_on_hold": true
}, - "payability": "payable"
}, - "invoice_b2b": {
- "type": "payment_product_type",
- "payability": "payable",
- "enabled": true,
- "countries": [
- "string"
], - "options": {
- "disable_collector_b2b_address_enforcement": false,
- "enable_on_hold": true
}
}, - "invoice_b2b_preapproved": {
- "type": "payment_product_type",
- "payability": "payable",
- "enabled": true,
- "countries": [
- "string"
], - "accounts": [
- {
- "billing_address": {
- "business_name": "string",
- "organization_number": "stringstr",
- "address_line": "string",
- "address_line_2": "string",
- "co_address": "string",
- "postal_code": "0349",
- "postal_place": "Oslo",
- "country": "NO",
- "phone_number": "string",
- "email": "string",
- "customer_reference": "string",
- "cost_center": "string",
- "first_name": "John",
- "last_name": "Doe",
- "address_id": "address_1"
}, - "company_id": "string"
}
]
}, - "finance": {
- "type": "payment_product_type",
- "enabled": true,
- "countries": [
- "string"
], - "payability": "payable"
}, - "installment": {
- "type": "payment_product_type",
- "enabled": true,
- "countries": [
- "string"
], - "options": {
- "enable_on_hold": true
}, - "payability": "payable"
}
}, - "klarna": {
- "type": "payment_type",
- "klarna": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable"
}
}, - "santander": {
- "type": "payment_type",
- "debit_account": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable",
- "branding_name": "string",
- "accounts": [
- {
- "account_number_token": "string",
- "masked_account_number": "string"
}
]
}
}, - "swish": {
- "type": "payment_type",
- "swish": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable"
}
}, - "payout": {
- "payment_products": [
- {
- "payment_product": "bambora"
}
]
}, - "discounts": {
- "type": "discounts",
- "express_discount_codes": {
- "payability": "payable",
- "enabled": true
}, - "order": {
- "enabled": false
}
}, - "theme": {
- "backdrop": "string",
- "primary": "string",
- "text": "string",
- "warning": "string",
- "error": "string",
- "font-family": "string"
}, - "countries": {
- "preferred_country": "string",
- "allow_countries": [
- "string"
], - "deny_countries": [
- "string"
]
},
}, - "updated_at": "2019-08-24T14:15:22Z",
- "customer_ip": "string",
- "user_agent": "string",
- "initiating_system_request_headers": {
- "dintero-system-name": "woocommerce",
- "dintero-system-version": "5.0.0",
- "dintero-system-plugin-name": "Dintero.Checkout.WooCommerce",
- "dintero-system-plugin-version": "2021.03.02",
- "user-agent": "Mozilla: Mozilla/5.0"
}, - "payment_operation": "unscheduled_purchase",
- "events": [
- {
- "id": "769952fe-86c9-4185-a1ce-aeb46da3509c",
- "name": "INITIATED",
- "created_at": "2019-05-09T09:13:40.306Z",
- "request_id": "b97b6312-f8b3-11ed-be56-0242ac120002"
}, - {
- "name": "VISITED",
- "created_at": "2019-05-09T09:13:50.548Z"
}, - {
- "name": "PAY_FAILED",
- "created_at": "2019-05-09T09:14:10.548Z",
- "details": {
- "error": "Rejected",
- "payment_product_type": "instabank.finance"
}
}, - {
- "name": "FAILED",
- "created_at": "2019-05-09T09:16:11.786Z"
}
], - "transaction_id": "string",
- "metadata": {
- "session:profile_id": "string"
}, - "cancelled_by": "string",
- "cancelled_at": "2019-08-24T14:15:22Z"
}
}
Captures a transaction that was created with the Checkout
endpoint with a capture_now
value of false
.
Note that items
is required when capturing a transaction
with payment_product=instabank
. The items must include
the lines to Capture, with line_id
, quantity
and amount
.
scopes:
id required | string <checkout-id> The ID of the transaction |
includes | Array of strings Items Enum: "events.request_headers" "initiating_system_request_headers" Include aditional data in the returned data that are by default excluded from the transaction details.
From 2023-09, |
Dintero-System-Name | string <= 120 characters The name of the ecommerce solution Example: |
Dintero-System-Version | string <= 120 characters The version number of the ecommerce solution Example: |
Dintero-System-Plugin-Name | string <= 120 characters The name of the ecommerce plugin Example: |
Dintero-System-Plugin-Version | string <= 120 characters The version number of the ecommerce plugin Example: |
amount required | integer <int32> The amount to be captured |
capture_reference | string A reference specified by the merchant to identify the transaction |
Array of objects Info about the captured order items Instabank
|
{- "amount": 0,
- "capture_reference": "string",
- "items": [
- {
- "id": "item_01",
- "groups": [
- {
- "id": "B234",
- "name": "Stol"
}
], - "line_id": "1",
- "description": "Stablestol",
- "quantity": 1,
- "amount": 29990,
- "vat_amount": 400,
- "vat": 20,
- "unit_volume": 0,
- "unit_weight": 0,
- "unit_dimensional_weight": 0,
- "type": "physical",
- "fee_split": {
- "type": "proportional",
- "destinations": [
- "string"
]
}, - "splits": [
- {
- "payout_destination_id": "P000000001",
- "amount": 29700
}
], - "emd": {
- "event": [
- {
- "event_name": "Michael Jackson",
- "event_company": "Diamond Events",
- "genre_of_event": "Pop",
- "arena_name": "Oslo Spektrum",
- "arena_location": {
- "street_address": "Sonja Henies plass 2",
- "postal_code": "0185",
- "city": "Oslo",
- "country": "NO"
}, - "start_time": "2023-08-16T15:00:00Z",
- "end_time": "2023-08-16T16:00:00Z",
- "access_controlled_venue": true,
- "ticket_delivery_method": "email",
- "ticket_delivery_recipient": "recipient@mail.com",
- "affiliate_name": "Klarna affiliate"
}
], - "subscription": {
- "subscription": {
- "subscription_name": "Contact lenses",
- "start_time": "2023-08-16T15:00:00Z",
- "end_time": "2023-09-16T15:00:00Z",
- "auto_renewal_of_subscription": true,
- "affiliate_name": "Klarna affiliate"
}, - "customer_account_info": {
- "unique_account_identifier": "Adam Adamsson",
- "account_registration_date": "2023-08-16T15:00:00Z",
- "account_last_modified": "2023-10-16T15:00:00Z"
}
}, - "travel": {
- "air_reservation_details": {
- "pnr": "VH67899",
- "itinerary": [
- {
- "departure": "OSL",
- "departure_city": "Oslo",
- "arrival": "MUC",
- "arrival_city": "Munich",
- "carrier": "LH",
- "segment_price": 200000,
- "departure_date": "2023-08-16T15:00:00Z",
- "ticket_delivery_method": "phone",
- "ticket_delivery_recipient": "97712123",
- "passenger_id": [
- 1
], - "class": "First Class"
}
], - "insurance": [
- {
- "insurance_company": "Oopsie Insurance Ltd.",
- "insurance_type": "travel",
- "insurance_price": 50000
}
], - "passengers": [
- {
- "id": 1,
- "title": "mr",
- "first_name": "Paul",
- "last_name": "Lamb"
}
], - "affiliate_name": "Klarna affiliate"
}, - "bus_reservation_details": {
- "pnr": "VH67899",
- "itinerary": [
- {
- "departure_city": "Oslo",
- "arrival_city": "Munich",
- "carrier": "Big Bus Travels Ltd.",
- "segment_price": 200000,
- "departure_date": "2023-08-16T15:00:00Z",
- "ticket_delivery_method": "phone",
- "ticket_delivery_recipient": "97712123",
- "passenger_id": [
- 1
], - "class": "First Class"
}
], - "insurance": [
- {
- "insurance_company": "Oopsie Insurance Ltd.",
- "insurance_type": "travel",
- "insurance_price": 50000
}
], - "passengers": [
- {
- "id": 1,
- "title": "mr",
- "first_name": "Paul",
- "last_name": "Lamb"
}
], - "affiliate_name": "Klarna affiliate"
}, - "train_reservation_details": {
- "pnr": "VH67899",
- "itinerary": [
- {
- "departure_city": "Oslo",
- "arrival_city": "Munich",
- "carrier": "Big Train Travels Ltd.",
- "segment_price": 200000,
- "departure_date": "2023-08-16T15:00:00Z",
- "ticket_delivery_method": "phone",
- "ticket_delivery_recipient": "97712123",
- "passenger_id": [
- 1
], - "class": "First Class"
}
], - "insurance": [
- {
- "insurance_company": "Oopsie Insurance Ltd.",
- "insurance_type": "travel",
- "insurance_price": 50000
}
], - "passengers": [
- {
- "id": 1,
- "title": "mr",
- "first_name": "Paul",
- "last_name": "Lamb"
}
], - "affiliate_name": "Klarna affiliate"
}, - "ferry_reservation_details": {
- "pnr": "VH67899",
- "itinerary": [
- {
- "departure_city": "Oslo",
- "arrival_city": "Munich",
- "carrier": "Big Ferry Travels Ltd.",
- "segment_price": 200000,
- "departure_date": "2023-08-16T15:00:00Z",
- "ticket_delivery_method": "phone",
- "ticket_delivery_recipient": "97712123",
- "passenger_id": [
- 1
], - "class": "First Class"
}
], - "insurance": [
- {
- "insurance_company": "Oopsie Insurance Ltd.",
- "insurance_type": "travel",
- "insurance_price": 50000
}
], - "passengers": [
- {
- "id": 1,
- "title": "mr",
- "first_name": "Paul",
- "last_name": "Lamb"
}
], - "affiliate_name": "Klarna affiliate"
}, - "hotel_reservation_details": {
- "pnr": "VH67899",
- "itinerary": [
- {
- "hotel_name": "Premium Hotel",
- "address": {
- "street_address": "Karl Johans gt. 31",
- "postal_code": "0159",
- "city": "Oslo",
- "country": "NO"
}, - "start_time": "2023-08-16T15:00:00Z",
- "end_time": "2023-08-20T15:00:00Z",
- "number_of_rooms": 2,
- "passenger_id": [
- 1
], - "ticket_delivery_method": "phone",
- "ticket_delivery_recipient": "97712123",
- "hotel_price": 200000,
- "class": "First Class"
}
], - "insurance": [
- {
- "insurance_company": "Oopsie Insurance Ltd.",
- "insurance_type": "travel",
- "insurance_price": 50000
}
], - "passengers": [
- {
- "id": 1,
- "title": "mr",
- "first_name": "Paul",
- "last_name": "Lamb"
}
], - "affiliate_name": "Klarna affiliate"
}, - "car_rental_reservation_details": {
- "pnr": "VH67899",
- "itinerary": [
- {
- "rental_company": "Premium Cars",
- "drivers_id": [
- 1
], - "pick_up_location": {
- "street_address": "Karl Johans gt. 31",
- "postal_code": "0159",
- "city": "Oslo",
- "country": "NO"
}, - "drop_off_location": {
- "street_address": "Karl Johans gt. 31",
- "postal_code": "0159",
- "city": "Oslo",
- "country": "NO"
}, - "start_time": "2023-08-16T15:00:00Z",
- "end_time": "2023-08-20T15:00:00Z",
- "car_price": 500000,
- "class": "Premium Cars Premium Class"
}
], - "insurance": [
- {
- "insurance_company": "Oopsie Insurance Ltd.",
- "insurance_type": "travel",
- "insurance_price": 50000
}
], - "drivers": [
- {
- "id": 1,
- "title": "mr",
- "first_name": "Paul",
- "last_name": "Lamb"
}
], - "affiliate_name": "Klarna affiliate"
}
}, - "marketplace_order": {
- "seller_info": {
- "unique_account_identifier_seller": {
- "email": "string",
- "phone_number": "97712123",
- "other": "string"
}, - "sub_merchant_id": "Marketbrick Ltd.",
- "product_category": "Phones",
- "product_name": "iPhone 14 Pro Max",
- "account_registration_date": "2023-08-16T15:00:00Z",
- "account_last_modified": {
- "password": "2023-08-17T15:00:00Z",
- "email": "2023-08-17T15:00:00Z",
- "listing": "2023-08-17T15:00:00Z",
- "login": "2023-08-17T15:00:00Z",
- "address": "2023-08-17T15:00:00Z"
}, - "seller_rating": 5,
- "number_of_trades": 23,
- "volume_of_trades": 230
}, - "winner_info": {
- "unique_account_identifier_winner": {
- "email": "string",
- "phone_number": "97712123",
- "other": "string"
}, - "account_registration_date": "2023-08-16T15:00:00Z",
- "account_last_modified": {
- "password": "2023-08-17T15:00:00Z",
- "email": "2023-08-17T15:00:00Z",
- "listing": "2023-08-17T15:00:00Z",
- "login": "2023-08-17T15:00:00Z",
- "address": "2023-08-17T15:00:00Z"
}, - "number_of_trades": 23,
- "volume_of_trades": 230
}
}
}, - "discount_lines": [
- {
- "amount": 4400,
- "percentage": 44,
- "discount_type": "customer",
- "discount_id": "766da0ef-9283-42bd-b012-0582344ec53c",
- "description": "string",
- "line_id": 1
}
]
}
]
}
{- "id": "string",
- "payment_product": "bambora",
- "amount": 72200,
- "currency": "NOK",
- "payout_destination_id": "string",
- "merchant_reference": "string",
- "merchant_reference_2": "string",
- "dynamic_descriptor": "string",
- "payment_operation": "unscheduled_purchase",
- "settlement_status": "NOT_SETTLED",
- "customer": {
- "customer_id": "string",
- "email": "john.doe@example.com",
- "phone_number": "+4799999999",
- "my_dintero": {
- "actions": [
- "create_user"
],
}
}, - "customer_ip": "127.0.0.1",
- "user_agent": "Mozilla/5.0 ...",
- "initiating_system_request_headers": {
- "dintero-system-name": "woocommerce",
- "dintero-system-version": "5.0.0",
- "dintero-system-plugin-name": "Dintero.Checkout.WooCommerce",
- "dintero-system-plugin-version": "2021.03.02",
- "user-agent": "Mozilla: Mozilla/5.0"
}, - "shipping_address": {
- "first_name": "John",
- "last_name": "Doe",
- "address_line": "string",
- "address_line_2": "string",
- "co_address": "Land Lord",
- "business_name": "string",
- "postal_code": "0349",
- "postal_place": "Oslo",
- "country": "NO",
- "phone_number": "string",
- "email": "string",
- "latitude": 0,
- "longitude": 0,
- "comment": "string",
- "organization_number": "string",
- "customer_reference": "string",
- "cost_center": "string"
}, - "shipping_option": {
- "id": "bring-pick-up-00001",
- "line_id": "bring-pick-up-00001-location-0a1f6b",
- "countries": [
- "NO"
], - "amount": 3900,
- "vat_amount": 975,
- "vat": 25,
- "title": "Standard",
- "description": "Pick up at your nearest postal office",
- "delivery_method": "pick_up",
- "operator": "Bring",
- "operator_product_id": "pick-up-00001-location-0a1f6b",
- "eta": {
- "starts_at": "2020-10-14T19:00:00Z",
- "ends_at": "2020-10-14T20:00:00Z"
}, - "time_slot": {
- "starts_at": "2020-10-14T19:00:00Z",
- "ends_at": "2020-10-14T20:00:00Z"
}, - "pick_up_address": {
- "first_name": "John",
- "last_name": "Doe",
- "address_line": "string",
- "address_line_2": "string",
- "co_address": "Land Lord",
- "business_name": "string",
- "postal_code": "0349",
- "postal_place": "Oslo",
- "country": "NO",
- "phone_number": "string",
- "email": "string",
- "latitude": 0,
- "longitude": 0,
- "comment": "string",
- "organization_number": "string",
- "customer_reference": "string",
- "cost_center": "string",
- "distance": 0
}, - "metadata": {
- "operator_dest": "XAB1239",
- "number_x": 1921
}, - "fee_split": {
- "type": "proportional",
- "destinations": [
- "string"
]
}, - "splits": [
- {
- "payout_destination_id": "P000000001",
- "amount": 29700
}
]
}, - "billing_address": {
- "first_name": "John",
- "last_name": "Doe",
- "address_line": "string",
- "address_line_2": "string",
- "co_address": "Land Lord",
- "business_name": "string",
- "postal_code": "0349",
- "postal_place": "Oslo",
- "country": "NO",
- "phone_number": "string",
- "email": "string",
- "latitude": 0,
- "longitude": 0,
- "comment": "string",
- "organization_number": "string",
- "customer_reference": "string",
- "cost_center": "string"
}, - "store": {
- "id": "sc029",
- "name": "SC Oslo",
- "business_name": "SC Oslo AS",
- "address": {
- "address_line": "Sommerkroveien 34",
- "address_line_2": "PB 123",
- "postal_code": "0349",
- "postal_place": "Oslo",
- "country": "NO"
}, - "chain": "SuperChain",
- "email": "contact@superchain.com",
- "gln": "5790001398644",
- "organization_number": "123456789MVA",
- "phone_number": "+4738260107",
- "mcc": "5814",
- "bax": "102603",
- "terminal_id": "T0292"
}, - "status": "CAPTURED",
- "items": [
- {
- "amount": 2000,
- "quantity": 2,
- "line_id": "1",
- "description": "Forsvinnignspølse",
- "vat": 20,
- "id": "10"
}, - {
- "amount": 6600,
- "quantity": 2,
- "line_id": "2",
- "description": "Vissvossafår på neppebrød",
- "vat": 20,
- "id": "6",
- "eligible_for_discount": true,
- "is_changed": true,
- "gross_amount": 10000,
- "discount_lines": [
- {
- "amount": 4400,
- "discount_type": "customer",
- "discount_id": "ed960ace-eb16-4e2e-ae52-b27647ccae8d",
- "description": "Vossafestpris",
- "line_id": 1
}
]
}, - {
- "amount": 59700,
- "quantity": 3,
- "line_id": "3",
- "description": "Luftboller",
- "vat": 20,
- "id": "1"
}
], - "url": {
}, - "events": [
- {
- "event": "INITIATE",
- "transaction_status": "INITIATED",
- "created_at": "2019-01-18T13:13:37.175Z",
- "success": true,
- "request_id": "a3dcc23125bc4363b9dae29ed25a4eb1",
- "metadata": {
- "bambora:transaction:status": "string",
- "bambora:transactionoperation:id": "string",
- "bambora:meta:action:source": "string",
- "bambora:meta:action:code": "string",
- "bambora:meta:action:type": "string"
}
}, - {
- "event": "AUTHORIZE",
- "transaction_status": "AUTHORIZED",
- "created_at": "2019-01-18T13:13:37.540Z",
- "success": true,
- "request_id": "f5f64165e5b3404e9af63586c184c3e9"
}, - {
- "event": "CAPTURE",
- "transaction_status": "PARTIALLY_CAPTURED",
- "created_at": "2019-01-18T15:37:00.879Z",
- "created_by": "99115ac5-2d10-4be4-8594-bbf5e3aa7dfc",
- "amount": 59700,
- "splits": [
- {
- "payout_destination_id": "P000000001",
- "amount": 29700
}, - {
- "payout_destination_id": "P000000002",
- "amount": 30000
}
], - "fee_split": {
- "type": "proportional",
- "destinations": [
- "P000000001"
]
}, - "items": [
- {
- "amount": 59700,
- "quantity": 3,
- "line_id": "3"
}
], - "success": true,
- "request_id": "27c71936004e48649c6dd437d314d90c"
}, - {
- "event": "CAPTURE",
- "transaction_status": "CAPTURED",
- "created_at": "2019-01-18T21:24:31.669Z",
- "created_by": "a33aef94-a17d-447a-a1dd-81055892b59d",
- "amount": 8600,
- "items": [
- {
- "amount": 2000,
- "quantity": 2,
- "line_id": "1"
}, - {
- "amount": 6600,
- "quantity": 2,
- "line_id": "2"
}
], - "success": true,
- "request_id": "c3e60b98a1d1466c97151318be621cf9"
}
], - "session_id": "P00000000.465U8CUzaPVpneu1wt8Wei",
- "session": {
- "url": {
}, - "customer": {
- "customer_id": "string",
- "email": "john.doe@example.com",
- "phone_number": "+4799999999"
}, - "order": {
- "amount": 72200,
- "currency": "NOK",
- "vat_amount": 13660,
- "merchant_reference_2": "string",
- "shipping_address": {
- "first_name": "John",
- "last_name": "Doe",
- "address_line": "string",
- "address_line_2": "string",
- "co_address": "Land Lord",
- "business_name": "string",
- "postal_code": "0349",
- "postal_place": "Oslo",
- "country": "NO",
- "phone_number": "string",
- "email": "string",
- "latitude": 0,
- "longitude": 0,
- "comment": "string",
- "organization_number": "string",
- "customer_reference": "string",
- "cost_center": "string"
}, - "billing_address": {
- "first_name": "John",
- "last_name": "Doe",
- "address_line": "string",
- "address_line_2": "string",
- "co_address": "Land Lord",
- "business_name": "string",
- "postal_code": "0349",
- "postal_place": "Oslo",
- "country": "NO",
- "phone_number": "string",
- "email": "string",
- "latitude": 0,
- "longitude": 0,
- "comment": "string",
- "organization_number": "string",
- "customer_reference": "string",
- "cost_center": "string"
}, - "partial_payment": false,
- "items": [
- {
- "amount": 2000,
- "quantity": 2,
- "line_id": "1",
- "description": "Forsvinnignspølse",
- "vat": 20,
- "id": "10"
}, - {
- "amount": 6600,
- "quantity": 2,
- "line_id": "2",
- "description": "Vissvossafår på neppebrød",
- "vat": 20,
- "id": "6",
- "eligible_for_discount": true,
- "is_changed": true,
- "gross_amount": 10000,
- "discount_lines": [
- {
- "amount": 4400,
- "discount_type": "customer",
- "discount_id": "ed960ace-eb16-4e2e-ae52-b27647ccae8d",
- "description": "Vossafestpris",
- "line_id": 1
}
]
}, - {
- "amount": 59700,
- "quantity": 3,
- "line_id": "3",
- "description": "Luftboller",
- "vat": 20,
- "id": "1"
}
], - "gross_amount": 0,
- "is_changed": true,
- "shipping_option": {
- "id": "bring-pick-up-00001",
- "line_id": "bring-pick-up-00001-location-0a1f6b",
- "countries": [
- "NO"
], - "amount": 3900,
- "vat_amount": 975,
- "vat": 25,
- "title": "Standard",
- "description": "Pick up at your nearest postal office",
- "delivery_method": "pick_up",
- "operator": "Bring",
- "operator_product_id": "pick-up-00001-location-0a1f6b",
- "eta": {
- "starts_at": "2020-10-14T19:00:00Z",
- "ends_at": "2020-10-14T20:00:00Z"
}, - "time_slot": {
- "starts_at": "2020-10-14T19:00:00Z",
- "ends_at": "2020-10-14T20:00:00Z"
}, - "pick_up_address": {
- "first_name": "John",
- "last_name": "Doe",
- "address_line": "string",
- "address_line_2": "string",
- "co_address": "Land Lord",
- "business_name": "string",
- "postal_code": "0349",
- "postal_place": "Oslo",
- "country": "NO",
- "phone_number": "string",
- "email": "string",
- "latitude": 0,
- "longitude": 0,
- "comment": "string",
- "organization_number": "string",
- "customer_reference": "string",
- "cost_center": "string",
- "distance": 0
}, - "metadata": {
- "operator_dest": "XAB1239",
- "number_x": 1921
}, - "fee_split": {
- "type": "proportional",
- "destinations": [
- "string"
]
}, - "splits": [
- {
- "payout_destination_id": "P000000001",
- "amount": 29700
}
]
}, - "store": {
- "id": "sc029",
- "name": "SC Oslo",
- "business_name": "SC Oslo AS",
- "address": {
- "address_line": "Sommerkroveien 34",
- "address_line_2": "PB 123",
- "postal_code": "0349",
- "postal_place": "Oslo",
- "country": "NO"
}, - "chain": "SuperChain",
- "email": "contact@superchain.com",
- "gln": "5790001398644",
- "organization_number": "123456789MVA",
- "phone_number": "+4738260107",
- "mcc": "5814",
- "bax": "102603",
- "terminal_id": "T0292"
}, - "discount_lines": [
- {
- "amount": 4400,
- "percentage": 44,
- "discount_type": "customer",
- "discount_id": "766da0ef-9283-42bd-b012-0582344ec53c",
- "description": "string",
- "line_id": 1
}
], - "discount_codes": [
- "SUMMER20"
], - "payout_destination_id": "string",
- "merchant_reference": "string"
}, - "expires_at": "2019-08-24T14:15:22Z",
- "express": {
- "shipping_options": [
- {
- "id": "bring-pick-up-00001",
- "line_id": "bring-pick-up-00001-location-0a1f6b",
- "countries": [
- "NO"
], - "amount": 3900,
- "vat_amount": 975,
- "vat": 25,
- "title": "Standard",
- "description": "Pick up at your nearest postal office",
- "delivery_method": "pick_up",
- "operator": "Bring",
- "operator_product_id": "pick-up-00001-location-0a1f6b",
- "eta": {
- "starts_at": "2020-10-14T19:00:00Z",
- "ends_at": "2020-10-14T20:00:00Z"
}, - "time_slot": {
- "starts_at": "2020-10-14T19:00:00Z",
- "ends_at": "2020-10-14T20:00:00Z"
}, - "pick_up_address": {
- "first_name": "John",
- "last_name": "Doe",
- "address_line": "string",
- "address_line_2": "string",
- "co_address": "Land Lord",
- "business_name": "string",
- "postal_code": "0349",
- "postal_place": "Oslo",
- "country": "NO",
- "phone_number": "string",
- "email": "string",
- "latitude": 0,
- "longitude": 0,
- "comment": "string",
- "organization_number": "string",
- "customer_reference": "string",
- "cost_center": "string",
- "distance": 0
}, - "metadata": {
- "operator_dest": "XAB1239",
- "number_x": 1921
}
}
], - "shipping_mode": "shipping_required",
- "discount_codes": {
- "max_count": 0,
}, - "customer_types": [
- "b2c",
- "b2b"
]
}, - "configuration": {
- "auto_capture": true,
- "channel": "in_app",
- "publish": [
- {
- "channel": "sms",
- "type": "checkout-link",
- "id": "string",
- "status": "sent"
}
], - "active_payment_types": {
- "enabled": true
}, - "default_payment_type": "bambora.creditcard",
- "bambora": {
- "type": "payment_type",
- "creditcard": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable"
}, - "mobilepay": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable"
}, - "vipps": {
- "type": "payment_product_type",
- "enabled": true,
- "payability": "payable"
}
}, - "instabank": {
- "finance": {
- "enabled": true,
- "payability": "payable",
- "product": {
- "product_code": "630",
- "minimum_monthly_balance_rate": "1.67",
- "annual_interest_rate": "0.0",
- "effective_annual_interest_rate": "0.0",
- "origination_fee": 9500,
- "notification_fee": 3900,
- "minimum_amount": 20000,
- "loan_example": {
- "am