---
title: Split prepaid card into multiple cards
slug: reference/split-prepaid-card-into-multiple-cards
docTags: 
createdAt: 2025-03-18T18:28:02.918Z
---

{
  "id": "nf1L2R03KRT3IsYfkkJco",
  "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 prepaid card into multiple cards",
    "description": "<p>Divides a single prepaid card into multiple cards with specified amounts and allocations.\nUse this for budget management and distributing prepaid credits across different use cases.</p>\n<p>Use this endpoint to:</p>\n<ul>\n<li>Split large prepaid balances across products or departments</li>\n<li>Create separate cards for different projects or customers</li>\n<li>Manage enterprise prepaid credit distribution</li>\n</ul>\n<p><strong>Important Note:</strong> Total value remains constant across all resulting cards.</p>",
    "contentType": "application/json",
    "request": {
      "pathParameters": [],
      "headerParameters": [],
      "queryParameters": [],
      "bodyDataParameters": [
        {
          "kind": "optional",
          "name": "body",
          "type": "object",
          "description": "Split configuration specifying division amounts and allocation rules",
          "customType": "payment.pricing.prepaid.PrepaidModificationSplitInput.in",
          "schema": [
            {
              "name": "id",
              "kind": "required",
              "type": "string",
              "description": "Unique transaction identifier ensuring idempotent split operations.",
              "example": ""
            },
            {
              "name": "customerId",
              "kind": "required",
              "type": "string",
              "description": "Customer identifier for the owner of the source prepaid card.",
              "example": ""
            },
            {
              "name": "sourcePrepaidUri",
              "kind": "required",
              "type": "string",
              "description": "URI reference to the original prepaid card being split.",
              "example": ""
            },
            {
              "name": "customerPrepaidList",
              "kind": "required",
              "type": "object",
              "description": "Collection of new prepaid cards to create from transferred credits.",
              "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",
                      "description": "Id of the new prepaid order.",
                      "example": ""
                    },
                    {
                      "name": "customerId",
                      "kind": "optional",
                      "type": "string",
                      "description": "`customerId` as defined in [Customer API](ref:post_customers).",
                      "example": ""
                    },
                    {
                      "name": "startTimeInSeconds",
                      "kind": "optional",
                      "type": "integer<int64>",
                      "description": "Unix timestamp when the prepaid card should become active and available for use.",
                      "example": 0
                    },
                    {
                      "name": "endTimeInSeconds",
                      "kind": "optional",
                      "type": "integer<int64>",
                      "description": "Unix timestamp when the prepaid card expires and becomes unavailable for further usage.",
                      "example": 0
                    },
                    {
                      "name": "firstCardEndTimeSeconds",
                      "kind": "optional",
                      "type": "integer<int64>",
                      "description": "Unix timestamp when the first card in a recurring series expires, used for schedule calculations.",
                      "example": 0
                    },
                    {
                      "name": "productId",
                      "kind": "optional",
                      "type": "string",
                      "description": "Product ID as defined in account pricing. Change from default only if you have multiple products.",
                      "example": ""
                    },
                    {
                      "name": "prepaidOfferVersion",
                      "kind": "optional",
                      "type": "integer<int64>",
                      "description": "Can be -1 or the account level prepaid offer 'lastUpdateTimeInMillis' attribute value. The 'lastUpdateTimeInMillis' came to guarantee that the prepaid purchased by the customer has the exact same worth and expiration value as communicated to the customer prior to the actual transaction. If this field is set to -1 than there is no such guarantee, so if the account's prepaid offer was changed between the point the prepaid terms were communicated to the customer and the point of the actual purchase, then the server will use the new prepaid offer to calculate the worth of the prepaid and the expiration date (which might be different than what was communicated to the customer).",
                      "example": 0
                    },
                    {
                      "name": "prepaidPrice",
                      "kind": "optional",
                      "type": "number",
                      "description": "the amount of prepaid money to order - this value should be in credit units if the account is using credit units.",
                      "example": ""
                    },
                    {
                      "name": "originalWorth",
                      "kind": "optional",
                      "type": "number",
                      "description": "The locked-in monetary worth of the prepaid card to prevent value changes from offer updates.",
                      "example": ""
                    },
                    {
                      "name": "originalCurrency",
                      "kind": "optional",
                      "type": "string",
                      "description": "Currency code in ISO 4217 format for the original prepaid card worth.",
                      "example": "USD"
                    },
                    {
                      "name": "preferredPurchasingPrepaidCurrency",
                      "kind": "optional",
                      "type": "string",
                      "description": "Currency code in ISO 4217 format for preferred payment processing of this prepaid purchase.",
                      "example": "USD"
                    },
                    {
                      "name": "recurrenceFrequency",
                      "kind": "optional",
                      "type": "object",
                      "description": "Leave this field as null if you order a one prepaid.",
                      "modelRef": "#/components/schemas/payment.pricing.BillingPeriod.in",
                      "customType": "payment.pricing.BillingPeriod.in",
                      "schema": [
                        {
                          "name": "interval",
                          "kind": "optional",
                          "type": "string",
                          "description": "Time interval unit for billing cycle such as day, month, or year",
                          "modelRef": "#/components/schemas/payment.pricing.BillingPeriodInterval.in",
                          "customType": "payment.pricing.BillingPeriodInterval.in",
                          "schema": []
                        },
                        {
                          "name": "intervalsCount",
                          "kind": "optional",
                          "type": "integer<int32>",
                          "description": "Number of intervals in billing cycle with minimum value of 1",
                          "example": 0
                        }
                      ]
                    },
                    {
                      "name": "externalPayment",
                      "kind": "optional",
                      "type": "boolean",
                      "description": "If true then the ordered prepaid card will be marked as external payment. Amberflo won't try to initiate a payment for the card. But instead wait for a signal from the account the card payment is settled.",
                      "example": ""
                    },
                    {
                      "name": "relationId",
                      "kind": "optional",
                      "type": "string",
                      "description": "Unique identifier for customer-prepaid relationship, computed as base64 of serialized JSON for external system integration.",
                      "example": ""
                    },
                    {
                      "name": "createdTimeInSeconds",
                      "kind": "optional",
                      "type": "integer<int64>",
                      "description": "Unix timestamp when the prepaid order was originally created, separate from activation time.",
                      "example": 0
                    },
                    {
                      "name": "label",
                      "kind": "optional",
                      "type": "string",
                      "description": "Human-readable label for the prepaid order to help identify and organize prepaid cards.",
                      "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": "Collection of active prepaid conditions determining when credits can be applied to invoices.",
                          "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",
                                  "description": "Type identifier for dimension-based prepaid condition, automatically set to class name.",
                                  "example": "",
                                  "default": "DimensionValueMapPrepaidCondition"
                                },
                                {
                                  "name": "dimensionMapValue",
                                  "kind": "optional",
                                  "type": "map",
                                  "description": "Single dimension key-value pair specifying usage dimension criteria for prepaid credit application.",
                                  "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",
                          "description": "Historical record of prepaid conditions keyed by timestamp for audit tracking.",
                          "example": "",
                          "customType": "map<string, payment.billing.prepaid_to_product.PrepaidCondition.in[]>",
                          "schema": []
                        }
                      ]
                    },
                    {
                      "name": "commitmentId",
                      "kind": "optional",
                      "type": "string",
                      "description": "Optional commitment contract identifier populated by internal processes for contract-based prepaid cards.",
                      "example": ""
                    },
                    {
                      "name": "orderId",
                      "kind": "optional",
                      "type": "string",
                      "description": "Optional order identifier populated by internal processes for tracking prepaid purchases.",
                      "example": ""
                    },
                    {
                      "name": "orderItemId",
                      "kind": "optional",
                      "type": "string",
                      "description": "Optional order line item identifier populated by internal processes for detailed order tracking.",
                      "example": ""
                    },
                    {
                      "name": "senderPrepaidUri",
                      "kind": "optional",
                      "type": "string",
                      "description": "Optional prepaid card URI that was used to transfer funds into this prepaid card.",
                      "example": ""
                    },
                    {
                      "name": "customPriority",
                      "kind": "optional",
                      "type": "number",
                      "description": "an optional field to indicate the priority of the prepaid. When using the prepaid cards, cards with higher priority will be used before cards with lower priority.",
                      "example": ""
                    },
                    {
                      "name": "prepaidPriority",
                      "kind": "optional",
                      "type": "string",
                      "description": "Priority level for prepaid card usage order with automatic calculation algorithms for highest or lowest positions.",
                      "modelRef": "#/components/schemas/payment.pricing.prepaid.PrepaidPriority.in",
                      "customType": "payment.pricing.prepaid.PrepaidPriority.in",
                      "schema": []
                    },
                    {
                      "name": "startAtMidCycle",
                      "kind": "optional",
                      "type": "boolean",
                      "description": "Whether this prepaid card should be applied immediately as an ad-hoc mid-cycle addition.",
                      "example": ""
                    },
                    {
                      "name": "realTimePricing",
                      "kind": "optional",
                      "type": "boolean",
                      "description": "Whether to use real-time pricing calculations for this prepaid card's value and billing.",
                      "example": ""
                    },
                    {
                      "name": "installments",
                      "kind": "optional",
                      "type": "object",
                      "description": "The payment installments for the prepaid card.",
                      "modelRef": "#/components/schemas/payment.billing.prepaid_to_product.PrepaidInstallments.in",
                      "customType": "payment.billing.prepaid_to_product.PrepaidInstallments.in",
                      "schema": [
                        {
                          "name": "prepaidInstallments",
                          "kind": "required",
                          "type": "array",
                          "description": "Ordered list of payment schedules defining when installments are billed to customer",
                          "modelRef": "#/components/schemas/payment.billing.prepaid_to_product.PrepaidInstallmentSchedule.in",
                          "customType": "payment.billing.prepaid_to_product.PrepaidInstallmentSchedule.in[]",
                          "schema": [
                            {
                              "name": "amountPrice",
                              "kind": "required",
                              "type": "number",
                              "description": "Payment amount of individual installment charged to customer in account base currency",
                              "example": ""
                            },
                            {
                              "name": "scheduledPurchaseTimeInSeconds",
                              "kind": "required",
                              "type": "integer<int64>",
                              "description": "Unix timestamp when installment payment should be processed and billed to customer",
                              "example": 0
                            }
                          ]
                        }
                      ]
                    },
                    {
                      "name": "type",
                      "kind": "optional",
                      "type": "string",
                      "description": "Discriminator field that identifies this as a price-based prepaid card order request.",
                      "example": "",
                      "default": "customer_prepaid_by_price"
                    },
                    {
                      "name": "purchaseType",
                      "kind": "optional",
                      "type": "string",
                      "description": "Prepaid card purchase model defining whether credits are allocated by fixed price or usage amount",
                      "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",
                      "description": "Id of the new prepaid order.",
                      "example": ""
                    },
                    {
                      "name": "customerId",
                      "kind": "optional",
                      "type": "string",
                      "description": "`customerId` as defined in [Customer API](ref:post_customers).",
                      "example": ""
                    },
                    {
                      "name": "startTimeInSeconds",
                      "kind": "optional",
                      "type": "integer<int64>",
                      "description": "Unix timestamp when the prepaid card should become active and available for use.",
                      "example": 0
                    },
                    {
                      "name": "endTimeInSeconds",
                      "kind": "optional",
                      "type": "integer<int64>",
                      "description": "Unix timestamp when the prepaid card expires and becomes unavailable for further usage.",
                      "example": 0
                    },
                    {
                      "name": "firstCardEndTimeSeconds",
                      "kind": "optional",
                      "type": "integer<int64>",
                      "description": "Unix timestamp when the first card in a recurring series expires, used for schedule calculations.",
                      "example": 0
                    },
                    {
                      "name": "productId",
                      "kind": "optional",
                      "type": "string",
                      "description": "Product ID as defined in account pricing. Change from default only if you have multiple products.",
                      "example": ""
                    },
                    {
                      "name": "prepaidOfferVersion",
                      "kind": "optional",
                      "type": "integer<int64>",
                      "description": "Can be -1 or the account level prepaid offer 'lastUpdateTimeInMillis' attribute value. The 'lastUpdateTimeInMillis' came to guarantee that the prepaid purchased by the customer has the exact same worth and expiration value as communicated to the customer prior to the actual transaction. If this field is set to -1 than there is no such guarantee, so if the account's prepaid offer was changed between the point the prepaid terms were communicated to the customer and the point of the actual purchase, then the server will use the new prepaid offer to calculate the worth of the prepaid and the expiration date (which might be different than what was communicated to the customer).",
                      "example": 0
                    },
                    {
                      "name": "prepaidPrice",
                      "kind": "optional",
                      "type": "number",
                      "description": "The amount to charge the customer for this prepaid order.",
                      "example": ""
                    },
                    {
                      "name": "originalWorth",
                      "kind": "optional",
                      "type": "number",
                      "description": "The locked-in monetary worth of the prepaid card to prevent value changes from offer updates.",
                      "example": ""
                    },
                    {
                      "name": "originalCurrency",
                      "kind": "optional",
                      "type": "string",
                      "description": "Currency code in ISO 4217 format for the original prepaid card worth.",
                      "example": "USD"
                    },
                    {
                      "name": "preferredPurchasingPrepaidCurrency",
                      "kind": "optional",
                      "type": "string",
                      "description": "Currency code in ISO 4217 format for preferred payment processing of this prepaid purchase.",
                      "example": "USD"
                    },
                    {
                      "name": "recurrenceFrequency",
                      "kind": "optional",
                      "type": "object",
                      "description": "Leave this field as null if you order a one prepaid.",
                      "modelRef": "#/components/schemas/payment.pricing.BillingPeriod.in",
                      "customType": "payment.pricing.BillingPeriod.in",
                      "schema": [
                        {
                          "name": "interval",
                          "kind": "optional",
                          "type": "string",
                          "description": "Time interval unit for billing cycle such as day, month, or year",
                          "modelRef": "#/components/schemas/payment.pricing.BillingPeriodInterval.in",
                          "customType": "payment.pricing.BillingPeriodInterval.in",
                          "schema": []
                        },
                        {
                          "name": "intervalsCount",
                          "kind": "optional",
                          "type": "integer<int32>",
                          "description": "Number of intervals in billing cycle with minimum value of 1",
                          "example": 0
                        }
                      ]
                    },
                    {
                      "name": "externalPayment",
                      "kind": "optional",
                      "type": "boolean",
                      "description": "If true then the ordered prepaid card will be marked as external payment. Amberflo won't try to initiate a payment for the card. But instead wait for a signal from the account the card payment is settled.",
                      "example": ""
                    },
                    {
                      "name": "relationId",
                      "kind": "optional",
                      "type": "string",
                      "description": "Unique identifier for customer-prepaid relationship, computed as base64 of serialized JSON for external system integration.",
                      "example": ""
                    },
                    {
                      "name": "createdTimeInSeconds",
                      "kind": "optional",
                      "type": "integer<int64>",
                      "description": "Unix timestamp when the prepaid order was originally created, separate from activation time.",
                      "example": 0
                    },
                    {
                      "name": "label",
                      "kind": "optional",
                      "type": "string",
                      "description": "Human-readable label for the prepaid order to help identify and organize prepaid cards.",
                      "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": "Collection of active prepaid conditions determining when credits can be applied to invoices.",
                          "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",
                          "description": "Historical record of prepaid conditions keyed by timestamp for audit tracking.",
                          "example": "",
                          "customType": "map<string, payment.billing.prepaid_to_product.PrepaidCondition.in[]>",
                          "schema": []
                        }
                      ]
                    },
                    {
                      "name": "commitmentId",
                      "kind": "optional",
                      "type": "string",
                      "description": "Optional commitment contract identifier populated by internal processes for contract-based prepaid cards.",
                      "example": ""
                    },
                    {
                      "name": "orderId",
                      "kind": "optional",
                      "type": "string",
                      "description": "Optional order identifier populated by internal processes for tracking prepaid purchases.",
                      "example": ""
                    },
                    {
                      "name": "orderItemId",
                      "kind": "optional",
                      "type": "string",
                      "description": "Optional order line item identifier populated by internal processes for detailed order tracking.",
                      "example": ""
                    },
                    {
                      "name": "senderPrepaidUri",
                      "kind": "optional",
                      "type": "string",
                      "description": "Optional prepaid card URI that was used to transfer funds into this prepaid card.",
                      "example": ""
                    },
                    {
                      "name": "customPriority",
                      "kind": "optional",
                      "type": "number",
                      "description": "an optional field to indicate the priority of the prepaid. When using the prepaid cards, cards with higher priority will be used before cards with lower priority.",
                      "example": ""
                    },
                    {
                      "name": "prepaidPriority",
                      "kind": "optional",
                      "type": "string",
                      "description": "Priority level for prepaid card usage order with automatic calculation algorithms for highest or lowest positions.",
                      "modelRef": "#/components/schemas/payment.pricing.prepaid.PrepaidPriority.in",
                      "customType": "payment.pricing.prepaid.PrepaidPriority.in",
                      "schema": []
                    },
                    {
                      "name": "startAtMidCycle",
                      "kind": "optional",
                      "type": "boolean",
                      "description": "Whether this prepaid card should be applied immediately as an ad-hoc mid-cycle addition.",
                      "example": ""
                    },
                    {
                      "name": "realTimePricing",
                      "kind": "optional",
                      "type": "boolean",
                      "description": "Whether to use real-time pricing calculations for this prepaid card's value and billing.",
                      "example": ""
                    },
                    {
                      "name": "installments",
                      "kind": "optional",
                      "type": "object",
                      "description": "The payment installments for the prepaid card.",
                      "modelRef": "#/components/schemas/payment.billing.prepaid_to_product.PrepaidInstallments.in",
                      "customType": "payment.billing.prepaid_to_product.PrepaidInstallments.in",
                      "schema": [
                        {
                          "name": "prepaidInstallments",
                          "kind": "required",
                          "type": "array",
                          "description": "Ordered list of payment schedules defining when installments are billed to customer",
                          "modelRef": "#/components/schemas/payment.billing.prepaid_to_product.PrepaidInstallmentSchedule.in",
                          "customType": "payment.billing.prepaid_to_product.PrepaidInstallmentSchedule.in[]",
                          "schema": [
                            {
                              "name": "amountPrice",
                              "kind": "required",
                              "type": "number",
                              "description": "Payment amount of individual installment charged to customer in account base currency",
                              "example": ""
                            },
                            {
                              "name": "scheduledPurchaseTimeInSeconds",
                              "kind": "required",
                              "type": "integer<int64>",
                              "description": "Unix timestamp when installment payment should be processed and billed to customer",
                              "example": 0
                            }
                          ]
                        }
                      ]
                    },
                    {
                      "name": "type",
                      "kind": "optional",
                      "type": "string",
                      "description": "Discriminator field that identifies this as a usage-based prepaid card order request.",
                      "example": "",
                      "default": "customer_prepaid_by_usage"
                    },
                    {
                      "name": "purchaseType",
                      "kind": "optional",
                      "type": "string",
                      "description": "Prepaid card purchase model defining whether credits are allocated by fixed price or usage amount",
                      "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",
                      "description": "The specific quantity of usage units to pre-purchase for this prepaid card.",
                      "example": ""
                    },
                    {
                      "name": "prepaidFullPrice",
                      "kind": "optional",
                      "type": "number",
                      "description": "The full price of the usage when the card was created, used to create ad-hoc discounts by comparing against actual prepaidPrice.",
                      "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": "Split completed successfully with details of all newly created prepaid cards",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "Prepaid credit card that provides either price-based or usage-based billing credits for customer accounts.",
            "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",
                    "description": "Unique identifier for the prepaid card within billing system.",
                    "example": ""
                  },
                  {
                    "name": "paymentStatus",
                    "kind": "optional",
                    "type": "string",
                    "description": "Payment processing status indicating current stage from pre-payment through settlement or failure",
                    "modelRef": "#/components/schemas/payment.payment.PaymentStatus.in",
                    "customType": "payment.payment.PaymentStatus.in",
                    "schema": []
                  },
                  {
                    "name": "price",
                    "kind": "optional",
                    "type": "number",
                    "description": "Purchase price paid for the prepaid card in base currency.",
                    "example": ""
                  },
                  {
                    "name": "worth",
                    "kind": "optional",
                    "type": "number",
                    "description": "Credit value provided by the prepaid card for billing application.",
                    "example": ""
                  },
                  {
                    "name": "sourceUri",
                    "kind": "optional",
                    "type": "string",
                    "description": "URI of entity that ordered the prepaid card payment.",
                    "example": ""
                  },
                  {
                    "name": "paymentSystemName",
                    "kind": "optional",
                    "type": "string",
                    "description": "Name of external payment system processing the prepaid transaction.",
                    "example": ""
                  },
                  {
                    "name": "paymentId",
                    "kind": "optional",
                    "type": "string",
                    "description": "External payment system identifier for the prepaid transaction.",
                    "example": ""
                  },
                  {
                    "name": "startTimeInSeconds",
                    "kind": "optional",
                    "type": "integer<int64>",
                    "description": "Unix timestamp when prepaid card becomes active for billing application.",
                    "example": 0
                  },
                  {
                    "name": "expirationTimeInSeconds",
                    "kind": "optional",
                    "type": "integer<int64>",
                    "description": "Unix timestamp when prepaid card expires and credits become unavailable.",
                    "example": 0
                  },
                  {
                    "name": "productInvoices",
                    "kind": "optional",
                    "type": "array",
                    "description": "",
                    "modelRef": "#/components/schemas/payment.billing.detailed.EntityProductInvoice.in",
                    "customType": "payment.billing.detailed.EntityProductInvoice.in[]",
                    "schema": [
                      {
                        "name": "invoiceUri",
                        "kind": "optional",
                        "type": "string",
                        "description": "URI string identifier referencing the specific product invoice associated with this entity payment.",
                        "example": ""
                      },
                      {
                        "name": "createdTimeInSeconds",
                        "kind": "optional",
                        "type": "integer<int64>",
                        "description": "Unix timestamp indicating when this entity payment record was created in the system.",
                        "example": 0
                      },
                      {
                        "name": "amount",
                        "kind": "optional",
                        "type": "number",
                        "description": "Monetary amount used to pay for the product invoice by this entity type.",
                        "example": ""
                      },
                      {
                        "name": "invoiceAmount",
                        "kind": "optional",
                        "type": "number",
                        "description": "Total invoice amount value for reference tracking in entity payment processing systems.",
                        "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",
                        "description": "Unique identifier for the prepaid balance transfer request between customer accounts.",
                        "example": ""
                      },
                      {
                        "name": "destinationPrepaidUri",
                        "kind": "optional",
                        "type": "string",
                        "description": "URI reference to the destination customer prepaid account receiving the transferred amount.",
                        "example": ""
                      },
                      {
                        "name": "createdTimeInSeconds",
                        "kind": "optional",
                        "type": "integer<int64>",
                        "description": "Unix timestamp indicating when this prepaid transfer transaction was created in system.",
                        "example": 0
                      },
                      {
                        "name": "amount",
                        "kind": "optional",
                        "type": "number",
                        "description": "Monetary amount transferred from source prepaid account to destination prepaid account.",
                        "example": ""
                      }
                    ]
                  },
                  {
                    "name": "usedAmount",
                    "kind": "optional",
                    "type": "number",
                    "description": "Amount of prepaid credit already consumed for billing charges.",
                    "example": ""
                  },
                  {
                    "name": "amountLeft",
                    "kind": "optional",
                    "type": "number",
                    "description": "Remaining prepaid credit available for future billing application.",
                    "example": ""
                  },
                  {
                    "name": "cardType",
                    "kind": "optional",
                    "type": "string",
                    "description": "Type of prepaid card indicating payment source, recurrence pattern, and invoicing requirements for billing system.",
                    "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": "Payment currency information for invoice billing including base account currency, payment currency, and exchange rate details",
                    "modelRef": "#/components/schemas/payment.billing.PaymentCurrencyInfo.out",
                    "customType": "payment.billing.PaymentCurrencyInfo.out",
                    "schema": [
                      {
                        "name": "basePlanCurrency",
                        "kind": "optional",
                        "type": "string",
                        "description": "Base account currency code in ISO 4217 format used for pricing calculations and billing operations",
                        "example": "USD"
                      },
                      {
                        "name": "paymentCurrency",
                        "kind": "optional",
                        "type": "string",
                        "description": "Customer payment currency code in ISO 4217 format used for actual billing and payment processing",
                        "example": "USD"
                      },
                      {
                        "name": "exchangeRate",
                        "kind": "optional",
                        "type": "number",
                        "description": "Exchange rate from base plan currency to payment currency used for currency conversion calculations",
                        "example": ""
                      }
                    ]
                  },
                  {
                    "name": "prepaidConditions",
                    "kind": "optional",
                    "type": "object",
                    "description": "Collection manager for prepaid conditions with historical tracking for credit application rules",
                    "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": "Active set of prepaid conditions determining when credits apply to customer charges",
                        "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.in",
                            "description": "",
                            "modelRef": "#/components/schemas/payment.billing.prepaid_to_product.DimensionValueMapPrepaidCondition.in",
                            "schema": [
                              {
                                "name": "type",
                                "kind": "optional",
                                "type": "string",
                                "description": "Type identifier for dimension-based prepaid condition, automatically set to class name.",
                                "example": "",
                                "default": "DimensionValueMapPrepaidCondition"
                              },
                              {
                                "name": "dimensionMapValue",
                                "kind": "optional",
                                "type": "map",
                                "description": "Single dimension key-value pair specifying usage dimension criteria for prepaid credit application.",
                                "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": "type",
                                "kind": "optional",
                                "type": "string",
                                "description": "Fixed type identifier for product item dimension prepaid condition implementation",
                                "example": "",
                                "default": "ProductItemDimensionPrepaidCondition"
                              },
                              {
                                "name": "productItemId",
                                "kind": "optional",
                                "type": "string",
                                "description": "Unique identifier of product item where prepaid credits should be applied",
                                "example": ""
                              },
                              {
                                "name": "dimensions",
                                "kind": "optional",
                                "type": "map",
                                "description": "Optional dimension key-value pairs for targeted credit application within product item",
                                "example": "",
                                "customType": "map<string, string>",
                                "schema": []
                              }
                            ]
                          },
                          {
                            "name": "payment.billing.prepaid_to_product.ProductItemPrepaidCondition.in",
                            "description": "",
                            "modelRef": "#/components/schemas/payment.billing.prepaid_to_product.ProductItemPrepaidCondition.in",
                            "schema": [
                              {
                                "name": "type",
                                "kind": "optional",
                                "type": "string",
                                "description": "Fixed type identifier for product item prepaid condition implementation",
                                "example": "",
                                "default": "ProductItemPrepaidCondition"
                              },
                              {
                                "name": "productItemId",
                                "kind": "optional",
                                "type": "string",
                                "description": "Unique identifier of product item where all prepaid credits should be applied",
                                "example": ""
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "name": "prepaidConditionsHistory",
                        "kind": "optional",
                        "type": "map",
                        "description": "Historical timeline mapping timestamps to condition sets for audit and tracking purposes",
                        "example": "",
                        "customType": "map<string, payment.billing.prepaid_to_product.PrepaidCondition.out[]>",
                        "schema": []
                      }
                    ]
                  },
                  {
                    "name": "label",
                    "kind": "optional",
                    "type": "string",
                    "description": "Label for the Entitlement.",
                    "example": ""
                  },
                  {
                    "name": "commitmentId",
                    "kind": "optional",
                    "type": "string",
                    "description": "Optional field, populated by internal processes.",
                    "example": ""
                  },
                  {
                    "name": "customPriority",
                    "kind": "optional",
                    "type": "number",
                    "description": "an optional field to indicate the priority of the prepaid. When using the prepaid cards, cards with higher priority will be used before cards with lower priority.",
                    "example": ""
                  },
                  {
                    "name": "startAtMidCycle",
                    "kind": "optional",
                    "type": "boolean",
                    "description": "",
                    "example": ""
                  },
                  {
                    "name": "orderId",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "example": ""
                  },
                  {
                    "name": "orderItemId",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "example": ""
                  },
                  {
                    "name": "realTimePricing",
                    "kind": "optional",
                    "type": "boolean",
                    "description": "To indicate if the pricing plan should allow real-time workflows (e.g. top-ups)",
                    "example": ""
                  },
                  {
                    "name": "installments",
                    "kind": "optional",
                    "type": "object",
                    "description": "The payment installments for the prepaid card.",
                    "modelRef": "#/components/schemas/payment.billing.prepaid_to_product.PrepaidInstallments.out",
                    "customType": "payment.billing.prepaid_to_product.PrepaidInstallments.out",
                    "schema": [
                      {
                        "name": "prepaidInstallments",
                        "kind": "required",
                        "type": "array",
                        "description": "Ordered list of payment schedules defining when installments are billed to customer",
                        "modelRef": "#/components/schemas/payment.billing.prepaid_to_product.PrepaidInstallmentSchedule.in",
                        "customType": "payment.billing.prepaid_to_product.PrepaidInstallmentSchedule.in[]",
                        "schema": [
                          {
                            "name": "amountPrice",
                            "kind": "required",
                            "type": "number",
                            "description": "Payment amount of individual installment charged to customer in account base currency",
                            "example": ""
                          },
                          {
                            "name": "scheduledPurchaseTimeInSeconds",
                            "kind": "required",
                            "type": "integer<int64>",
                            "description": "Unix timestamp when installment payment should be processed and billed to customer",
                            "example": 0
                          }
                        ]
                      }
                    ]
                  },
                  {
                    "name": "type",
                    "kind": "optional",
                    "type": "string",
                    "description": "Type of template, automatically populated.",
                    "example": "",
                    "default": "prepaid_card_by_price"
                  },
                  {
                    "name": "purchaseType",
                    "kind": "optional",
                    "type": "string",
                    "description": "Prepaid card purchase model defining whether credits are allocated by fixed price or usage amount",
                    "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": ""
                  }
                ],
                "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",
                    "description": "Unique identifier for the usage-based prepaid card within billing system.",
                    "example": ""
                  },
                  {
                    "name": "paymentStatus",
                    "kind": "optional",
                    "type": "string",
                    "description": "Payment processing status indicating current stage from pre-payment through settlement or failure",
                    "modelRef": "#/components/schemas/payment.payment.PaymentStatus.in",
                    "customType": "payment.payment.PaymentStatus.in",
                    "schema": []
                  },
                  {
                    "name": "price",
                    "kind": "optional",
                    "type": "number",
                    "description": "Actual amount paid for the usage-based prepaid card in base currency.",
                    "example": ""
                  },
                  {
                    "name": "worth",
                    "kind": "optional",
                    "type": "number",
                    "description": "Credit value provided by the prepaid card for billing application.",
                    "example": ""
                  },
                  {
                    "name": "sourceUri",
                    "kind": "optional",
                    "type": "string",
                    "description": "URI of entity that ordered the usage-based prepaid card.",
                    "example": ""
                  },
                  {
                    "name": "paymentSystemName",
                    "kind": "optional",
                    "type": "string",
                    "description": "Name of external payment system processing the prepaid transaction.",
                    "example": ""
                  },
                  {
                    "name": "paymentId",
                    "kind": "optional",
                    "type": "string",
                    "description": "External payment system identifier for the prepaid transaction.",
                    "example": ""
                  },
                  {
                    "name": "startTimeInSeconds",
                    "kind": "optional",
                    "type": "integer<int64>",
                    "description": "Unix timestamp when usage-based prepaid card becomes active for billing.",
                    "example": 0
                  },
                  {
                    "name": "expirationTimeInSeconds",
                    "kind": "optional",
                    "type": "integer<int64>",
                    "description": "Unix timestamp when usage-based prepaid card expires and credits become unavailable.",
                    "example": 0
                  },
                  {
                    "name": "productInvoices",
                    "kind": "optional",
                    "type": "array",
                    "description": "",
                    "modelRef": "#/components/schemas/payment.billing.detailed.EntityProductInvoice.in",
                    "customType": "payment.billing.detailed.EntityProductInvoice.in[]",
                    "schema": [
                      {
                        "name": "invoiceUri",
                        "kind": "optional",
                        "type": "string",
                        "description": "URI string identifier referencing the specific product invoice associated with this entity payment.",
                        "example": ""
                      },
                      {
                        "name": "createdTimeInSeconds",
                        "kind": "optional",
                        "type": "integer<int64>",
                        "description": "Unix timestamp indicating when this entity payment record was created in the system.",
                        "example": 0
                      },
                      {
                        "name": "amount",
                        "kind": "optional",
                        "type": "number",
                        "description": "Monetary amount used to pay for the product invoice by this entity type.",
                        "example": ""
                      },
                      {
                        "name": "invoiceAmount",
                        "kind": "optional",
                        "type": "number",
                        "description": "Total invoice amount value for reference tracking in entity payment processing systems.",
                        "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",
                        "description": "Unique identifier for the prepaid balance transfer request between customer accounts.",
                        "example": ""
                      },
                      {
                        "name": "destinationPrepaidUri",
                        "kind": "optional",
                        "type": "string",
                        "description": "URI reference to the destination customer prepaid account receiving the transferred amount.",
                        "example": ""
                      },
                      {
                        "name": "createdTimeInSeconds",
                        "kind": "optional",
                        "type": "integer<int64>",
                        "description": "Unix timestamp indicating when this prepaid transfer transaction was created in system.",
                        "example": 0
                      },
                      {
                        "name": "amount",
                        "kind": "optional",
                        "type": "number",
                        "description": "Monetary amount transferred from source prepaid account to destination prepaid account.",
                        "example": ""
                      }
                    ]
                  },
                  {
                    "name": "usedAmount",
                    "kind": "optional",
                    "type": "number",
                    "description": "Amount of prepaid usage already consumed for billing charges.",
                    "example": ""
                  },
                  {
                    "name": "amountLeft",
                    "kind": "optional",
                    "type": "number",
                    "description": "Remaining prepaid usage available for future billing application.",
                    "example": ""
                  },
                  {
                    "name": "cardType",
                    "kind": "optional",
                    "type": "string",
                    "description": "Type of prepaid card indicating payment source, recurrence pattern, and invoicing requirements for billing system.",
                    "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": "Payment currency information for invoice billing including base account currency, payment currency, and exchange rate details",
                    "modelRef": "#/components/schemas/payment.billing.PaymentCurrencyInfo.out",
                    "customType": "payment.billing.PaymentCurrencyInfo.out",
                    "schema": [
                      {
                        "name": "basePlanCurrency",
                        "kind": "optional",
                        "type": "string",
                        "description": "Base account currency code in ISO 4217 format used for pricing calculations and billing operations",
                        "example": "USD"
                      },
                      {
                        "name": "paymentCurrency",
                        "kind": "optional",
                        "type": "string",
                        "description": "Customer payment currency code in ISO 4217 format used for actual billing and payment processing",
                        "example": "USD"
                      },
                      {
                        "name": "exchangeRate",
                        "kind": "optional",
                        "type": "number",
                        "description": "Exchange rate from base plan currency to payment currency used for currency conversion calculations",
                        "example": ""
                      }
                    ]
                  },
                  {
                    "name": "prepaidConditions",
                    "kind": "optional",
                    "type": "object",
                    "description": "Collection manager for prepaid conditions with historical tracking for credit application rules",
                    "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": "Active set of prepaid conditions determining when credits apply to customer charges",
                        "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.in",
                            "description": "",
                            "modelRef": "#/components/schemas/payment.billing.prepaid_to_product.DimensionValueMapPrepaidCondition.in",
                            "schema": [
                              {
                                "name": "type",
                                "kind": "optional",
                                "type": "string",
                                "description": "Type identifier for dimension-based prepaid condition, automatically set to class name.",
                                "example": "",
                                "default": "DimensionValueMapPrepaidCondition"
                              },
                              {
                                "name": "dimensionMapValue",
                                "kind": "optional",
                                "type": "map",
                                "description": "Single dimension key-value pair specifying usage dimension criteria for prepaid credit application.",
                                "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": "type",
                                "kind": "optional",
                                "type": "string",
                                "description": "Fixed type identifier for product item dimension prepaid condition implementation",
                                "example": "",
                                "default": "ProductItemDimensionPrepaidCondition"
                              },
                              {
                                "name": "productItemId",
                                "kind": "optional",
                                "type": "string",
                                "description": "Unique identifier of product item where prepaid credits should be applied",
                                "example": ""
                              },
                              {
                                "name": "dimensions",
                                "kind": "optional",
                                "type": "map",
                                "description": "Optional dimension key-value pairs for targeted credit application within product item",
                                "example": "",
                                "customType": "map<string, string>",
                                "schema": []
                              }
                            ]
                          },
                          {
                            "name": "payment.billing.prepaid_to_product.ProductItemPrepaidCondition.in",
                            "description": "",
                            "modelRef": "#/components/schemas/payment.billing.prepaid_to_product.ProductItemPrepaidCondition.in",
                            "schema": [
                              {
                                "name": "type",
                                "kind": "optional",
                                "type": "string",
                                "description": "Fixed type identifier for product item prepaid condition implementation",
                                "example": "",
                                "default": "ProductItemPrepaidCondition"
                              },
                              {
                                "name": "productItemId",
                                "kind": "optional",
                                "type": "string",
                                "description": "Unique identifier of product item where all prepaid credits should be applied",
                                "example": ""
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "name": "prepaidConditionsHistory",
                        "kind": "optional",
                        "type": "map",
                        "description": "Historical timeline mapping timestamps to condition sets for audit and tracking purposes",
                        "example": "",
                        "customType": "map<string, payment.billing.prepaid_to_product.PrepaidCondition.out[]>",
                        "schema": []
                      }
                    ]
                  },
                  {
                    "name": "label",
                    "kind": "optional",
                    "type": "string",
                    "description": "Human-readable label for the usage-based prepaid card.",
                    "example": ""
                  },
                  {
                    "name": "commitmentId",
                    "kind": "optional",
                    "type": "string",
                    "description": "Optional commitment contract identifier associated with prepaid card.",
                    "example": ""
                  },
                  {
                    "name": "customPriority",
                    "kind": "optional",
                    "type": "number",
                    "description": "Custom priority value determining usage order when multiple cards available.",
                    "example": ""
                  },
                  {
                    "name": "startAtMidCycle",
                    "kind": "optional",
                    "type": "boolean",
                    "description": "Whether the prepaid card activation begins mid-billing cycle.",
                    "example": ""
                  },
                  {
                    "name": "orderId",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "example": ""
                  },
                  {
                    "name": "orderItemId",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "example": ""
                  },
                  {
                    "name": "realTimePricing",
                    "kind": "optional",
                    "type": "boolean",
                    "description": "To indicate if the pricing plan should allow real-time workflows (e.g. top-ups)",
                    "example": ""
                  },
                  {
                    "name": "installments",
                    "kind": "optional",
                    "type": "object",
                    "description": "The payment installments for the prepaid card.",
                    "modelRef": "#/components/schemas/payment.billing.prepaid_to_product.PrepaidInstallments.out",
                    "customType": "payment.billing.prepaid_to_product.PrepaidInstallments.out",
                    "schema": [
                      {
                        "name": "prepaidInstallments",
                        "kind": "required",
                        "type": "array",
                        "description": "Ordered list of payment schedules defining when installments are billed to customer",
                        "modelRef": "#/components/schemas/payment.billing.prepaid_to_product.PrepaidInstallmentSchedule.in",
                        "customType": "payment.billing.prepaid_to_product.PrepaidInstallmentSchedule.in[]",
                        "schema": [
                          {
                            "name": "amountPrice",
                            "kind": "required",
                            "type": "number",
                            "description": "Payment amount of individual installment charged to customer in account base currency",
                            "example": ""
                          },
                          {
                            "name": "scheduledPurchaseTimeInSeconds",
                            "kind": "required",
                            "type": "integer<int64>",
                            "description": "Unix timestamp when installment payment should be processed and billed to customer",
                            "example": 0
                          }
                        ]
                      }
                    ]
                  },
                  {
                    "name": "type",
                    "kind": "optional",
                    "type": "string",
                    "description": "Type of template, automatically populated.",
                    "example": "",
                    "default": "prepaid_card_by_usage"
                  },
                  {
                    "name": "prepaidUsage",
                    "kind": "optional",
                    "type": "number",
                    "description": "Total usage amount that was prepaid and available for billing consumption.",
                    "example": ""
                  },
                  {
                    "name": "prepaidFullPrice",
                    "kind": "optional",
                    "type": "number",
                    "description": "Original full price of usage at creation time, used for discount calculations.",
                    "example": ""
                  },
                  {
                    "name": "purchaseType",
                    "kind": "optional",
                    "type": "string",
                    "description": "Prepaid card purchase model defining whether credits are allocated by fixed price or usage amount",
                    "modelRef": "#/components/schemas/payment.billing.prepaid_to_product.PrepaidPurchaseType.in",
                    "customType": "payment.billing.prepaid_to_product.PrepaidPurchaseType.in",
                    "schema": []
                  }
                ],
                "modelRef": "#/components/schemas/payment.billing.prepaid_to_product.PrepaidCardByUsage.out",
                "customType": "payment.billing.prepaid_to_product.PrepaidCardByUsage.out"
              }
            ],
            "complexType": "oneOf",
            "isExpanded": true
          }
        ]
      },
      {
        "statusCode": "400",
        "description": "Invalid split amounts or insufficient prepaid card balance",
        "jsonExample": "",
        "isExpanded": true
      },
      {
        "statusCode": "401",
        "description": "Authentication required or invalid API key provided",
        "jsonExample": "",
        "isExpanded": true
      },
      {
        "statusCode": "404",
        "description": "Original prepaid card not found or already consumed",
        "jsonExample": "",
        "isExpanded": true
      },
      {
        "statusCode": "500",
        "description": "Internal server error occurred during card split operation",
        "jsonExample": "",
        "isExpanded": true
      }
    ],
    "hasXCodeSamples": false,
    "examples": {
      "languages": [
        {
          "id": "0GMa7POk9VY9ubkXwbm3m",
          "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     \"installments\": {\n     \"prepaidInstallments\": [\n     {\n     \"amountPrice\": \"\",\n     \"scheduledPurchaseTimeInSeconds\": 0\n     }\n     ]\n     },\n     \"type\": \"customer_prepaid_by_price\"\n     }\n     }'"
        },
        {
          "id": "o1-jvGJyGM3maZK5dZ1Su",
          "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      \"installments\": {\n         \"prepaidInstallments\": [\n            {\n               \"amountPrice\": \"\",\n               \"scheduledPurchaseTimeInSeconds\": 0\n            }\n         ]\n      },\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": "MYqR0h8WUqsDucpvcfUUx",
          "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      \"installments\": {\n         \"prepaidInstallments\": [\n            {\n               \"amountPrice\": \"\",\n               \"scheduledPurchaseTimeInSeconds\": 0\n            }\n         ]\n      },\n      \"type\": \"customer_prepaid_by_price\"\n   }\n})\n\nresponse = https.request(request)\nputs response.read_body\n"
        },
        {
          "id": "VfeFMt9l_SwUNuIKxgCT5",
          "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      \"installments\": {\n         \"prepaidInstallments\": [\n            {\n               \"amountPrice\": \"\",\n               \"scheduledPurchaseTimeInSeconds\": 0\n            }\n         ]\n      },\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": "0GMa7POk9VY9ubkXwbm3m"
    },
    "results": {
      "languages": [
        {
          "id": "zuL9LhcDP4_eo3hm5AgoX",
          "language": "200",
          "code": "// Split completed successfully with details of all newly created prepaid cards\n{}"
        },
        {
          "id": "Jh182uUSj15r2mzDxkxCr",
          "language": "400",
          "code": "// Invalid split amounts or insufficient prepaid card balance\n"
        },
        {
          "id": "LQYj14baP1sQjh6Wj0DE2",
          "language": "401",
          "code": "// Authentication required or invalid API key provided\n"
        },
        {
          "id": "5WO_aPJdgjaK0w1GFlzCN",
          "language": "404",
          "code": "// Original prepaid card not found or already consumed\n"
        },
        {
          "id": "cAYj7cD7R4GUcDkWnRHBu",
          "language": "500",
          "code": "// Internal server error occurred during card split operation\n"
        }
      ],
      "selectedLanguageId": "zuL9LhcDP4_eo3hm5AgoX"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}