curl --request POST \
--url https://checkout.dintero.com/v1/transactions/{id}/authorization \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"amount": 123
}'{
"amount": 72200,
"currency": "NOK",
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"payout_destination_id": "<string>",
"merchant_reference": "<string>",
"channel": "ecommerce",
"merchant_reference_2": "<string>",
"dynamic_descriptor": "<string>",
"customer": {
"customer_id": "<string>",
"email": "john.doe@example.com",
"phone_number": "+4799999999",
"my_dintero": {
"actions": [],
"terms": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"url": "https://example.com/toc"
}
}
},
"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": 123,
"longitude": 123,
"comment": "<string>",
"organization_number": "<string>",
"organization_type": "<string>",
"customer_reference": "<string>",
"cost_center": "<string>"
},
"shipping_option": {
"id": "bring-pick-up-00001",
"line_id": "bring-pick-up-00001-location-0a1f6b",
"amount": 3900,
"title": "Standard",
"operator": "Bring",
"countries": [
"NO"
],
"vat_amount": 975,
"vat": 25,
"description": "Pick up at your nearest postal office",
"delivery_method": "pick_up",
"operator_product_id": "pick-up-00001-location-0a1f6b",
"eta": {
"working_days": [
1,
2
],
"shipping_day_of_week": 3,
"arrival_day_of_week": 3,
"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": 123,
"longitude": 123,
"comment": "<string>",
"organization_number": "<string>",
"organization_type": "<string>",
"customer_reference": "<string>",
"cost_center": "<string>",
"website_url": "<string>",
"opening_hours": {
"open_now": true,
"periods": [
{
"opens_at": "08:00",
"closes_at": "16:00",
"day_of_week": 1
}
],
"timezone": "Europe/Oslo"
},
"distance": 123
},
"metadata": {
"operator_dest": "XAB1239",
"number_x": 1921
},
"environmental_data": {
"description": "Fossil free",
"details": [
{
"label": "Carbon offset",
"value": "1KG CO2"
}
]
},
"thumbnail_url": "<string>",
"pay_in_store": {},
"fee_split": {
"destinations": [
"<string>"
]
},
"splits": [
{
"payout_destination_id": "seller-1",
"amount": 29700
}
],
"shipments": [
{
"id": "bring-pick-up-00001",
"line_id": "bring-pick-up-00001-location-0a1f6b",
"amount": 3900,
"title": "Standard",
"operator": "Bring",
"countries": [
"NO"
],
"vat_amount": 975,
"vat": 25,
"description": "Pick up at your nearest postal office",
"delivery_method": "pick_up",
"operator_product_id": "pick-up-00001-location-0a1f6b",
"eta": {
"working_days": [
1,
2
],
"shipping_day_of_week": 3,
"arrival_day_of_week": 3,
"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": 123,
"longitude": 123,
"comment": "<string>",
"organization_number": "<string>",
"organization_type": "<string>",
"customer_reference": "<string>",
"cost_center": "<string>",
"website_url": "<string>",
"opening_hours": {
"open_now": true,
"periods": [
{
"opens_at": "08:00",
"closes_at": "16:00",
"day_of_week": 1
}
],
"timezone": "Europe/Oslo"
},
"distance": 123
},
"metadata": {
"operator_dest": "XAB1239",
"number_x": 1921
},
"environmental_data": {
"description": "Fossil free",
"details": [
{
"label": "Carbon offset",
"value": "1KG CO2"
}
]
},
"thumbnail_url": "<string>",
"pay_in_store": {},
"fee_split": {
"destinations": [
"<string>"
]
},
"splits": [
{
"payout_destination_id": "seller-1",
"amount": 29700
}
],
"shipment_id": "<string>",
"shipment_items": [
{
"line_id": "line-id-1",
"quantity": 123
}
]
}
]
},
"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": 123,
"longitude": 123,
"comment": "<string>",
"organization_number": "<string>",
"organization_type": "<string>",
"customer_reference": "<string>",
"cost_center": "<string>"
},
"store": {
"id": "sc029",
"name": "SC Oslo",
"business_name": "SC Oslo AS",
"address": {
"address_line": "Sommerkroveien 34",
"postal_place": "Oslo",
"country": "NO",
"address_line_2": "PB 123",
"postal_code": "0349"
},
"chain": "SuperChain",
"email": "contact@superchain.com",
"gln": "5790001398644",
"organization_number": "123456789MVA",
"phone_number": "+4738260107",
"mcc": "5814",
"bax": "102603",
"terminal_id": "T0292",
"payout_destination_id": "seller-1"
},
"status": "CAPTURED",
"gift_cards": [
{
"card_id": "<string>",
"amount": 123,
"masked_card_token": "<string>"
}
],
"items": [
{
"amount": 2000,
"quantity": 2.5,
"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": {
"redirect_url": "<string>",
"approval_url": "<string>",
"callback_url": "<string>"
},
"events": [
{
"event": "INITIATE",
"transaction_status": "INITIATED",
"created_at": "2019-01-18T13:13:37.175Z",
"success": true,
"request_id": "a3dcc23125bc4363b9dae29ed25a4eb1"
},
{
"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": {
"return_url": "https://example.com/accept",
"callback_url": "https://example.com/callback?method=GET",
"merchant_terms_url": "https://example.com/terms.html"
},
"order": {
"amount": 72200,
"currency": "NOK",
"merchant_reference": "<string>",
"vat_amount": 13660,
"merchant_reference_2": "<string>",
"event_reference": "<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": 123,
"longitude": 123,
"comment": "<string>",
"organization_number": "<string>",
"organization_type": "<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": 123,
"longitude": 123,
"comment": "<string>",
"organization_number": "<string>",
"organization_type": "<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": 123,
"is_changed": true,
"shipping_option": {
"id": "bring-pick-up-00001",
"line_id": "bring-pick-up-00001-location-0a1f6b",
"amount": 3900,
"title": "Standard",
"operator": "Bring",
"countries": [
"NO"
],
"vat_amount": 975,
"vat": 25,
"description": "Pick up at your nearest postal office",
"delivery_method": "pick_up",
"operator_product_id": "pick-up-00001-location-0a1f6b",
"eta": {
"working_days": [
1,
2
],
"shipping_day_of_week": 3,
"arrival_day_of_week": 3,
"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": 123,
"longitude": 123,
"comment": "<string>",
"organization_number": "<string>",
"organization_type": "<string>",
"customer_reference": "<string>",
"cost_center": "<string>",
"website_url": "<string>",
"opening_hours": {
"open_now": true,
"periods": [
{
"opens_at": "08:00",
"closes_at": "16:00",
"day_of_week": 1
}
],
"timezone": "Europe/Oslo"
},
"distance": 123
},
"metadata": {
"operator_dest": "XAB1239",
"number_x": 1921
},
"environmental_data": {
"description": "Fossil free",
"details": [
{
"label": "Carbon offset",
"value": "1KG CO2"
}
]
},
"thumbnail_url": "<string>",
"pay_in_store": {},
"fee_split": {
"destinations": [
"<string>"
]
},
"splits": [
{
"payout_destination_id": "seller-1",
"amount": 29700
}
],
"shipments": [
"<unknown>"
]
},
"store": {
"id": "sc029",
"name": "SC Oslo",
"business_name": "SC Oslo AS",
"address": {
"address_line": "Sommerkroveien 34",
"postal_place": "Oslo",
"country": "NO",
"address_line_2": "PB 123",
"postal_code": "0349"
},
"chain": "SuperChain",
"email": "contact@superchain.com",
"gln": "5790001398644",
"organization_number": "123456789MVA",
"phone_number": "+4738260107",
"mcc": "5814",
"bax": "102603",
"terminal_id": "T0292",
"payout_destination_id": "seller-1"
},
"discount_lines": [
{
"amount": 4400,
"percentage": 44,
"discount_id": "766da0ef-9283-42bd-b012-0582344ec53c",
"description": "<string>",
"line_id": 1
}
],
"discount_codes": [
"SUMMER20"
],
"gift_cards": [
{
"card_id": "<string>",
"amount": 123,
"masked_card_token": "<string>"
}
],
"payout_destination_id": "<string>"
},
"configuration": {
"auto_capture": true,
"channel": "ecommerce",
"publish": [
{
"id": "<string>"
}
],
"active_payment_types": {
"enabled": true
},
"bambora": {
"applepay": {
"enabled": true
},
"creditcard": {
"enabled": true,
"generate_payment_token": false
},
"googlepay": {
"enabled": true
},
"mobilepay": {
"enabled": true
},
"vipps": {
"enabled": true
}
},
"dintero": {
"wallets": {
"enabled": true
},
"zero": {
"enabled": true
},
"external": {
"enabled": true,
"display": {
"payment_method_label": "<string>",
"button_label": "<string>",
"content": {
"title": "<string>",
"description": "<string>"
},
"terms": [
{
"ref": "<string>",
"label": "<string>",
"href": "<string>"
}
]
}
}
},
"dintero_psp": {
"creditcard": {
"enabled": true,
"generate_payment_token": false,
"token_supported_auth_methods": [
"PASSKEY",
"3DS"
],
"sca_policy": {
"network_exemptions": {
"low_value": true,
"low_risk": true
},
"liability_rules": [
"<unknown>"
]
},
"generate_payment_token_config": {}
},
"vipps": {
"enabled": true,
"sca_policy": {
"network_exemptions": {
"low_value": true,
"low_risk": true
},
"liability_rules": [
"<unknown>"
]
}
},
"applepay": {
"enabled": true,
"sca_policy": {
"network_exemptions": {
"low_value": true,
"low_risk": true
},
"liability_rules": [
"<unknown>"
]
},
"details": {
"domain_names": [
"example.dintero.com"
],
"token_event_notification_url": "<string>"
}
},
"googlepay": {
"enabled": true,
"sca_policy": {
"network_exemptions": {
"low_value": true,
"low_risk": true
},
"liability_rules": [
"<unknown>"
]
},
"generate_payment_token": false
},
"clicktopay": {
"enabled": true,
"generate_payment_token": false,
"sca_policy": {
"network_exemptions": {
"low_value": true,
"low_risk": true
},
"liability_rules": [
"<unknown>"
]
}
}
},
"instabank": {
"finance": {
"enabled": true,
"product": "<unknown>"
},
"invoice": {
"enabled": true,
"require_applicant": true,
"product": "<unknown>"
},
"installment": {
"enabled": true,
"type": "payment_product_type",
"products": [
{
"product_code": "633",
"credit_time": 36,
"origination_fee": 9500,
"notification_fee": 3900,
"annual_interest_rate": "0.0",
"minimum_amount": 20000,
"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": {
"enabled": true,
"type": "payment_product_type",
"products": [
{
"product_code": "633",
"postponement_months": 36,
"origination_fee": 9500,
"annual_interest_rate": "0.0",
"minimum_amount": 20000,
"notification_fee": 3900,
"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": {
"creditcard": {
"enabled": true,
"terminal": {
"terminal_single_page": true,
"terminal_design": "<string>",
"terminal_layout": "<string>"
}
}
},
"payex": {
"dynamic_descriptor": "<string>",
"swish": {
"enabled": true
},
"creditcard": {
"enabled": true,
"generate_payment_token": false,
"generate_recurrence_token": false,
"no_cvc": true
},
"mobilepay": {
"enabled": true
},
"vipps": {
"enabled": true
},
"applepay": {
"enabled": true
},
"clicktopay": {
"enabled": true
},
"googlepay": {
"enabled": true
}
},
"vipps": {
"enabled": true,
"dynamic_descriptor": "<string>"
},
"collector": {
"dynamic_descriptor": "<string>",
"invoice": {
"enabled": true,
"type": "payment_product_type",
"countries": [
"<string>"
],
"options": {
"enable_on_hold": true
}
},
"invoice_b2b": {
"enabled": true,
"type": "payment_product_type",
"countries": [
"<string>"
],
"options": {
"disable_collector_b2b_address_enforcement": false,
"enable_on_hold": true
}
},
"invoice_b2b_preapproved": {
"enabled": true,
"type": "payment_product_type",
"countries": [
"<string>"
],
"accounts": [
{
"billing_address": {
"business_name": "<string>",
"organization_number": "<string>",
"address_line": "<string>",
"postal_code": "0349",
"postal_place": "Oslo",
"country": "NO",
"phone_number": "<string>",
"email": "<string>",
"address_line_2": "<string>",
"co_address": "<string>",
"customer_reference": "<string>",
"cost_center": "<string>",
"first_name": "John",
"last_name": "Doe",
"address_id": "address_1"
},
"company_id": "<string>"
}
]
},
"finance": {
"enabled": true,
"type": "payment_product_type",
"countries": [
"<string>"
]
},
"installment": {
"enabled": true,
"type": "payment_product_type",
"countries": [
"<string>"
],
"options": {
"enable_on_hold": true
}
}
},
"klarna": {
"klarna": {
"enabled": true
},
"billie": {
"enabled": true
}
},
"kravia": {
"invoice_b2b": {
"enabled": true,
"days_until_due": 182,
"require_identity_verification": true,
"invoice_channel": "kravia"
},
"invoice_b2b_grouped": {
"enabled": true,
"invoice_schedule": {},
"days_until_due": 182.5,
"require_identity_verification": true,
"invoice_channel": "<unknown>"
},
"invoice_b2c": {
"enabled": true,
"days_until_due": 182,
"invoice_channel": "kravia",
"require_identity_verification": true
}
},
"two": {
"invoice_b2b": {
"enabled": true
}
},
"santander": {
"debit_account": {
"enabled": true,
"branding_name": "<string>",
"accounts": [
{
"account_number_token": "<string>",
"masked_account_number": "<string>"
}
]
}
},
"seitatech": {
"in_person": {
"enabled": true
}
},
"swish": {
"swish": {
"enabled": true,
"payout_enabled": true
}
},
"payout": {
"dynamic_payout_destination_ids": [
{
"order_store_id": "STORE_123",
"order_payout_destination_id": "PD_123",
"overwrite_payout_destination_id": false
}
],
"payment_products": [
{}
]
},
"allow_express_wallet_payment": false,
"age_verification": {
"enabled": true,
"minimum_age_required": 18
},
"discounts": {
"express_discount_codes": {
"enabled": true
},
"order": {
"enabled": false
}
},
"theme": {
"backdrop": "<string>",
"primary": "<string>",
"cardRadius": "<string>",
"buttonRadius": "<string>"
},
"countries": {
"preferred_country": "<string>",
"allow_countries": [
"<string>"
],
"deny_countries": [
"<string>"
]
},
"allow_different_billing_shipping_address": []
},
"customer": {
"customer_id": "<string>",
"email": "john.doe@example.com",
"phone_number": "+4799999999"
},
"expires_at": "2023-11-07T05:31:56Z",
"checkboxes": [
{
"id": "<string>",
"label": "<string>",
"checked": true,
"required": true,
"link": {
"url": "<string>",
"text": "Terms for checkbox action"
}
}
],
"express": {
"shipping_options": [
{
"id": "bring-pick-up-00001",
"line_id": "bring-pick-up-00001-location-0a1f6b",
"amount": 3900,
"title": "Standard",
"operator": "Bring",
"countries": [
"NO"
],
"vat_amount": 975,
"vat": 25,
"description": "Pick up at your nearest postal office",
"delivery_method": "pick_up",
"operator_product_id": "pick-up-00001-location-0a1f6b",
"eta": {
"working_days": [
1,
2
],
"shipping_day_of_week": 3,
"arrival_day_of_week": 3,
"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": 123,
"longitude": 123,
"comment": "<string>",
"organization_number": "<string>",
"organization_type": "<string>",
"customer_reference": "<string>",
"cost_center": "<string>",
"website_url": "<string>",
"opening_hours": {
"open_now": true,
"periods": [
{
"opens_at": "08:00",
"closes_at": "16:00",
"day_of_week": 1
}
],
"timezone": "Europe/Oslo"
},
"distance": 123
},
"metadata": {
"operator_dest": "XAB1239",
"number_x": 1921
},
"environmental_data": {
"description": "Fossil free",
"details": [
{
"label": "Carbon offset",
"value": "1KG CO2"
}
]
},
"thumbnail_url": "<string>",
"pay_in_store": {},
"fee_split": {
"destinations": [
"<string>"
]
},
"splits": [
{
"payout_destination_id": "seller-1",
"amount": 29700
}
],
"shipment_id": "<string>",
"shipment_items": [
{
"line_id": "line-id-1",
"quantity": 123
}
]
}
],
"shipping_mode": "shipping_required",
"discount_codes": {
"max_count": 123,
"callback_url": "https://example.com/order/00128110/discount_codes_updated"
},
"shipping_address_callback_url": "https://example.com/order/00128110/address_updated",
"customer_types": [
"b2c",
"b2b"
],
"default_different_billing_shipping_address": []
},
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"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"
},
"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>"
},
"updated_at": "2023-11-07T05:31:56Z",
"metadata": {
"merchant_name": "<string>",
"merchant_country": "<string>",
"merchant_category_code": "<string>",
"session:profile_id": "<string>",
"event_reference": "<string>",
"payout_correlation_id": "<string>",
"gateway:id": "<string>",
"bambora:merchant_number": "<string>",
"bambora:transaction_id": "<string>",
"bambora:reference": "<string>",
"bambora:acquirer": "<string>",
"bambora:wallet": "<string>",
"collector:StoreId": "<string>",
"collector:Invoice.InvoiceNumber": "<string>",
"collector:Invoice.OrderNumber": "<string>",
"collector:Invoice.CountryCode": "<string>",
"collector:Invoice.ProductCode": "<string>",
"collector:Invoice.InvoiceType": "<string>",
"collector:Invoice.SettlementReference": "<string>",
"instabank:Sale.ExternalReference": "<string>",
"instabank:Sale.Sequence": 123,
"instabank:Sale.Product.Name": "<string>",
"klarna:authorized_payment_method:number_of_days": "<string>",
"klarna:authorized_payment_method:number_of_installments": "<string>",
"netaxept:merchant_id": "<string>",
"netaxept:transaction_id": "<string>",
"payex:payment:payee_info:payee_id": "<string>",
"payex:payment:payee_info:payee_name": "<string>",
"payex:payment:payee_info:subsite": "<string>",
"payex:payment:id": "<string>",
"payex:payment:number": 123,
"payex:payment:operation": "<string>",
"payex:payment:created": "2023-11-07T05:31:56Z",
"santander:debit_account.ApplicationNumber": "<string>",
"santander:debit_account.StatusCode": "<string>",
"swish:payment_request:id": "<string>",
"swish:swish_number": "<string>",
"swish:id": "<string>",
"swish:paymentReference": "<string>",
"vipps:transaction.orderId": "<string>",
"vipps:transaction.transactionText": "<string>",
"vipps:merchantInfo.merchantSerialNumber": "<string>",
"kravia:invoice_number": "<string>",
"kravia:invoice_reference": "<string>",
"kravia:invoice_channel": "kravia",
"kravia:invoice_url": "<string>",
"two:order_id": "<string>",
"two:payment_url": "<string>",
"two:merchant_id": "<string>"
},
"checkboxes": [
{
"id": "<string>",
"label": "<string>",
"checked": true,
"required": true,
"link": {
"url": "<string>",
"text": "Terms for checkbox action"
}
}
],
"card": {
"brand": "Visa",
"masked_pan": "476173******0416",
"expiry_date": "<string>",
"country": "NOR",
"issuing_bank": "<string>",
"acquirer_stan": "<string>",
"acquirer_terminal_id": "<string>",
"acquirer_transaction_time": "2023-11-07T05:31:56Z",
"three_ds_version": "2",
"three_ds_server_trans_id": "<string>",
"eci": "05",
"payment_system_type": "wallet",
"payment_token": "<string>",
"payment_token_id": "<string>",
"recurrence_token": "<string>",
"recurrence_token_id": "<string>",
"card_holder_tokenization_consent": "opt-out"
},
"verified_identity": {
"iss": "https://idp-uat.collectorbank.se",
"aud": "<string>",
"acr": "urn:collectorbank:ac:method:nbid",
"auth_time": "2023-11-07T05:31:56Z",
"national_idp": "<string>",
"national_country": "NO",
"sub": "<string>",
"nonce": "<string>",
"name": "John Doe",
"given_name": "John",
"family_name": "Doe"
}
}Update transaction authorization
This endpoint is used to update an existing authorization:
Use cases:
-
Extend authorization (Klarna)
- Provider:
klarna - Purpose: Extend the lifetime of an existing authorization.
- Required fields:
reason(string): The reason for the extension.reference(string): A reference specified by the merchant to identify the transaction.
- Provider:
-
Update order amount (Klarna)
- Provider:
klarna - Purpose: Update the authorized amount for an existing Klarna order.
- Required fields:
amount(number): The new amount to authorize.items(array): List of transaction items. Sum of item amounts must equal the updated transaction amount.description(string): Optional description of the order.reason(string): Optional reason for the update.reference(string): Optional merchant reference to identify the transaction.
- Provider:
-
Update pre-authorization (Dintero PSP)
- Provider:
dintero_psp - Purpose: Update the pre-authorized amount and/or finalize the authorization.
- Required fields:
amount(number): The new amount to authorize.- If
final_authorization=false, the new amount must be greater than the previous pre-authorized amount. - If
final_authorization=true, the amount may be increased, reduced, or unchanged.
- If
final_authorization(boolean): Indicates whether this is the final authorization step.true: Finalizes the authorization and locks the transaction for further updates.false: Keeps the pre-authorization open for future updates.
reference(string): Optional merchant reference to identify the transaction.items(array): Optional list of transaction items to update. If the transaction already has items, this field is required. When present, sum of item amounts must equal the updated transaction amount.
- Provider:
-
Authorize external transaction (Dintero External)
- Provider:
dintero - Purpose: Authorize a transaction currently on hold.
- If
amountoritemsare provided, the API will validate if the details are consistent with the order in the transaction.
- Provider:
Notes:
- For Klarna:
- If
amountis not provided: Extend authorization flow is used (use case 1). Onlyreasonandreferenceare relevant. - If
amountis provided: Update order amount flow is used (use case 2).amountis required;itemsanddescriptionare optional.
- If
- For pre-authorization: Only
amount,final_authorization, andreferenceare relevant.
curl --request POST \
--url https://checkout.dintero.com/v1/transactions/{id}/authorization \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"amount": 123
}'{
"amount": 72200,
"currency": "NOK",
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"payout_destination_id": "<string>",
"merchant_reference": "<string>",
"channel": "ecommerce",
"merchant_reference_2": "<string>",
"dynamic_descriptor": "<string>",
"customer": {
"customer_id": "<string>",
"email": "john.doe@example.com",
"phone_number": "+4799999999",
"my_dintero": {
"actions": [],
"terms": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"url": "https://example.com/toc"
}
}
},
"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": 123,
"longitude": 123,
"comment": "<string>",
"organization_number": "<string>",
"organization_type": "<string>",
"customer_reference": "<string>",
"cost_center": "<string>"
},
"shipping_option": {
"id": "bring-pick-up-00001",
"line_id": "bring-pick-up-00001-location-0a1f6b",
"amount": 3900,
"title": "Standard",
"operator": "Bring",
"countries": [
"NO"
],
"vat_amount": 975,
"vat": 25,
"description": "Pick up at your nearest postal office",
"delivery_method": "pick_up",
"operator_product_id": "pick-up-00001-location-0a1f6b",
"eta": {
"working_days": [
1,
2
],
"shipping_day_of_week": 3,
"arrival_day_of_week": 3,
"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": 123,
"longitude": 123,
"comment": "<string>",
"organization_number": "<string>",
"organization_type": "<string>",
"customer_reference": "<string>",
"cost_center": "<string>",
"website_url": "<string>",
"opening_hours": {
"open_now": true,
"periods": [
{
"opens_at": "08:00",
"closes_at": "16:00",
"day_of_week": 1
}
],
"timezone": "Europe/Oslo"
},
"distance": 123
},
"metadata": {
"operator_dest": "XAB1239",
"number_x": 1921
},
"environmental_data": {
"description": "Fossil free",
"details": [
{
"label": "Carbon offset",
"value": "1KG CO2"
}
]
},
"thumbnail_url": "<string>",
"pay_in_store": {},
"fee_split": {
"destinations": [
"<string>"
]
},
"splits": [
{
"payout_destination_id": "seller-1",
"amount": 29700
}
],
"shipments": [
{
"id": "bring-pick-up-00001",
"line_id": "bring-pick-up-00001-location-0a1f6b",
"amount": 3900,
"title": "Standard",
"operator": "Bring",
"countries": [
"NO"
],
"vat_amount": 975,
"vat": 25,
"description": "Pick up at your nearest postal office",
"delivery_method": "pick_up",
"operator_product_id": "pick-up-00001-location-0a1f6b",
"eta": {
"working_days": [
1,
2
],
"shipping_day_of_week": 3,
"arrival_day_of_week": 3,
"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": 123,
"longitude": 123,
"comment": "<string>",
"organization_number": "<string>",
"organization_type": "<string>",
"customer_reference": "<string>",
"cost_center": "<string>",
"website_url": "<string>",
"opening_hours": {
"open_now": true,
"periods": [
{
"opens_at": "08:00",
"closes_at": "16:00",
"day_of_week": 1
}
],
"timezone": "Europe/Oslo"
},
"distance": 123
},
"metadata": {
"operator_dest": "XAB1239",
"number_x": 1921
},
"environmental_data": {
"description": "Fossil free",
"details": [
{
"label": "Carbon offset",
"value": "1KG CO2"
}
]
},
"thumbnail_url": "<string>",
"pay_in_store": {},
"fee_split": {
"destinations": [
"<string>"
]
},
"splits": [
{
"payout_destination_id": "seller-1",
"amount": 29700
}
],
"shipment_id": "<string>",
"shipment_items": [
{
"line_id": "line-id-1",
"quantity": 123
}
]
}
]
},
"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": 123,
"longitude": 123,
"comment": "<string>",
"organization_number": "<string>",
"organization_type": "<string>",
"customer_reference": "<string>",
"cost_center": "<string>"
},
"store": {
"id": "sc029",
"name": "SC Oslo",
"business_name": "SC Oslo AS",
"address": {
"address_line": "Sommerkroveien 34",
"postal_place": "Oslo",
"country": "NO",
"address_line_2": "PB 123",
"postal_code": "0349"
},
"chain": "SuperChain",
"email": "contact@superchain.com",
"gln": "5790001398644",
"organization_number": "123456789MVA",
"phone_number": "+4738260107",
"mcc": "5814",
"bax": "102603",
"terminal_id": "T0292",
"payout_destination_id": "seller-1"
},
"status": "CAPTURED",
"gift_cards": [
{
"card_id": "<string>",
"amount": 123,
"masked_card_token": "<string>"
}
],
"items": [
{
"amount": 2000,
"quantity": 2.5,
"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": {
"redirect_url": "<string>",
"approval_url": "<string>",
"callback_url": "<string>"
},
"events": [
{
"event": "INITIATE",
"transaction_status": "INITIATED",
"created_at": "2019-01-18T13:13:37.175Z",
"success": true,
"request_id": "a3dcc23125bc4363b9dae29ed25a4eb1"
},
{
"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": {
"return_url": "https://example.com/accept",
"callback_url": "https://example.com/callback?method=GET",
"merchant_terms_url": "https://example.com/terms.html"
},
"order": {
"amount": 72200,
"currency": "NOK",
"merchant_reference": "<string>",
"vat_amount": 13660,
"merchant_reference_2": "<string>",
"event_reference": "<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": 123,
"longitude": 123,
"comment": "<string>",
"organization_number": "<string>",
"organization_type": "<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": 123,
"longitude": 123,
"comment": "<string>",
"organization_number": "<string>",
"organization_type": "<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": 123,
"is_changed": true,
"shipping_option": {
"id": "bring-pick-up-00001",
"line_id": "bring-pick-up-00001-location-0a1f6b",
"amount": 3900,
"title": "Standard",
"operator": "Bring",
"countries": [
"NO"
],
"vat_amount": 975,
"vat": 25,
"description": "Pick up at your nearest postal office",
"delivery_method": "pick_up",
"operator_product_id": "pick-up-00001-location-0a1f6b",
"eta": {
"working_days": [
1,
2
],
"shipping_day_of_week": 3,
"arrival_day_of_week": 3,
"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": 123,
"longitude": 123,
"comment": "<string>",
"organization_number": "<string>",
"organization_type": "<string>",
"customer_reference": "<string>",
"cost_center": "<string>",
"website_url": "<string>",
"opening_hours": {
"open_now": true,
"periods": [
{
"opens_at": "08:00",
"closes_at": "16:00",
"day_of_week": 1
}
],
"timezone": "Europe/Oslo"
},
"distance": 123
},
"metadata": {
"operator_dest": "XAB1239",
"number_x": 1921
},
"environmental_data": {
"description": "Fossil free",
"details": [
{
"label": "Carbon offset",
"value": "1KG CO2"
}
]
},
"thumbnail_url": "<string>",
"pay_in_store": {},
"fee_split": {
"destinations": [
"<string>"
]
},
"splits": [
{
"payout_destination_id": "seller-1",
"amount": 29700
}
],
"shipments": [
"<unknown>"
]
},
"store": {
"id": "sc029",
"name": "SC Oslo",
"business_name": "SC Oslo AS",
"address": {
"address_line": "Sommerkroveien 34",
"postal_place": "Oslo",
"country": "NO",
"address_line_2": "PB 123",
"postal_code": "0349"
},
"chain": "SuperChain",
"email": "contact@superchain.com",
"gln": "5790001398644",
"organization_number": "123456789MVA",
"phone_number": "+4738260107",
"mcc": "5814",
"bax": "102603",
"terminal_id": "T0292",
"payout_destination_id": "seller-1"
},
"discount_lines": [
{
"amount": 4400,
"percentage": 44,
"discount_id": "766da0ef-9283-42bd-b012-0582344ec53c",
"description": "<string>",
"line_id": 1
}
],
"discount_codes": [
"SUMMER20"
],
"gift_cards": [
{
"card_id": "<string>",
"amount": 123,
"masked_card_token": "<string>"
}
],
"payout_destination_id": "<string>"
},
"configuration": {
"auto_capture": true,
"channel": "ecommerce",
"publish": [
{
"id": "<string>"
}
],
"active_payment_types": {
"enabled": true
},
"bambora": {
"applepay": {
"enabled": true
},
"creditcard": {
"enabled": true,
"generate_payment_token": false
},
"googlepay": {
"enabled": true
},
"mobilepay": {
"enabled": true
},
"vipps": {
"enabled": true
}
},
"dintero": {
"wallets": {
"enabled": true
},
"zero": {
"enabled": true
},
"external": {
"enabled": true,
"display": {
"payment_method_label": "<string>",
"button_label": "<string>",
"content": {
"title": "<string>",
"description": "<string>"
},
"terms": [
{
"ref": "<string>",
"label": "<string>",
"href": "<string>"
}
]
}
}
},
"dintero_psp": {
"creditcard": {
"enabled": true,
"generate_payment_token": false,
"token_supported_auth_methods": [
"PASSKEY",
"3DS"
],
"sca_policy": {
"network_exemptions": {
"low_value": true,
"low_risk": true
},
"liability_rules": [
"<unknown>"
]
},
"generate_payment_token_config": {}
},
"vipps": {
"enabled": true,
"sca_policy": {
"network_exemptions": {
"low_value": true,
"low_risk": true
},
"liability_rules": [
"<unknown>"
]
}
},
"applepay": {
"enabled": true,
"sca_policy": {
"network_exemptions": {
"low_value": true,
"low_risk": true
},
"liability_rules": [
"<unknown>"
]
},
"details": {
"domain_names": [
"example.dintero.com"
],
"token_event_notification_url": "<string>"
}
},
"googlepay": {
"enabled": true,
"sca_policy": {
"network_exemptions": {
"low_value": true,
"low_risk": true
},
"liability_rules": [
"<unknown>"
]
},
"generate_payment_token": false
},
"clicktopay": {
"enabled": true,
"generate_payment_token": false,
"sca_policy": {
"network_exemptions": {
"low_value": true,
"low_risk": true
},
"liability_rules": [
"<unknown>"
]
}
}
},
"instabank": {
"finance": {
"enabled": true,
"product": "<unknown>"
},
"invoice": {
"enabled": true,
"require_applicant": true,
"product": "<unknown>"
},
"installment": {
"enabled": true,
"type": "payment_product_type",
"products": [
{
"product_code": "633",
"credit_time": 36,
"origination_fee": 9500,
"notification_fee": 3900,
"annual_interest_rate": "0.0",
"minimum_amount": 20000,
"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": {
"enabled": true,
"type": "payment_product_type",
"products": [
{
"product_code": "633",
"postponement_months": 36,
"origination_fee": 9500,
"annual_interest_rate": "0.0",
"minimum_amount": 20000,
"notification_fee": 3900,
"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": {
"creditcard": {
"enabled": true,
"terminal": {
"terminal_single_page": true,
"terminal_design": "<string>",
"terminal_layout": "<string>"
}
}
},
"payex": {
"dynamic_descriptor": "<string>",
"swish": {
"enabled": true
},
"creditcard": {
"enabled": true,
"generate_payment_token": false,
"generate_recurrence_token": false,
"no_cvc": true
},
"mobilepay": {
"enabled": true
},
"vipps": {
"enabled": true
},
"applepay": {
"enabled": true
},
"clicktopay": {
"enabled": true
},
"googlepay": {
"enabled": true
}
},
"vipps": {
"enabled": true,
"dynamic_descriptor": "<string>"
},
"collector": {
"dynamic_descriptor": "<string>",
"invoice": {
"enabled": true,
"type": "payment_product_type",
"countries": [
"<string>"
],
"options": {
"enable_on_hold": true
}
},
"invoice_b2b": {
"enabled": true,
"type": "payment_product_type",
"countries": [
"<string>"
],
"options": {
"disable_collector_b2b_address_enforcement": false,
"enable_on_hold": true
}
},
"invoice_b2b_preapproved": {
"enabled": true,
"type": "payment_product_type",
"countries": [
"<string>"
],
"accounts": [
{
"billing_address": {
"business_name": "<string>",
"organization_number": "<string>",
"address_line": "<string>",
"postal_code": "0349",
"postal_place": "Oslo",
"country": "NO",
"phone_number": "<string>",
"email": "<string>",
"address_line_2": "<string>",
"co_address": "<string>",
"customer_reference": "<string>",
"cost_center": "<string>",
"first_name": "John",
"last_name": "Doe",
"address_id": "address_1"
},
"company_id": "<string>"
}
]
},
"finance": {
"enabled": true,
"type": "payment_product_type",
"countries": [
"<string>"
]
},
"installment": {
"enabled": true,
"type": "payment_product_type",
"countries": [
"<string>"
],
"options": {
"enable_on_hold": true
}
}
},
"klarna": {
"klarna": {
"enabled": true
},
"billie": {
"enabled": true
}
},
"kravia": {
"invoice_b2b": {
"enabled": true,
"days_until_due": 182,
"require_identity_verification": true,
"invoice_channel": "kravia"
},
"invoice_b2b_grouped": {
"enabled": true,
"invoice_schedule": {},
"days_until_due": 182.5,
"require_identity_verification": true,
"invoice_channel": "<unknown>"
},
"invoice_b2c": {
"enabled": true,
"days_until_due": 182,
"invoice_channel": "kravia",
"require_identity_verification": true
}
},
"two": {
"invoice_b2b": {
"enabled": true
}
},
"santander": {
"debit_account": {
"enabled": true,
"branding_name": "<string>",
"accounts": [
{
"account_number_token": "<string>",
"masked_account_number": "<string>"
}
]
}
},
"seitatech": {
"in_person": {
"enabled": true
}
},
"swish": {
"swish": {
"enabled": true,
"payout_enabled": true
}
},
"payout": {
"dynamic_payout_destination_ids": [
{
"order_store_id": "STORE_123",
"order_payout_destination_id": "PD_123",
"overwrite_payout_destination_id": false
}
],
"payment_products": [
{}
]
},
"allow_express_wallet_payment": false,
"age_verification": {
"enabled": true,
"minimum_age_required": 18
},
"discounts": {
"express_discount_codes": {
"enabled": true
},
"order": {
"enabled": false
}
},
"theme": {
"backdrop": "<string>",
"primary": "<string>",
"cardRadius": "<string>",
"buttonRadius": "<string>"
},
"countries": {
"preferred_country": "<string>",
"allow_countries": [
"<string>"
],
"deny_countries": [
"<string>"
]
},
"allow_different_billing_shipping_address": []
},
"customer": {
"customer_id": "<string>",
"email": "john.doe@example.com",
"phone_number": "+4799999999"
},
"expires_at": "2023-11-07T05:31:56Z",
"checkboxes": [
{
"id": "<string>",
"label": "<string>",
"checked": true,
"required": true,
"link": {
"url": "<string>",
"text": "Terms for checkbox action"
}
}
],
"express": {
"shipping_options": [
{
"id": "bring-pick-up-00001",
"line_id": "bring-pick-up-00001-location-0a1f6b",
"amount": 3900,
"title": "Standard",
"operator": "Bring",
"countries": [
"NO"
],
"vat_amount": 975,
"vat": 25,
"description": "Pick up at your nearest postal office",
"delivery_method": "pick_up",
"operator_product_id": "pick-up-00001-location-0a1f6b",
"eta": {
"working_days": [
1,
2
],
"shipping_day_of_week": 3,
"arrival_day_of_week": 3,
"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": 123,
"longitude": 123,
"comment": "<string>",
"organization_number": "<string>",
"organization_type": "<string>",
"customer_reference": "<string>",
"cost_center": "<string>",
"website_url": "<string>",
"opening_hours": {
"open_now": true,
"periods": [
{
"opens_at": "08:00",
"closes_at": "16:00",
"day_of_week": 1
}
],
"timezone": "Europe/Oslo"
},
"distance": 123
},
"metadata": {
"operator_dest": "XAB1239",
"number_x": 1921
},
"environmental_data": {
"description": "Fossil free",
"details": [
{
"label": "Carbon offset",
"value": "1KG CO2"
}
]
},
"thumbnail_url": "<string>",
"pay_in_store": {},
"fee_split": {
"destinations": [
"<string>"
]
},
"splits": [
{
"payout_destination_id": "seller-1",
"amount": 29700
}
],
"shipment_id": "<string>",
"shipment_items": [
{
"line_id": "line-id-1",
"quantity": 123
}
]
}
],
"shipping_mode": "shipping_required",
"discount_codes": {
"max_count": 123,
"callback_url": "https://example.com/order/00128110/discount_codes_updated"
},
"shipping_address_callback_url": "https://example.com/order/00128110/address_updated",
"customer_types": [
"b2c",
"b2b"
],
"default_different_billing_shipping_address": []
},
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"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"
},
"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>"
},
"updated_at": "2023-11-07T05:31:56Z",
"metadata": {
"merchant_name": "<string>",
"merchant_country": "<string>",
"merchant_category_code": "<string>",
"session:profile_id": "<string>",
"event_reference": "<string>",
"payout_correlation_id": "<string>",
"gateway:id": "<string>",
"bambora:merchant_number": "<string>",
"bambora:transaction_id": "<string>",
"bambora:reference": "<string>",
"bambora:acquirer": "<string>",
"bambora:wallet": "<string>",
"collector:StoreId": "<string>",
"collector:Invoice.InvoiceNumber": "<string>",
"collector:Invoice.OrderNumber": "<string>",
"collector:Invoice.CountryCode": "<string>",
"collector:Invoice.ProductCode": "<string>",
"collector:Invoice.InvoiceType": "<string>",
"collector:Invoice.SettlementReference": "<string>",
"instabank:Sale.ExternalReference": "<string>",
"instabank:Sale.Sequence": 123,
"instabank:Sale.Product.Name": "<string>",
"klarna:authorized_payment_method:number_of_days": "<string>",
"klarna:authorized_payment_method:number_of_installments": "<string>",
"netaxept:merchant_id": "<string>",
"netaxept:transaction_id": "<string>",
"payex:payment:payee_info:payee_id": "<string>",
"payex:payment:payee_info:payee_name": "<string>",
"payex:payment:payee_info:subsite": "<string>",
"payex:payment:id": "<string>",
"payex:payment:number": 123,
"payex:payment:operation": "<string>",
"payex:payment:created": "2023-11-07T05:31:56Z",
"santander:debit_account.ApplicationNumber": "<string>",
"santander:debit_account.StatusCode": "<string>",
"swish:payment_request:id": "<string>",
"swish:swish_number": "<string>",
"swish:id": "<string>",
"swish:paymentReference": "<string>",
"vipps:transaction.orderId": "<string>",
"vipps:transaction.transactionText": "<string>",
"vipps:merchantInfo.merchantSerialNumber": "<string>",
"kravia:invoice_number": "<string>",
"kravia:invoice_reference": "<string>",
"kravia:invoice_channel": "kravia",
"kravia:invoice_url": "<string>",
"two:order_id": "<string>",
"two:payment_url": "<string>",
"two:merchant_id": "<string>"
},
"checkboxes": [
{
"id": "<string>",
"label": "<string>",
"checked": true,
"required": true,
"link": {
"url": "<string>",
"text": "Terms for checkbox action"
}
}
],
"card": {
"brand": "Visa",
"masked_pan": "476173******0416",
"expiry_date": "<string>",
"country": "NOR",
"issuing_bank": "<string>",
"acquirer_stan": "<string>",
"acquirer_terminal_id": "<string>",
"acquirer_transaction_time": "2023-11-07T05:31:56Z",
"three_ds_version": "2",
"three_ds_server_trans_id": "<string>",
"eci": "05",
"payment_system_type": "wallet",
"payment_token": "<string>",
"payment_token_id": "<string>",
"recurrence_token": "<string>",
"recurrence_token_id": "<string>",
"card_holder_tokenization_consent": "opt-out"
},
"verified_identity": {
"iss": "https://idp-uat.collectorbank.se",
"aud": "<string>",
"acr": "urn:collectorbank:ac:method:nbid",
"auth_time": "2023-11-07T05:31:56Z",
"national_idp": "<string>",
"national_country": "NO",
"sub": "<string>",
"nonce": "<string>",
"name": "John Doe",
"given_name": "John",
"family_name": "Doe"
}
}Documentation Index
Fetch the complete documentation index at: https://docs.dintero.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication (token authentication) should be used for accessing the API.
Use Get Token to get an access token for client credentials. Pass the token in the request header:
Authorization: Bearer {access_token}
where the access_token is JSON Web Tokens (JWT).
Path Parameters
The ID of the transaction
Body
The reason of the extension
A reference specified by the merchant to identify the transaction
The new amount to authorize.
Indicates whether this is the final authorization step.
Optional list of transaction items to update. If the transaction already has items, this field is required. When present, sum of item amounts must equal the updated transaction amount.
Show child attributes
Show child attributes
Description of the order. Used when updating Klarna order amounts.
Response
Transaction updated
The payment product corresponding to this transaction
bambora, collector, dintero, dintero_psp, instabank, klarna, netaxept, payex, santander, swish, vipps, kravia, two, seitatech The payment product type corresponding to this transaction
bambora.applepay, bambora.creditcard, bambora.googlepay, bambora.mobilepay, bambora.vipps, collector.invoice, collector.invoice_b2b, collector.invoice_b2b_preapproved, collector.installment, dintero.zero, dintero.wallets, dintero.external, dintero_psp.creditcard, dintero_psp.vipps, dintero_psp.googlepay, dintero_psp.applepay, dintero_psp.clicktopay, instabank.finance, instabank.invoice, instabank.installment, instabank.postponement, klarna.klarna, klarna.billie, kravia.invoice_b2b, kravia.invoice_b2b_grouped, kravia.invoice_b2c, two.invoice_b2b, netaxept.creditcard, payex.creditcard, payex.mobilepay, payex.swish, payex.vipps, payex.applepay, payex.clicktopay, payex.googlepay, santander.debit_account, seitatech.in_person, swish.swish, vipps Non-negative, minor units. Total amount of the transaction
72200
ISO 4217 transaction currency
"NOK"
An ID that uniquely identifies the resource
When the transaction was created
An id that identifies the seller, value will be included in the settlement reports
40A reference specified by the merchant to identify the transaction
The channel for the transaction
ecommerce, in_app, in_store Type of platform the merchant is.
aggregator, marketplace A reference specified by the merchant to identify the transaction, can be updated after the transaction has been created
A short reference / descriptor that will show up on the customers bank statement
Initiated by the merchant or used to generate a token
unscheduled_purchase, recurring_purchase, generate_payment_token Overall settlement status after the events
NOT_SETTLED, PENDING_SETTLEMENT, PARTIALLY_SETTLED, SETTLED Show child attributes
Show child attributes
The IP address of the customer
"127.0.0.1"
The full user agent string of the device the customer used to submit the transaction
"Mozilla/5.0 ..."
Show child attributes
Show child attributes
Address
Show child attributes
Show child attributes
A shipping option
Show child attributes
Show child attributes
Address
Show child attributes
Show child attributes
Show child attributes
Show child attributes
The current status of the transaction
INITIATED, AUTHORIZED, AUTHORIZATION_VOIDED, CAPTURED, PARTIALLY_CAPTURED, PARTIALLY_CAPTURED_REFUNDED, REFUNDED, PARTIALLY_REFUNDED, DECLINED, FAILED, UNKNOWN, ON_HOLD "CAPTURED"
The gift cards that used to partially or fully authorize the transaction
Show child attributes
Show child attributes
The applicable transaction items
Show child attributes
Show child attributes
[
{
"amount": 2000,
"quantity": 2.5,
"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"
}
]
Show child attributes
Show child attributes
All events recorded on the transaction
Show child attributes
Show child attributes
[
{
"event": "INITIATE",
"transaction_status": "INITIATED",
"created_at": "2019-01-18T13:13:37.175Z",
"success": true,
"request_id": "a3dcc23125bc4363b9dae29ed25a4eb1"
},
{
"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"
}
]
The session id for the transaction
"P00000000.465U8CUzaPVpneu1wt8Wei"
Show child attributes
Show child attributes
When the transaction was last modified.
Additional details about the transaction
Show child attributes
Show child attributes
Configuration for checkboxes that should be part of the checkout
2Show child attributes
Show child attributes
Show child attributes
Show child attributes
Verified identity of the customer aka payer
Show child attributes
Show child attributes