v1

latestOpenAPI 3.1.02026-07-241120379.1 KB

Checkout

This endpoint creates a checkout for a subscription contract, enabling customers to complete payment for prorated charges resulting from subscription changes.

post/2023-10/subscription/{subscriptionId}/checkout

Path parameters

subscriptionIdinteger required

The unique identifier of the subscription in Loop.

Request body

Response

200

successboolean

Indicates whether the checkout operation was successful.

messagestring

Human-readable message describing the result of the operation.

codestring

Status code representing the result of the operation.

pageInfostring

Additional metadata related to the response (if applicable).

Example response

{
  "success": true,
  "message": "Checkout operation has been triggered successfully.",
  "data": {
    "checkout": {
      "id": 33045,
      "status": "IN_PROGRESS"
    }
  },
  "code": "SUCCESS"
}