Skip to main content

Failed Subscription Order Details

Description:
Retrieves a failed subscription order by  orderUuid. The response includes details of the failed subscription order.

Url Parameter Parameters:

  • orderUuid (string, required) 

Authentication

This endpoint requires authentication using a Bearer Token. The client must send the token in the Authorization header for every request.

Example Authentication Header:

Authorization: Bearer YOUR_ACCESS_TOKEN

If the token is missing or invalid, the API will return a 401 Unauthorized response.

 

Endpoint:https://demo-api.frontpayment.no/api/v1/connect/subscriptions/failed/details/{orderUuid}
Method:GET
Authorization:Bearer
Payload Validation:
Response Structure:
{
  "status_code": "Integer",
  "status_message": "String",
  "message": "String",
  "is_data": "Boolean",
  "data": {
    "logs": [
      {
        "title": "String",
        "datetime": "String",
        "note": "String",
        "actionBy": "String",
        "status": "String",
        "sentTo": "String",
        "paymentMethod": "String",
        "refundAmount": "Float",
      }
    ],
    "details": {
      "subscriptionUuid": "String",
      "dateCreated": "String",
      "orderDate": "String",
      "dueDateForPaymentLink": "String",
      "sendOrderViaSms": "Boolean",
      "sendOrderViaEmail": "Boolean",
      "customerNotes": "String",
      "isInvoiced": "Boolean",
      "termsAndConditions": "String| null",
      "customerName": "string",
      "countryCode": "String",
      "msisdn": "String",
      "email": "String",
      "street": "String",
      "zip": "String",
      "city": "String",
      "country": "String",
      "subTotal": "Float",
      "totalDiscount": "Float",
      "totalTax": "Float",
      "payablePerCycle": "Float",
      "currency": "String",
      "repeats": "Integer",
      "numberOfOrder": "Integer",
      "status": "String",
      "translationKey": "String",
      "products": [
        {
          "productName": "String",
          "productId": "Integer",
          "quantity": "Integer",
          "rate": "Float",
          "discount": "Float",
          "tax": "Float",
          "amount": "Float"
        }
      ]
    }
  }
}

Example Response: