---
title: Split a prepaid card into multiple prepaid cards based on the prepaid list
slug: amberflo-api/split-a-prepaid-card-into-multiple-prepaid-cards-based-on-the-prepaid-list
docTags: 
createdAt: 2024-11-07T15:10:16.976Z
---

{
  "id": "TZ_bZdPAvdjAgah3dHfV9",
  "type": "api-oas-v2",
  "data": {
    "method": "POST",
    "url": "https://app.amberflo.io/payments/pricing/amberflo/customer-prepaid/split",
    "servers": [
      {
        "url": "https://app.amberflo.io/payments/pricing/amberflo/customer-prepaid/split"
      }
    ],
    "name": "Split a prepaid card into multiple prepaid cards based on the prepaid list",
    "description": "",
    "contentType": "application/json",
    "request": {
      "pathParameters": [],
      "headerParameters": [],
      "queryParameters": [],
      "bodyDataParameters": [
        {
          "kind": "optional",
          "name": "body",
          "type": "object",
          "description": "",
          "customType": "payment.pricing.prepaid.PrepaidModificationSplitInput.in",
          "schema": [
            {
              "name": "id",
              "kind": "required",
              "type": "string",
              "description": "ID of the transaction for idempotency.",
              "example": ""
            },
            {
              "name": "customerId",
              "kind": "required",
              "type": "string",
              "description": "Customer ID that is owner of the source prepaid card",
              "example": ""
            },
            {
              "name": "sourcePrepaidUri",
              "kind": "required",
              "type": "string",
              "description": "URI of the source prepaid card that will be split into multiple prepaid cards",
              "example": ""
            },
            {
              "name": "customerPrepaidList",
              "kind": "required",
              "type": "object",
              "description": "List of customer prepaid cards to create as a result of transferring worth.",
              "modelRef": "#/components/schemas/payment.pricing.customer.CustomerPrepaid.in",
              "customType": "payment.pricing.customer.CustomerPrepaid.in[]",
              "schema": [],
              "complexType": "oneOf",
              "complexItems": [
                {
                  "name": "payment.pricing.customer.CustomerPrepaidByPrice.in",
                  "description": "",
                  "modelRef": "#/components/schemas/payment.pricing.customer.CustomerPrepaidByPrice.in",
                  "schema": [
                    {
                      "name": "id",
                      "kind": "optional",
                      "type": "string",
                      "example": ""
                    },
                    {
                      "name": "customerId",
                      "kind": "optional",
                      "type": "string",
                      "example": ""
                    },
                    {
                      "name": "startTimeInSeconds",
                      "kind": "optional",
                      "type": "integer<int64>",
                      "example": 0
                    },
                    {
                      "name": "endTimeInSeconds",
                      "kind": "optional",
                      "type": "integer<int64>",
                      "example": 0
                    },
                    {
                      "name": "firstCardEndTimeSeconds",
                      "kind": "optional",
                      "type": "integer<int64>",
                      "example": 0
                    },
                    {
                      "name": "productId",
                      "kind": "optional",
                      "type": "string",
                      "example": ""
                    },
                    {
                      "name": "prepaidOfferVersion",
                      "kind": "optional",
                      "type": "integer<int64>",
                      "example": 0
                    },
                    {
                      "name": "prepaidPrice",
                      "kind": "optional",
                      "type": "number",
                      "example": ""
                    },
                    {
                      "name": "originalWorth",
                      "kind": "optional",
                      "type": "number",
                      "example": ""
                    },
                    {
                      "name": "originalCurrency",
                      "kind": "optional",
                      "type": "string",
                      "description": "Currency code in ISO 4217 format.",
                      "example": "USD"
                    },
                    {
                      "name": "preferredPurchasingPrepaidCurrency",
                      "kind": "optional",
                      "type": "string",
                      "description": "Currency code in ISO 4217 format.",
                      "example": "USD"
                    },
                    {
                      "name": "recurrenceFrequency",
                      "kind": "optional",
                      "type": "object",
                      "description": "",
                      "modelRef": "#/components/schemas/payment.pricing.BillingPeriod.in",
                      "customType": "payment.pricing.BillingPeriod.in",
                      "schema": [
                        {
                          "name": "interval",
                          "kind": "optional",
                          "type": "string",
                          "description": "",
                          "modelRef": "#/components/schemas/payment.pricing.BillingPeriodInterval.in",
                          "customType": "payment.pricing.BillingPeriodInterval.in",
                          "schema": []
                        },
                        {
                          "name": "intervalsCount",
                          "kind": "optional",
                          "type": "integer<int32>",
                          "example": 0
                        }
                      ]
                    },
                    {
                      "name": "externalPayment",
                      "kind": "optional",
                      "type": "boolean",
                      "example": ""
                    },
                    {
                      "name": "relationId",
                      "kind": "optional",
                      "type": "string",
                      "example": ""
                    },
                    {
                      "name": "createdTimeInSeconds",
                      "kind": "optional",
                      "type": "integer<int64>",
                      "example": 0
                    },
                    {
                      "name": "label",
                      "kind": "optional",
                      "type": "string",
                      "example": ""
                    },
                    {
                      "name": "prepaidConditions",
                      "kind": "optional",
                      "type": "object",
                      "description": "",
                      "modelRef": "#/components/schemas/payment.billing.prepaid_to_product.PrepaidConditions.in",
                      "customType": "payment.billing.prepaid_to_product.PrepaidConditions.in",
                      "schema": [
                        {
                          "name": "prepaidConditionsList",
                          "kind": "optional",
                          "type": "object",
                          "description": "",
                          "modelRef": "#/components/schemas/payment.billing.prepaid_to_product.PrepaidCondition.in",
                          "customType": "payment.billing.prepaid_to_product.PrepaidCondition.in[]",
                          "schema": [],
                          "complexType": "oneOf",
                          "complexItems": [
                            {
                              "name": "payment.billing.prepaid_to_product.DimensionValueMapPrepaidCondition.in",
                              "description": "",
                              "modelRef": "#/components/schemas/payment.billing.prepaid_to_product.DimensionValueMapPrepaidCondition.in",
                              "schema": [
                                {
                                  "name": "type",
                                  "kind": "optional",
                                  "type": "string",
                                  "example": "",
                                  "default": "DimensionValueMapPrepaidCondition"
                                },
                                {
                                  "name": "dimensionMapValue",
                                  "kind": "optional",
                                  "type": "map",
                                  "example": "",
                                  "customType": "map<string, string>",
                                  "schema": []
                                }
                              ]
                            },
                            {
                              "name": "payment.billing.prepaid_to_product.ProductItemDimensionPrepaidCondition.in",
                              "description": "",
                              "modelRef": "#/components/schemas/payment.billing.prepaid_to_product.ProductItemDimensionPrepaidCondition.in",
                              "schema": [
                                {
                                  "name": "",
                                  "description": "",
                                  "customType": "Max depth limit reached"
                                }
                              ]
                            },
                            {
                              "name": "payment.billing.prepaid_to_product.ProductItemPrepaidCondition.in",
                              "description": "",
                              "modelRef": "#/components/schemas/payment.billing.prepaid_to_product.ProductItemPrepaidCondition.in",
                              "schema": [
                                {
                                  "name": "",
                                  "description": "",
                                  "customType": "Max depth limit reached"
                                }
                              ]
                            }
                          ]
                        },
                        {
                          "name": "prepaidConditionsHistory",
                          "kind": "optional",
                          "type": "map",
                          "example": "",
                          "customType": "map<string, payment.billing.prepaid_to_product.PrepaidCondition.in[]>",
                          "schema": []
                        }
                      ]
                    },
                    {
                      "name": "commitmentId",
                      "kind": "optional",
                      "type": "string",
                      "example": ""
                    },
                    {
                      "name": "orderId",
                      "kind": "optional",
                      "type": "string",
                      "example": ""
                    },
                    {
                      "name": "orderItemId",
                      "kind": "optional",
                      "type": "string",
                      "example": ""
                    },
                    {
                      "name": "senderPrepaidUri",
                      "kind": "optional",
                      "type": "string",
                      "example": ""
                    },
                    {
                      "name": "customPriority",
                      "kind": "optional",
                      "type": "number",
                      "example": ""
                    },
                    {
                      "name": "prepaidPriority",
                      "kind": "optional",
                      "type": "string",
                      "description": "",
                      "modelRef": "#/components/schemas/payment.pricing.prepaid.PrepaidPriority.in",
                      "customType": "payment.pricing.prepaid.PrepaidPriority.in",
                      "schema": []
                    },
                    {
                      "name": "startAtMidCycle",
                      "kind": "optional",
                      "type": "boolean",
                      "example": ""
                    },
                    {
                      "name": "realTimePricing",
                      "kind": "optional",
                      "type": "boolean",
                      "example": ""
                    },
                    {
                      "name": "type",
                      "kind": "optional",
                      "type": "string",
                      "example": "",
                      "default": "customer_prepaid_by_price"
                    },
                    {
                      "name": "purchaseType",
                      "kind": "optional",
                      "type": "string",
                      "description": "",
                      "modelRef": "#/components/schemas/payment.billing.prepaid_to_product.PrepaidPurchaseType.in",
                      "customType": "payment.billing.prepaid_to_product.PrepaidPurchaseType.in",
                      "schema": []
                    },
                    {
                      "name": "actualPrepaidChargePrice",
                      "kind": "optional",
                      "type": "number",
                      "description": "The actual absolute charge amount for the prepaid card, in base currency.",
                      "example": ""
                    }
                  ]
                },
                {
                  "name": "payment.pricing.customer.CustomerPrepaidByUsage.in",
                  "description": "",
                  "modelRef": "#/components/schemas/payment.pricing.customer.CustomerPrepaidByUsage.in",
                  "schema": [
                    {
                      "name": "id",
                      "kind": "optional",
                      "type": "string",
                      "example": ""
                    },
                    {
                      "name": "customerId",
                      "kind": "optional",
                      "type": "string",
                      "example": ""
                    },
                    {
                      "name": "startTimeInSeconds",
                      "kind": "optional",
                      "type": "integer<int64>",
                      "example": 0
                    },
                    {
                      "name": "endTimeInSeconds",
                      "kind": "optional",
                      "type": "integer<int64>",
                      "example": 0
                    },
                    {
                      "name": "firstCardEndTimeSeconds",
                      "kind": "optional",
                      "type": "integer<int64>",
                      "example": 0
                    },
                    {
                      "name": "productId",
                      "kind": "optional",
                      "type": "string",
                      "example": ""
                    },
                    {
                      "name": "prepaidOfferVersion",
                      "kind": "optional",
                      "type": "integer<int64>",
                      "example": 0
                    },
                    {
                      "name": "prepaidPrice",
                      "kind": "optional",
                      "type": "number",
                      "example": ""
                    },
                    {
                      "name": "originalWorth",
                      "kind": "optional",
                      "type": "number",
                      "example": ""
                    },
                    {
                      "name": "originalCurrency",
                      "kind": "optional",
                      "type": "string",
                      "description": "Currency code in ISO 4217 format.",
                      "example": "USD"
                    },
                    {
                      "name": "preferredPurchasingPrepaidCurrency",
                      "kind": "optional",
                      "type": "string",
                      "description": "Currency code in ISO 4217 format.",
                      "example": "USD"
                    },
                    {
                      "name": "recurrenceFrequency",
                      "kind": "optional",
                      "type": "object",
                      "description": "",
                      "modelRef": "#/components/schemas/payment.pricing.BillingPeriod.in",
                      "customType": "payment.pricing.BillingPeriod.in",
                      "schema": [
                        {
                          "name": "interval",
                          "kind": "optional",
                          "type": "string",
                          "description": "",
                          "modelRef": "#/components/schemas/payment.pricing.BillingPeriodInterval.in",
                          "customType": "payment.pricing.BillingPeriodInterval.in",
                          "schema": []
                        },
                        {
                          "name": "intervalsCount",
                          "kind": "optional",
                          "type": "integer<int32>",
                          "example": 0
                        }
                      ]
                    },
                    {
                      "name": "externalPayment",
                      "kind": "optional",
                      "type": "boolean",
                      "example": ""
                    },
                    {
                      "name": "relationId",
                      "kind": "optional",
                      "type": "string",
                      "example": ""
                    },
                    {
                      "name": "createdTimeInSeconds",
                      "kind": "optional",
                      "type": "integer<int64>",
                      "example": 0
                    },
                    {
                      "name": "label",
                      "kind": "optional",
                      "type": "string",
                      "example": ""
                    },
                    {
                      "name": "prepaidConditions",
                      "kind": "optional",
                      "type": "object",
                      "description": "",
                      "modelRef": "#/components/schemas/payment.billing.prepaid_to_product.PrepaidConditions.in",
                      "customType": "payment.billing.prepaid_to_product.PrepaidConditions.in",
                      "schema": [
                        {
                          "name": "prepaidConditionsList",
                          "kind": "optional",
                          "type": "object",
                          "description": "",
                          "modelRef": "#/components/schemas/payment.billing.prepaid_to_product.PrepaidCondition.in",
                          "customType": "payment.billing.prepaid_to_product.PrepaidCondition.in[]",
                          "schema": [],
                          "complexType": "oneOf",
                          "complexItems": [
                            {
                              "name": "payment.billing.prepaid_to_product.DimensionValueMapPrepaidCondition.in",
                              "description": "",
                              "modelRef": "#/components/schemas/payment.billing.prepaid_to_product.DimensionValueMapPrepaidCondition.in",
                              "schema": [
                                {
                                  "name": "",
                                  "description": "",
                                  "customType": "Max depth limit reached"
                                }
                              ]
                            },
                            {
                              "name": "payment.billing.prepaid_to_product.ProductItemDimensionPrepaidCondition.in",
                              "description": "",
                              "modelRef": "#/components/schemas/payment.billing.prepaid_to_product.ProductItemDimensionPrepaidCondition.in",
                              "schema": [
                                {
                                  "name": "",
                                  "description": "",
                                  "customType": "Max depth limit reached"
                                }
                              ]
                            },
                            {
                              "name": "payment.billing.prepaid_to_product.ProductItemPrepaidCondition.in",
                              "description": "",
                              "modelRef": "#/components/schemas/payment.billing.prepaid_to_product.ProductItemPrepaidCondition.in",
                              "schema": [
                                {
                                  "name": "",
                                  "description": "",
                                  "customType": "Max depth limit reached"
                                }
                              ]
                            }
                          ]
                        },
                        {
                          "name": "prepaidConditionsHistory",
                          "kind": "optional",
                          "type": "map",
                          "example": "",
                          "customType": "map<string, payment.billing.prepaid_to_product.PrepaidCondition.in[]>",
                          "schema": []
                        }
                      ]
                    },
                    {
                      "name": "commitmentId",
                      "kind": "optional",
                      "type": "string",
                      "example": ""
                    },
                    {
                      "name": "orderId",
                      "kind": "optional",
                      "type": "string",
                      "example": ""
                    },
                    {
                      "name": "orderItemId",
                      "kind": "optional",
                      "type": "string",
                      "example": ""
                    },
                    {
                      "name": "senderPrepaidUri",
                      "kind": "optional",
                      "type": "string",
                      "example": ""
                    },
                    {
                      "name": "customPriority",
                      "kind": "optional",
                      "type": "number",
                      "example": ""
                    },
                    {
                      "name": "prepaidPriority",
                      "kind": "optional",
                      "type": "string",
                      "description": "",
                      "modelRef": "#/components/schemas/payment.pricing.prepaid.PrepaidPriority.in",
                      "customType": "payment.pricing.prepaid.PrepaidPriority.in",
                      "schema": []
                    },
                    {
                      "name": "startAtMidCycle",
                      "kind": "optional",
                      "type": "boolean",
                      "example": ""
                    },
                    {
                      "name": "realTimePricing",
                      "kind": "optional",
                      "type": "boolean",
                      "example": ""
                    },
                    {
                      "name": "type",
                      "kind": "optional",
                      "type": "string",
                      "example": "",
                      "default": "customer_prepaid_by_usage"
                    },
                    {
                      "name": "purchaseType",
                      "kind": "optional",
                      "type": "string",
                      "description": "",
                      "modelRef": "#/components/schemas/payment.billing.prepaid_to_product.PrepaidPurchaseType.in",
                      "customType": "payment.billing.prepaid_to_product.PrepaidPurchaseType.in",
                      "schema": []
                    },
                    {
                      "name": "prepaidUsage",
                      "kind": "optional",
                      "type": "number",
                      "example": ""
                    },
                    {
                      "name": "prepaidFullPrice",
                      "kind": "optional",
                      "type": "number",
                      "example": ""
                    }
                  ]
                }
              ]
            }
          ],
          "modelRef": "#/components/schemas/payment.pricing.prepaid.PrepaidModificationSplitInput.in",
          "isExpanded": true
        }
      ],
      "formDataParameters": [],
      "oAuthParameters": [
        {
          "id": "apiKey",
          "name": "X-API-KEY",
          "kind": "optional",
          "type": "apiKey",
          "in": "header"
        }
      ]
    },
    "responses": [
      {
        "statusCode": "200",
        "description": "Successful request",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "",
            "customType": "payment.billing.prepaid_to_product.PrepaidCard.out",
            "schema": [],
            "modelRef": "#/components/schemas/payment.billing.prepaid_to_product.PrepaidCard.out",
            "complexItems": [
              {
                "name": "object",
                "schema": [
                  {
                    "name": "prepaidUri",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  },
                  {
                    "name": "paymentStatus",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "modelRef": "#/components/schemas/payment.payment.PaymentStatus.out",
                    "customType": "payment.payment.PaymentStatus.out",
                    "schema": []
                  },
                  {
                    "name": "price",
                    "kind": "optional",
                    "type": "number",
                    "example": ""
                  },
                  {
                    "name": "worth",
                    "kind": "optional",
                    "type": "number",
                    "example": ""
                  },
                  {
                    "name": "sourceUri",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  },
                  {
                    "name": "paymentSystemName",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  },
                  {
                    "name": "paymentId",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  },
                  {
                    "name": "startTimeInSeconds",
                    "kind": "optional",
                    "type": "integer<int64>",
                    "example": 0
                  },
                  {
                    "name": "expirationTimeInSeconds",
                    "kind": "optional",
                    "type": "integer<int64>",
                    "example": 0
                  },
                  {
                    "name": "productInvoices",
                    "kind": "optional",
                    "type": "array",
                    "description": "",
                    "modelRef": "#/components/schemas/payment.billing.detailed.EntityProductInvoice.out",
                    "customType": "payment.billing.detailed.EntityProductInvoice.out[]",
                    "schema": [
                      {
                        "name": "invoiceUri",
                        "kind": "optional",
                        "type": "string",
                        "example": ""
                      },
                      {
                        "name": "createdTimeInSeconds",
                        "kind": "optional",
                        "type": "integer<int64>",
                        "example": 0
                      },
                      {
                        "name": "amount",
                        "kind": "optional",
                        "type": "number",
                        "example": ""
                      },
                      {
                        "name": "invoiceAmount",
                        "kind": "optional",
                        "type": "number",
                        "example": ""
                      }
                    ]
                  },
                  {
                    "name": "transferInvoices",
                    "kind": "optional",
                    "type": "array",
                    "description": "",
                    "modelRef": "#/components/schemas/payment.billing.detailed.PrepaidTransferInvoice.out",
                    "customType": "payment.billing.detailed.PrepaidTransferInvoice.out[]",
                    "schema": [
                      {
                        "name": "requestId",
                        "kind": "optional",
                        "type": "string",
                        "example": ""
                      },
                      {
                        "name": "destinationPrepaidUri",
                        "kind": "optional",
                        "type": "string",
                        "example": ""
                      },
                      {
                        "name": "createdTimeInSeconds",
                        "kind": "optional",
                        "type": "integer<int64>",
                        "example": 0
                      },
                      {
                        "name": "amount",
                        "kind": "optional",
                        "type": "number",
                        "example": ""
                      }
                    ]
                  },
                  {
                    "name": "usedAmount",
                    "kind": "optional",
                    "type": "number",
                    "example": ""
                  },
                  {
                    "name": "amountLeft",
                    "kind": "optional",
                    "type": "number",
                    "example": ""
                  },
                  {
                    "name": "cardType",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "modelRef": "#/components/schemas/payment.billing.prepaid_to_product.PrepaidCardType.out",
                    "customType": "payment.billing.prepaid_to_product.PrepaidCardType.out",
                    "schema": []
                  },
                  {
                    "name": "paymentCurrencyInfo",
                    "kind": "optional",
                    "type": "object",
                    "description": "",
                    "modelRef": "#/components/schemas/payment.billing.PaymentCurrencyInfo.out",
                    "customType": "payment.billing.PaymentCurrencyInfo.out",
                    "schema": [
                      {
                        "name": "basePlanCurrency",
                        "kind": "optional",
                        "type": "string",
                        "description": "Currency code in ISO 4217 format.",
                        "example": "USD"
                      },
                      {
                        "name": "paymentCurrency",
                        "kind": "optional",
                        "type": "string",
                        "description": "Currency code in ISO 4217 format.",
                        "example": "USD"
                      },
                      {
                        "name": "exchangeRate",
                        "kind": "optional",
                        "type": "number",
                        "example": ""
                      }
                    ]
                  },
                  {
                    "name": "prepaidConditions",
                    "kind": "optional",
                    "type": "object",
                    "description": "",
                    "modelRef": "#/components/schemas/payment.billing.prepaid_to_product.PrepaidConditions.out",
                    "customType": "payment.billing.prepaid_to_product.PrepaidConditions.out",
                    "schema": [
                      {
                        "name": "prepaidConditionsList",
                        "kind": "optional",
                        "type": "object",
                        "description": "",
                        "modelRef": "#/components/schemas/payment.billing.prepaid_to_product.PrepaidCondition.out",
                        "customType": "payment.billing.prepaid_to_product.PrepaidCondition.out[]",
                        "schema": [],
                        "complexType": "oneOf",
                        "complexItems": [
                          {
                            "name": "payment.billing.prepaid_to_product.DimensionValueMapPrepaidCondition.out",
                            "description": "",
                            "modelRef": "#/components/schemas/payment.billing.prepaid_to_product.DimensionValueMapPrepaidCondition.out",
                            "schema": [
                              {
                                "name": "type",
                                "kind": "optional",
                                "type": "string",
                                "example": "",
                                "default": "DimensionValueMapPrepaidCondition"
                              },
                              {
                                "name": "dimensionMapValue",
                                "kind": "optional",
                                "type": "map",
                                "example": "",
                                "customType": "map<string, string>",
                                "schema": []
                              }
                            ]
                          },
                          {
                            "name": "payment.billing.prepaid_to_product.ProductItemDimensionPrepaidCondition.out",
                            "description": "",
                            "modelRef": "#/components/schemas/payment.billing.prepaid_to_product.ProductItemDimensionPrepaidCondition.out",
                            "schema": [
                              {
                                "name": "type",
                                "kind": "optional",
                                "type": "string",
                                "example": "",
                                "default": "ProductItemDimensionPrepaidCondition"
                              },
                              {
                                "name": "productItemId",
                                "kind": "optional",
                                "type": "string",
                                "description": "The product item associated with the prepaid.",
                                "example": ""
                              },
                              {
                                "name": "dimensions",
                                "kind": "optional",
                                "type": "map",
                                "description": "The dimensions associated with the prepaid.",
                                "example": "",
                                "customType": "map<string, string>",
                                "schema": []
                              }
                            ]
                          },
                          {
                            "name": "payment.billing.prepaid_to_product.ProductItemPrepaidCondition.out",
                            "description": "",
                            "modelRef": "#/components/schemas/payment.billing.prepaid_to_product.ProductItemPrepaidCondition.out",
                            "schema": [
                              {
                                "name": "type",
                                "kind": "optional",
                                "type": "string",
                                "example": "",
                                "default": "ProductItemPrepaidCondition"
                              },
                              {
                                "name": "productItemId",
                                "kind": "optional",
                                "type": "string",
                                "example": ""
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "name": "prepaidConditionsHistory",
                        "kind": "optional",
                        "type": "map",
                        "example": "",
                        "customType": "map<string, payment.billing.prepaid_to_product.PrepaidCondition.out[]>",
                        "schema": []
                      }
                    ]
                  },
                  {
                    "name": "label",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  },
                  {
                    "name": "commitmentId",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  },
                  {
                    "name": "customPriority",
                    "kind": "optional",
                    "type": "number",
                    "example": ""
                  },
                  {
                    "name": "startAtMidCycle",
                    "kind": "optional",
                    "type": "boolean",
                    "example": ""
                  },
                  {
                    "name": "orderId",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  },
                  {
                    "name": "orderItemId",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  },
                  {
                    "name": "realTimePricing",
                    "kind": "optional",
                    "type": "boolean",
                    "example": ""
                  },
                  {
                    "name": "type",
                    "kind": "optional",
                    "type": "string",
                    "example": "",
                    "default": "prepaid_card_by_price"
                  },
                  {
                    "name": "purchaseType",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "modelRef": "#/components/schemas/payment.billing.prepaid_to_product.PrepaidPurchaseType.out",
                    "customType": "payment.billing.prepaid_to_product.PrepaidPurchaseType.out",
                    "schema": []
                  },
                  {
                    "name": "actualPrepaidChargePrice",
                    "kind": "optional",
                    "type": "number",
                    "description": "The actual absolute charge amount for the prepaid card, in base currency.",
                    "example": ""
                  }
                ],
                "modelRef": "#/components/schemas/payment.billing.prepaid_to_product.PrepaidCardByPrice.out",
                "customType": "payment.billing.prepaid_to_product.PrepaidCardByPrice.out"
              },
              {
                "name": "object",
                "schema": [
                  {
                    "name": "prepaidUri",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  },
                  {
                    "name": "paymentStatus",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "modelRef": "#/components/schemas/payment.payment.PaymentStatus.out",
                    "customType": "payment.payment.PaymentStatus.out",
                    "schema": []
                  },
                  {
                    "name": "price",
                    "kind": "optional",
                    "type": "number",
                    "example": ""
                  },
                  {
                    "name": "worth",
                    "kind": "optional",
                    "type": "number",
                    "example": ""
                  },
                  {
                    "name": "sourceUri",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  },
                  {
                    "name": "paymentSystemName",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  },
                  {
                    "name": "paymentId",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  },
                  {
                    "name": "startTimeInSeconds",
                    "kind": "optional",
                    "type": "integer<int64>",
                    "example": 0
                  },
                  {
                    "name": "expirationTimeInSeconds",
                    "kind": "optional",
                    "type": "integer<int64>",
                    "example": 0
                  },
                  {
                    "name": "productInvoices",
                    "kind": "optional",
                    "type": "array",
                    "description": "",
                    "modelRef": "#/components/schemas/payment.billing.detailed.EntityProductInvoice.out",
                    "customType": "payment.billing.detailed.EntityProductInvoice.out[]",
                    "schema": [
                      {
                        "name": "invoiceUri",
                        "kind": "optional",
                        "type": "string",
                        "example": ""
                      },
                      {
                        "name": "createdTimeInSeconds",
                        "kind": "optional",
                        "type": "integer<int64>",
                        "example": 0
                      },
                      {
                        "name": "amount",
                        "kind": "optional",
                        "type": "number",
                        "example": ""
                      },
                      {
                        "name": "invoiceAmount",
                        "kind": "optional",
                        "type": "number",
                        "example": ""
                      }
                    ]
                  },
                  {
                    "name": "transferInvoices",
                    "kind": "optional",
                    "type": "array",
                    "description": "",
                    "modelRef": "#/components/schemas/payment.billing.detailed.PrepaidTransferInvoice.out",
                    "customType": "payment.billing.detailed.PrepaidTransferInvoice.out[]",
                    "schema": [
                      {
                        "name": "requestId",
                        "kind": "optional",
                        "type": "string",
                        "example": ""
                      },
                      {
                        "name": "destinationPrepaidUri",
                        "kind": "optional",
                        "type": "string",
                        "example": ""
                      },
                      {
                        "name": "createdTimeInSeconds",
                        "kind": "optional",
                        "type": "integer<int64>",
                        "example": 0
                      },
                      {
                        "name": "amount",
                        "kind": "optional",
                        "type": "number",
                        "example": ""
                      }
                    ]
                  },
                  {
                    "name": "usedAmount",
                    "kind": "optional",
                    "type": "number",
                    "example": ""
                  },
                  {
                    "name": "amountLeft",
                    "kind": "optional",
                    "type": "number",
                    "example": ""
                  },
                  {
                    "name": "cardType",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "modelRef": "#/components/schemas/payment.billing.prepaid_to_product.PrepaidCardType.out",
                    "customType": "payment.billing.prepaid_to_product.PrepaidCardType.out",
                    "schema": []
                  },
                  {
                    "name": "paymentCurrencyInfo",
                    "kind": "optional",
                    "type": "object",
                    "description": "",
                    "modelRef": "#/components/schemas/payment.billing.PaymentCurrencyInfo.out",
                    "customType": "payment.billing.PaymentCurrencyInfo.out",
                    "schema": [
                      {
                        "name": "basePlanCurrency",
                        "kind": "optional",
                        "type": "string",
                        "description": "Currency code in ISO 4217 format.",
                        "example": "USD"
                      },
                      {
                        "name": "paymentCurrency",
                        "kind": "optional",
                        "type": "string",
                        "description": "Currency code in ISO 4217 format.",
                        "example": "USD"
                      },
                      {
                        "name": "exchangeRate",
                        "kind": "optional",
                        "type": "number",
                        "example": ""
                      }
                    ]
                  },
                  {
                    "name": "prepaidConditions",
                    "kind": "optional",
                    "type": "object",
                    "description": "",
                    "modelRef": "#/components/schemas/payment.billing.prepaid_to_product.PrepaidConditions.out",
                    "customType": "payment.billing.prepaid_to_product.PrepaidConditions.out",
                    "schema": [
                      {
                        "name": "prepaidConditionsList",
                        "kind": "optional",
                        "type": "object",
                        "description": "",
                        "modelRef": "#/components/schemas/payment.billing.prepaid_to_product.PrepaidCondition.out",
                        "customType": "payment.billing.prepaid_to_product.PrepaidCondition.out[]",
                        "schema": [],
                        "complexType": "oneOf",
                        "complexItems": [
                          {
                            "name": "payment.billing.prepaid_to_product.DimensionValueMapPrepaidCondition.out",
                            "description": "",
                            "modelRef": "#/components/schemas/payment.billing.prepaid_to_product.DimensionValueMapPrepaidCondition.out",
                            "schema": [
                              {
                                "name": "type",
                                "kind": "optional",
                                "type": "string",
                                "example": "",
                                "default": "DimensionValueMapPrepaidCondition"
                              },
                              {
                                "name": "dimensionMapValue",
                                "kind": "optional",
                                "type": "map",
                                "example": "",
                                "customType": "map<string, string>",
                                "schema": []
                              }
                            ]
                          },
                          {
                            "name": "payment.billing.prepaid_to_product.ProductItemDimensionPrepaidCondition.out",
                            "description": "",
                            "modelRef": "#/components/schemas/payment.billing.prepaid_to_product.ProductItemDimensionPrepaidCondition.out",
                            "schema": [
                              {
                                "name": "type",
                                "kind": "optional",
                                "type": "string",
                                "example": "",
                                "default": "ProductItemDimensionPrepaidCondition"
                              },
                              {
                                "name": "productItemId",
                                "kind": "optional",
                                "type": "string",
                                "description": "The product item associated with the prepaid.",
                                "example": ""
                              },
                              {
                                "name": "dimensions",
                                "kind": "optional",
                                "type": "map",
                                "description": "The dimensions associated with the prepaid.",
                                "example": "",
                                "customType": "map<string, string>",
                                "schema": []
                              }
                            ]
                          },
                          {
                            "name": "payment.billing.prepaid_to_product.ProductItemPrepaidCondition.out",
                            "description": "",
                            "modelRef": "#/components/schemas/payment.billing.prepaid_to_product.ProductItemPrepaidCondition.out",
                            "schema": [
                              {
                                "name": "type",
                                "kind": "optional",
                                "type": "string",
                                "example": "",
                                "default": "ProductItemPrepaidCondition"
                              },
                              {
                                "name": "productItemId",
                                "kind": "optional",
                                "type": "string",
                                "example": ""
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "name": "prepaidConditionsHistory",
                        "kind": "optional",
                        "type": "map",
                        "example": "",
                        "customType": "map<string, payment.billing.prepaid_to_product.PrepaidCondition.out[]>",
                        "schema": []
                      }
                    ]
                  },
                  {
                    "name": "label",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  },
                  {
                    "name": "commitmentId",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  },
                  {
                    "name": "customPriority",
                    "kind": "optional",
                    "type": "number",
                    "example": ""
                  },
                  {
                    "name": "startAtMidCycle",
                    "kind": "optional",
                    "type": "boolean",
                    "example": ""
                  },
                  {
                    "name": "orderId",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  },
                  {
                    "name": "orderItemId",
                    "kind": "optional",
                    "type": "string",
                    "example": ""
                  },
                  {
                    "name": "realTimePricing",
                    "kind": "optional",
                    "type": "boolean",
                    "example": ""
                  },
                  {
                    "name": "type",
                    "kind": "optional",
                    "type": "string",
                    "example": "",
                    "default": "prepaid_card_by_usage"
                  },
                  {
                    "name": "prepaidUsage",
                    "kind": "optional",
                    "type": "number",
                    "example": ""
                  },
                  {
                    "name": "prepaidFullPrice",
                    "kind": "optional",
                    "type": "number",
                    "example": ""
                  },
                  {
                    "name": "purchaseType",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "modelRef": "#/components/schemas/payment.billing.prepaid_to_product.PrepaidPurchaseType.out",
                    "customType": "payment.billing.prepaid_to_product.PrepaidPurchaseType.out",
                    "schema": []
                  }
                ],
                "modelRef": "#/components/schemas/payment.billing.prepaid_to_product.PrepaidCardByUsage.out",
                "customType": "payment.billing.prepaid_to_product.PrepaidCardByUsage.out"
              }
            ],
            "complexType": "oneOf",
            "isExpanded": true
          }
        ]
      }
    ],
    "examples": {
      "languages": [
        {
          "id": "_NMekX6FKSmFO8pHfhjZF",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request POST \\\n     --url https://app.amberflo.io/payments/pricing/amberflo/customer-prepaid/split \\\n     --header 'accept: application/json' \\\n     --header 'content-type: application/json' \\\n     --data '{\n     \"id\": \"\",\n     \"customerId\": \"\",\n     \"sourcePrepaidUri\": \"\",\n     \"customerPrepaidList\": {\n     \"type\": \"customer_prepaid_by_price\"\n     }\n     }'"
        },
        {
          "id": "UthHZF_qeb4FWZmpB0Y-N",
          "language": "javascript",
          "label": "javascript",
          "code": "var myHeaders = new Headers();\nmyHeaders.append(\"accept\", \"application/json\");\nmyHeaders.append(\"content-type\", \"application/json\");\n\nvar raw = JSON.stringify({\n   \"id\": \"\",\n   \"customerId\": \"\",\n   \"sourcePrepaidUri\": \"\",\n   \"customerPrepaidList\": {\n      \"type\": \"customer_prepaid_by_price\"\n   }\n});\n\nvar requestOptions = {\n   method: 'POST',\n   headers: myHeaders,\n   body: raw,\n   redirect: 'follow'\n};\n\nfetch(\"https://app.amberflo.io/payments/pricing/amberflo/customer-prepaid/split\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "0xC84Dx91f4lNj-ofGigG",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://app.amberflo.io/payments/pricing/amberflo/customer-prepaid/split\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"accept\"] = \"application/json\"\nrequest[\"content-type\"] = \"application/json\"\nrequest.body = JSON.dump({\n   \"id\": \"\",\n   \"customerId\": \"\",\n   \"sourcePrepaidUri\": \"\",\n   \"customerPrepaidList\": {\n      \"type\": \"customer_prepaid_by_price\"\n   }\n})\n\nresponse = https.request(request)\nputs response.read_body\n"
        },
        {
          "id": "e29dWzcGr9LJSOjyNVVbf",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"https://app.amberflo.io/payments/pricing/amberflo/customer-prepaid/split\"\n\npayload = json.dumps({\n   \"id\": \"\",\n   \"customerId\": \"\",\n   \"sourcePrepaidUri\": \"\",\n   \"customerPrepaidList\": {\n      \"type\": \"customer_prepaid_by_price\"\n   }\n})\nheaders = {\n   'accept': 'application/json',\n   'content-type': 'application/json'\n}\n\nresponse = requests.request(\"POST\", url, headers=headers, data=payload)\n\nprint(response.text)\n"
        }
      ],
      "selectedLanguageId": "_NMekX6FKSmFO8pHfhjZF"
    },
    "results": {
      "languages": [
        {
          "id": "BeDSH6VkuBKHW9bGkrWfw",
          "language": "200",
          "code": "// Successful request\n{}"
        }
      ],
      "selectedLanguageId": "BeDSH6VkuBKHW9bGkrWfw"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}