v1

latestOpenAPI 3.0.0UNLICENSED2026-07-26178479713.7 KB
order.cancellations

aid_orders_id_cancellation_id_get

Retrieve details about a cancellation

scopes:

  • admin:shopping
  • read:shopping
get/accounts/{aid}/shopping/orders/{order_id}/cancellations/{cancellation_id}

Path parameters

aidstring ^[PT]{1}\d{8}$ required

An id that uniquely identifies the account.

order_idstring required

The resource identifier string

cancellation_idstring uuid required

The resource identifier string

Response

cancellation

processed_atstring date-time

The date and time when the payment operation was processed by payment gateway

processed_bystring

The gateway the processed the payment operation

metadataobject

Additional details about the operation

idstring

The resource ID. Defaults to UUID v4

created_atstring date-time

Read-only timestamp, automatically assigned on back-end.

created_bystring

The resource ID. Defaults to UUID v4

amountinteger

Total monetary amount for the operation in smallest unit for the currency

successboolean

The result from the operation.

authorization_idstring

The resource ID. Defaults to UUID v4

Example response

{
  "items": [
    {
      "original_currency": "SEK",
      "original_gross_amount": 39800,
      "conversion_rate_ppm": 1099000,
      "conversion_rate_source": "ecb",
      "amount": 27840
    }
  ],
  "processed_by": "dintero-checkout",
  "payment_details": {
    "psp": "Bambora",
    "payment_product": "bambora",
    "payment_product_type": "bambora.creditcard",
    "card": {
      "masked_pan": "4444 **** **** 4448",
      "type": "Credit",
      "brand": "Visa"
    }
  },
  "id": "bd04c959-d159-49b4-a096-2d84e014a8da",
  "created_by": "bd04c959-d159-49b4-a096-2d84e014a8da",
  "amount": 27840,
  "authorization_id": "bd04c959-d159-49b4-a096-2d84e014a8da"
}