> The index of all pages is at [llms.txt](https://developers.qliro.com/llms.txt). Add `.md` to any page URL for its Markdown.

# Notifications (/qliro-checkout/order-management/notifications-adminapi)

## Notification authentication

Qliro Checkout keeps the configuration on its side to a minimum. Calls to push URLs such as MerchantCheckoutStatusPushUrl therefore carry no authentication. Supply a URL that contains authentication data and is valid only for a short time.

Example: `https://merchant.com/api/push/token=token_12-34-aa-bb`, where `token_12-34-aa-bb` is a dynamic token valid for a couple of hours.

## Order management status

Qliro Checkout sends a notification to MerchantOrderManagementStatusPushUrl whenever the status of an Admin API request changes.

### Request

| | |
| :- | :- |
| Method | POST |
| Endpoint | MerchantOrderManagementStatusPushUrl |
| Body | JSON Object |

### Body parameters

| Parameter | Type | Description |
| :- | :- | :- |
| OrderID | Long | The Qliro Checkout order ID |
| MerchantReference | String | The MerchantReference of the order |
| PaymentTransactionId | Long | A reference to the specific request. |
| Amount | Decimal | The amount of this specific transaction. |
| Currency | String | Three uppercase characters, in accordance with ISO 4217. |
| Status | String | The new request status. |
| PaymentType | String | The type of transaction |
| ProviderTransactionId | String | The transaction ID from the payment provider. |
| ProviderResultCode | String | The request result from the payment provider. |
| ProviderResultDescription | String | Description of the ProviderResultCode. |
| OriginalPaymentTransactionId | String | Refers to the original payment the customer made. |
| PaymentReference | Long | A unique reference that represents a successful shipment. |
| TimeStamp | String | The date and time of the status change. |
| ErrorCode | String | Error code from Qliro. |
| ErrorCodeDescription | String | A user-friendly description of the error. |

### ProviderResultDescription errors

| Operation | PaymentMethod | Error | Reason |
| :- | :- | :- | :- |
| CancelOrder | CreditCard | Transaction Declined (referencing transaction does not match) | The bank has already released the amount. |
| Any | CreditCard, Trustly, PayPal | Duplicate Transaction | Interruptions between Qliro Checkout and the provider. The calling party can retry the call. |

### Request example

```json
{
  "OrderId": 67890,
  "MerchantReference": "MerchantRef1234",
  "PaymentTransactionId": 12345,
  "Amount": 550,
  "Currency": "SEK",
  "Status": "Success",
  "PaymentType": "Capture",
  "ProviderTransactionId": "8a82944a5a8ee61d015aa44c44787ead",
  "ProviderResultCode": "000.100.110",
  "ProviderResultDescription": "Request successfully processed in Merchant in Integration Test Mode",
  "OriginalPaymentTransactionId": "67890",
  "PaymentReference": 123456,
  "Timestamp": "2016-03-03T11:43:05.567"
}
```

### Response

Respond to the notification with the JSON below. If Qliro Checkout does not receive this response, it retries immediately. If that retry fails, it schedules ten more attempts at 2 seconds, 5 seconds, 10 seconds, 30 seconds, 1 minute, 2 minutes, 30 minutes, 1 hour, 24 hours and 3 days. If the final retry gets no response, Qliro Checkout registers the notification as an error.

```json
{
  "CallbackResponse": "received"
}
```

## Merchant saved credit card

After the customer completes the purchase, you receive a status notification on MerchantOrderManagementStatusPushUrl. If the customer paid with a card, Qliro Checkout also sends a card information notification to MerchantSavedCreditCardPushUrl.

### Request

| | |
| :- | :- |
| Method | POST |
| Endpoint | MerchantSavedCreditCardPushUrl |
| Body | JSON Object |

### Body parameters

| Parameter | Type | Description |
| :- | :- | :- |
| OrderId | Long | The Qliro Checkout order ID |
| Id | Guid | The merchant saved credit card ID |
| CardBin | String | The card BIN |
| CardLast4Digits | String | The last 4 digits of the card |
| CardExpiryYear | Int | The card expiry year |
| CardExpiryMonth | Int | The card expiry month |
| CardBrandName | String | One of Visa, Mastercard, Amex, Unknown |
| TimeStamp | Datetime | The date and time the merchant saved credit card was registered |

### Request example

```json
{
  "OrderId": "12345",
  "Id": "10B066CC-F317-4CD1-9087-8CF06901918F",
  "CardBin": "454225",
  "CardLast4Digits": "3964",
  "CardExpiryYear": "2020",
  "CardExpiryMonth": "6",
  "CardBrandName": "Visa",
  "Timestamp": "2019-03-03T11:43:05.567"
}
```

### Response

Respond to the notification with the JSON below. If Qliro Checkout does not receive this response, it retries immediately. If that retry fails, it schedules ten more attempts at 2 seconds, 5 seconds, 10 seconds, 30 seconds, 1 minute, 2 minutes, 30 minutes, 1 hour, 24 hours and 3 days.

```json
{
  "CallbackResponse": "received"
}
```

<Cards>
<Card title="Other" href="/qliro-checkout/order-management/get-payment-transaction-1">
Continue to Other
</Card>
</Cards>