POST v1/payments/Surcharge

Documentation for 'Surcharge'.

Request Information

Parameters

NameDescriptionAdditional information
payment
Documentation for 'payment'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
Click to beautify!
{
  "reference": "sample string 1",
  "effectiveTimestamp": "2024-05-03T06:58:59.2393057+00:00",
  "referenceDate": "2024-05-03T06:58:59.2393057+00:00",
  "customerId": 3,
  "amount": 4.0,
  "source": "sample string 5",
  "paymentMethod": "sample string 6",
  "paymentMethodId": 1,
  "paymentAllocations": [
    {
      "invoiceId": 1,
      "amount": 2.0
    },
    {
      "invoiceId": 1,
      "amount": 2.0
    },
    {
      "invoiceId": 1,
      "amount": 2.0
    }
  ],
  "autoAllocate": true,
  "autoAllocateOrder": "sample string 8",
  "useDefaultPaymentMethod": true,
  "creditCard": {
    "cardNumber": "sample string 1",
    "expirationMonth": 2,
    "expirationYear": 3,
    "cvv": "sample string 4",
    "firstName": "sample string 5",
    "lastName": "sample string 6",
    "address1": "sample string 7",
    "address2": "sample string 8",
    "city": "sample string 9",
    "stateId": 1,
    "countryId": 1,
    "postalZip": "sample string 10",
    "paymentCollectOptions": {
      "collectionAmount": 1.0,
      "payPendingCharges": true,
      "payBalanceOwing": true
    },
    "email": "sample string 11",
    "makeDefault": true,
    "riskToken": "sample string 13",
    "clientIp": "sample string 14",
    "businessTaxId": "sample string 15",
    "customerId": 16,
    "source": "sample string 17"
  },
  "sendToNetsuite": true,
  "bulkPurchase": {
    "customerId": 1,
    "autoPurchase": true,
    "purchases": [
      {
        "productId": 1,
        "quantity": 1.0,
        "name": "sample string 2",
        "description": "sample string 3",
        "overridePriceRanges": [
          {
            "min": 1.0,
            "max": 1.0,
            "amount": 2.0
          },
          {
            "min": 1.0,
            "max": 1.0,
            "amount": 2.0
          },
          {
            "min": 1.0,
            "max": 1.0,
            "amount": 2.0
          }
        ],
        "pricingModelType": "sample string 4",
        "pricingFormulaType": "sample string 5",
        "customFields": [
          {
            "key": "sample string 1",
            "value": {}
          },
          {
            "key": "sample string 1",
            "value": {}
          },
          {
            "key": "sample string 1",
            "value": {}
          }
        ],
        "discounts": [
          {
            "discountType": "sample string 1",
            "amount": 2.0
          },
          {
            "discountType": "sample string 1",
            "amount": 2.0
          },
          {
            "discountType": "sample string 1",
            "amount": 2.0
          }
        ],
        "productItems": [
          {
            "reference": "sample string 1",
            "name": "sample string 2",
            "description": "sample string 3"
          },
          {
            "reference": "sample string 1",
            "name": "sample string 2",
            "description": "sample string 3"
          },
          {
            "reference": "sample string 1",
            "name": "sample string 2",
            "description": "sample string 3"
          }
        ],
        "couponCodes": [
          "sample string 1",
          "sample string 2",
          "sample string 3"
        ],
        "earningSettings": {
          "earningSchedules": [
            {
              "scheduledType": "sample string 1",
              "scheduledInterval": "sample string 2",
              "numberOfIntervals": 1,
              "scheduledAmount": 1.0,
              "reference": "sample string 3"
            },
            {
              "scheduledType": "sample string 1",
              "scheduledInterval": "sample string 2",
              "numberOfIntervals": 1,
              "scheduledAmount": 1.0,
              "reference": "sample string 3"
            },
            {
              "scheduledType": "sample string 1",
              "scheduledInterval": "sample string 2",
              "numberOfIntervals": 1,
              "scheduledAmount": 1.0,
              "reference": "sample string 3"
            }
          ],
          "earningInterval": "sample string 1",
          "earningNumberOfIntervals": 1,
          "earningTimingInterval": "sample string 2",
          "earningTimingType": "sample string 3"
        },
        "netsuiteClassId": "sample string 6",
        "netsuiteLocationId": "sample string 7",
        "targetOrderQuantity": 1.0,
        "netsuiteBinId": "sample string 8",
        "invoiceOwner": "sample string 9",
        "skipCouponValidation": true,
        "hubspotDealId": 11,
        "quickBooksClassId": "sample string 12"
      },
      {
        "productId": 1,
        "quantity": 1.0,
        "name": "sample string 2",
        "description": "sample string 3",
        "overridePriceRanges": [
          {
            "min": 1.0,
            "max": 1.0,
            "amount": 2.0
          },
          {
            "min": 1.0,
            "max": 1.0,
            "amount": 2.0
          },
          {
            "min": 1.0,
            "max": 1.0,
            "amount": 2.0
          }
        ],
        "pricingModelType": "sample string 4",
        "pricingFormulaType": "sample string 5",
        "customFields": [
          {
            "key": "sample string 1",
            "value": {}
          },
          {
            "key": "sample string 1",
            "value": {}
          },
          {
            "key": "sample string 1",
            "value": {}
          }
        ],
        "discounts": [
          {
            "discountType": "sample string 1",
            "amount": 2.0
          },
          {
            "discountType": "sample string 1",
            "amount": 2.0
          },
          {
            "discountType": "sample string 1",
            "amount": 2.0
          }
        ],
        "productItems": [
          {
            "reference": "sample string 1",
            "name": "sample string 2",
            "description": "sample string 3"
          },
          {
            "reference": "sample string 1",
            "name": "sample string 2",
            "description": "sample string 3"
          },
          {
            "reference": "sample string 1",
            "name": "sample string 2",
            "description": "sample string 3"
          }
        ],
        "couponCodes": [
          "sample string 1",
          "sample string 2",
          "sample string 3"
        ],
        "earningSettings": {
          "earningSchedules": [
            {
              "scheduledType": "sample string 1",
              "scheduledInterval": "sample string 2",
              "numberOfIntervals": 1,
              "scheduledAmount": 1.0,
              "reference": "sample string 3"
            },
            {
              "scheduledType": "sample string 1",
              "scheduledInterval": "sample string 2",
              "numberOfIntervals": 1,
              "scheduledAmount": 1.0,
              "reference": "sample string 3"
            },
            {
              "scheduledType": "sample string 1",
              "scheduledInterval": "sample string 2",
              "numberOfIntervals": 1,
              "scheduledAmount": 1.0,
              "reference": "sample string 3"
            }
          ],
          "earningInterval": "sample string 1",
          "earningNumberOfIntervals": 1,
          "earningTimingInterval": "sample string 2",
          "earningTimingType": "sample string 3"
        },
        "netsuiteClassId": "sample string 6",
        "netsuiteLocationId": "sample string 7",
        "targetOrderQuantity": 1.0,
        "netsuiteBinId": "sample string 8",
        "invoiceOwner": "sample string 9",
        "skipCouponValidation": true,
        "hubspotDealId": 11,
        "quickBooksClassId": "sample string 12"
      },
      {
        "productId": 1,
        "quantity": 1.0,
        "name": "sample string 2",
        "description": "sample string 3",
        "overridePriceRanges": [
          {
            "min": 1.0,
            "max": 1.0,
            "amount": 2.0
          },
          {
            "min": 1.0,
            "max": 1.0,
            "amount": 2.0
          },
          {
            "min": 1.0,
            "max": 1.0,
            "amount": 2.0
          }
        ],
        "pricingModelType": "sample string 4",
        "pricingFormulaType": "sample string 5",
        "customFields": [
          {
            "key": "sample string 1",
            "value": {}
          },
          {
            "key": "sample string 1",
            "value": {}
          },
          {
            "key": "sample string 1",
            "value": {}
          }
        ],
        "discounts": [
          {
            "discountType": "sample string 1",
            "amount": 2.0
          },
          {
            "discountType": "sample string 1",
            "amount": 2.0
          },
          {
            "discountType": "sample string 1",
            "amount": 2.0
          }
        ],
        "productItems": [
          {
            "reference": "sample string 1",
            "name": "sample string 2",
            "description": "sample string 3"
          },
          {
            "reference": "sample string 1",
            "name": "sample string 2",
            "description": "sample string 3"
          },
          {
            "reference": "sample string 1",
            "name": "sample string 2",
            "description": "sample string 3"
          }
        ],
        "couponCodes": [
          "sample string 1",
          "sample string 2",
          "sample string 3"
        ],
        "earningSettings": {
          "earningSchedules": [
            {
              "scheduledType": "sample string 1",
              "scheduledInterval": "sample string 2",
              "numberOfIntervals": 1,
              "scheduledAmount": 1.0,
              "reference": "sample string 3"
            },
            {
              "scheduledType": "sample string 1",
              "scheduledInterval": "sample string 2",
              "numberOfIntervals": 1,
              "scheduledAmount": 1.0,
              "reference": "sample string 3"
            },
            {
              "scheduledType": "sample string 1",
              "scheduledInterval": "sample string 2",
              "numberOfIntervals": 1,
              "scheduledAmount": 1.0,
              "reference": "sample string 3"
            }
          ],
          "earningInterval": "sample string 1",
          "earningNumberOfIntervals": 1,
          "earningTimingInterval": "sample string 2",
          "earningTimingType": "sample string 3"
        },
        "netsuiteClassId": "sample string 6",
        "netsuiteLocationId": "sample string 7",
        "targetOrderQuantity": 1.0,
        "netsuiteBinId": "sample string 8",
        "invoiceOwner": "sample string 9",
        "skipCouponValidation": true,
        "hubspotDealId": 11,
        "quickBooksClassId": "sample string 12"
      }
    ],
    "invoiceCollectOptions": {
      "paymentMethod": 0,
      "paymentMethodId": 1,
      "useAnyAvailableFundsFirst": true,
      "rollbackOnFailedPayment": true
    },
    "view": "sample string 3"
  }
}

application/xml, text/xml

Sample:
Click to beautify!
<Payment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.Dto.Post">
  <Amount>4</Amount>
  <AutoAllocate>true</AutoAllocate>
  <AutoAllocateOrder>sample string 8</AutoAllocateOrder>
  <BulkPurchase>
    <AutoPurchase>true</AutoPurchase>
    <CustomerId>1</CustomerId>
    <InvoiceCollectOptions>
      <PaymentMethod>UseDefaultPaymentMethod</PaymentMethod>
      <PaymentMethodId>1</PaymentMethodId>
      <RollbackOnFailedPayment>true</RollbackOnFailedPayment>
      <UseAnyAvailableFundsFirst>true</UseAnyAvailableFundsFirst>
    </InvoiceCollectOptions>
    <Purchases>
      <BasePurchase>
        <CouponCodes xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>sample string 1</d5p1:string>
          <d5p1:string>sample string 2</d5p1:string>
          <d5p1:string>sample string 3</d5p1:string>
        </CouponCodes>
        <CustomFields>
          <PurchaseCustomField>
            <Key>sample string 1</Key>
            <Value />
          </PurchaseCustomField>
          <PurchaseCustomField>
            <Key>sample string 1</Key>
            <Value />
          </PurchaseCustomField>
          <PurchaseCustomField>
            <Key>sample string 1</Key>
            <Value />
          </PurchaseCustomField>
        </CustomFields>
        <Description>sample string 3</Description>
        <Discounts>
          <BasePurchaseDiscount>
            <Amount>2</Amount>
            <DiscountType>sample string 1</DiscountType>
          </BasePurchaseDiscount>
          <BasePurchaseDiscount>
            <Amount>2</Amount>
            <DiscountType>sample string 1</DiscountType>
          </BasePurchaseDiscount>
          <BasePurchaseDiscount>
            <Amount>2</Amount>
            <DiscountType>sample string 1</DiscountType>
          </BasePurchaseDiscount>
        </Discounts>
        <EarningSettings>
          <EarningInterval xmlns="http://schemas.datacontract.org/2004/07/Common.Dto.Interfaces">sample string 1</EarningInterval>
          <EarningNumberOfIntervals xmlns="http://schemas.datacontract.org/2004/07/Common.Dto.Interfaces">1</EarningNumberOfIntervals>
          <EarningTimingInterval xmlns="http://schemas.datacontract.org/2004/07/Common.Dto.Interfaces">sample string 2</EarningTimingInterval>
          <EarningTimingType xmlns="http://schemas.datacontract.org/2004/07/Common.Dto.Interfaces">sample string 3</EarningTimingType>
          <EarningSchedules>
            <IntervalEarningSchedule>
              <NumberOfIntervals>1</NumberOfIntervals>
              <Reference>sample string 3</Reference>
              <ScheduledAmount>1</ScheduledAmount>
              <ScheduledInterval>sample string 2</ScheduledInterval>
              <ScheduledType>sample string 1</ScheduledType>
            </IntervalEarningSchedule>
            <IntervalEarningSchedule>
              <NumberOfIntervals>1</NumberOfIntervals>
              <Reference>sample string 3</Reference>
              <ScheduledAmount>1</ScheduledAmount>
              <ScheduledInterval>sample string 2</ScheduledInterval>
              <ScheduledType>sample string 1</ScheduledType>
            </IntervalEarningSchedule>
            <IntervalEarningSchedule>
              <NumberOfIntervals>1</NumberOfIntervals>
              <Reference>sample string 3</Reference>
              <ScheduledAmount>1</ScheduledAmount>
              <ScheduledInterval>sample string 2</ScheduledInterval>
              <ScheduledType>sample string 1</ScheduledType>
            </IntervalEarningSchedule>
          </EarningSchedules>
        </EarningSettings>
        <HubspotDealId>11</HubspotDealId>
        <InvoiceOwner>sample string 9</InvoiceOwner>
        <Name>sample string 2</Name>
        <NetsuiteBinId>sample string 8</NetsuiteBinId>
        <NetsuiteClassId>sample string 6</NetsuiteClassId>
        <NetsuiteLocationId>sample string 7</NetsuiteLocationId>
        <OverridePriceRanges>
          <PurchasePriceRange>
            <Amount>2</Amount>
            <Max>1</Max>
            <Min>1</Min>
          </PurchasePriceRange>
          <PurchasePriceRange>
            <Amount>2</Amount>
            <Max>1</Max>
            <Min>1</Min>
          </PurchasePriceRange>
          <PurchasePriceRange>
            <Amount>2</Amount>
            <Max>1</Max>
            <Min>1</Min>
          </PurchasePriceRange>
        </OverridePriceRanges>
        <OverridePricingModelType>sample string 4</OverridePricingModelType>
        <PricingFormulaType>sample string 5</PricingFormulaType>
        <ProductId>1</ProductId>
        <ProductItems>
          <BasePurchaseProductItem>
            <Description>sample string 3</Description>
            <Name>sample string 2</Name>
            <Reference>sample string 1</Reference>
          </BasePurchaseProductItem>
          <BasePurchaseProductItem>
            <Description>sample string 3</Description>
            <Name>sample string 2</Name>
            <Reference>sample string 1</Reference>
          </BasePurchaseProductItem>
          <BasePurchaseProductItem>
            <Description>sample string 3</Description>
            <Name>sample string 2</Name>
            <Reference>sample string 1</Reference>
          </BasePurchaseProductItem>
        </ProductItems>
        <Quantity>1</Quantity>
        <QuickBooksClassId>sample string 12</QuickBooksClassId>
        <SkipCouponValidation>true</SkipCouponValidation>
        <TargetOrderQuantity>1</TargetOrderQuantity>
      </BasePurchase>
      <BasePurchase>
        <CouponCodes xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>sample string 1</d5p1:string>
          <d5p1:string>sample string 2</d5p1:string>
          <d5p1:string>sample string 3</d5p1:string>
        </CouponCodes>
        <CustomFields>
          <PurchaseCustomField>
            <Key>sample string 1</Key>
            <Value />
          </PurchaseCustomField>
          <PurchaseCustomField>
            <Key>sample string 1</Key>
            <Value />
          </PurchaseCustomField>
          <PurchaseCustomField>
            <Key>sample string 1</Key>
            <Value />
          </PurchaseCustomField>
        </CustomFields>
        <Description>sample string 3</Description>
        <Discounts>
          <BasePurchaseDiscount>
            <Amount>2</Amount>
            <DiscountType>sample string 1</DiscountType>
          </BasePurchaseDiscount>
          <BasePurchaseDiscount>
            <Amount>2</Amount>
            <DiscountType>sample string 1</DiscountType>
          </BasePurchaseDiscount>
          <BasePurchaseDiscount>
            <Amount>2</Amount>
            <DiscountType>sample string 1</DiscountType>
          </BasePurchaseDiscount>
        </Discounts>
        <EarningSettings>
          <EarningInterval xmlns="http://schemas.datacontract.org/2004/07/Common.Dto.Interfaces">sample string 1</EarningInterval>
          <EarningNumberOfIntervals xmlns="http://schemas.datacontract.org/2004/07/Common.Dto.Interfaces">1</EarningNumberOfIntervals>
          <EarningTimingInterval xmlns="http://schemas.datacontract.org/2004/07/Common.Dto.Interfaces">sample string 2</EarningTimingInterval>
          <EarningTimingType xmlns="http://schemas.datacontract.org/2004/07/Common.Dto.Interfaces">sample string 3</EarningTimingType>
          <EarningSchedules>
            <IntervalEarningSchedule>
              <NumberOfIntervals>1</NumberOfIntervals>
              <Reference>sample string 3</Reference>
              <ScheduledAmount>1</ScheduledAmount>
              <ScheduledInterval>sample string 2</ScheduledInterval>
              <ScheduledType>sample string 1</ScheduledType>
            </IntervalEarningSchedule>
            <IntervalEarningSchedule>
              <NumberOfIntervals>1</NumberOfIntervals>
              <Reference>sample string 3</Reference>
              <ScheduledAmount>1</ScheduledAmount>
              <ScheduledInterval>sample string 2</ScheduledInterval>
              <ScheduledType>sample string 1</ScheduledType>
            </IntervalEarningSchedule>
            <IntervalEarningSchedule>
              <NumberOfIntervals>1</NumberOfIntervals>
              <Reference>sample string 3</Reference>
              <ScheduledAmount>1</ScheduledAmount>
              <ScheduledInterval>sample string 2</ScheduledInterval>
              <ScheduledType>sample string 1</ScheduledType>
            </IntervalEarningSchedule>
          </EarningSchedules>
        </EarningSettings>
        <HubspotDealId>11</HubspotDealId>
        <InvoiceOwner>sample string 9</InvoiceOwner>
        <Name>sample string 2</Name>
        <NetsuiteBinId>sample string 8</NetsuiteBinId>
        <NetsuiteClassId>sample string 6</NetsuiteClassId>
        <NetsuiteLocationId>sample string 7</NetsuiteLocationId>
        <OverridePriceRanges>
          <PurchasePriceRange>
            <Amount>2</Amount>
            <Max>1</Max>
            <Min>1</Min>
          </PurchasePriceRange>
          <PurchasePriceRange>
            <Amount>2</Amount>
            <Max>1</Max>
            <Min>1</Min>
          </PurchasePriceRange>
          <PurchasePriceRange>
            <Amount>2</Amount>
            <Max>1</Max>
            <Min>1</Min>
          </PurchasePriceRange>
        </OverridePriceRanges>
        <OverridePricingModelType>sample string 4</OverridePricingModelType>
        <PricingFormulaType>sample string 5</PricingFormulaType>
        <ProductId>1</ProductId>
        <ProductItems>
          <BasePurchaseProductItem>
            <Description>sample string 3</Description>
            <Name>sample string 2</Name>
            <Reference>sample string 1</Reference>
          </BasePurchaseProductItem>
          <BasePurchaseProductItem>
            <Description>sample string 3</Description>
            <Name>sample string 2</Name>
            <Reference>sample string 1</Reference>
          </BasePurchaseProductItem>
          <BasePurchaseProductItem>
            <Description>sample string 3</Description>
            <Name>sample string 2</Name>
            <Reference>sample string 1</Reference>
          </BasePurchaseProductItem>
        </ProductItems>
        <Quantity>1</Quantity>
        <QuickBooksClassId>sample string 12</QuickBooksClassId>
        <SkipCouponValidation>true</SkipCouponValidation>
        <TargetOrderQuantity>1</TargetOrderQuantity>
      </BasePurchase>
      <BasePurchase>
        <CouponCodes xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>sample string 1</d5p1:string>
          <d5p1:string>sample string 2</d5p1:string>
          <d5p1:string>sample string 3</d5p1:string>
        </CouponCodes>
        <CustomFields>
          <PurchaseCustomField>
            <Key>sample string 1</Key>
            <Value />
          </PurchaseCustomField>
          <PurchaseCustomField>
            <Key>sample string 1</Key>
            <Value />
          </PurchaseCustomField>
          <PurchaseCustomField>
            <Key>sample string 1</Key>
            <Value />
          </PurchaseCustomField>
        </CustomFields>
        <Description>sample string 3</Description>
        <Discounts>
          <BasePurchaseDiscount>
            <Amount>2</Amount>
            <DiscountType>sample string 1</DiscountType>
          </BasePurchaseDiscount>
          <BasePurchaseDiscount>
            <Amount>2</Amount>
            <DiscountType>sample string 1</DiscountType>
          </BasePurchaseDiscount>
          <BasePurchaseDiscount>
            <Amount>2</Amount>
            <DiscountType>sample string 1</DiscountType>
          </BasePurchaseDiscount>
        </Discounts>
        <EarningSettings>
          <EarningInterval xmlns="http://schemas.datacontract.org/2004/07/Common.Dto.Interfaces">sample string 1</EarningInterval>
          <EarningNumberOfIntervals xmlns="http://schemas.datacontract.org/2004/07/Common.Dto.Interfaces">1</EarningNumberOfIntervals>
          <EarningTimingInterval xmlns="http://schemas.datacontract.org/2004/07/Common.Dto.Interfaces">sample string 2</EarningTimingInterval>
          <EarningTimingType xmlns="http://schemas.datacontract.org/2004/07/Common.Dto.Interfaces">sample string 3</EarningTimingType>
          <EarningSchedules>
            <IntervalEarningSchedule>
              <NumberOfIntervals>1</NumberOfIntervals>
              <Reference>sample string 3</Reference>
              <ScheduledAmount>1</ScheduledAmount>
              <ScheduledInterval>sample string 2</ScheduledInterval>
              <ScheduledType>sample string 1</ScheduledType>
            </IntervalEarningSchedule>
            <IntervalEarningSchedule>
              <NumberOfIntervals>1</NumberOfIntervals>
              <Reference>sample string 3</Reference>
              <ScheduledAmount>1</ScheduledAmount>
              <ScheduledInterval>sample string 2</ScheduledInterval>
              <ScheduledType>sample string 1</ScheduledType>
            </IntervalEarningSchedule>
            <IntervalEarningSchedule>
              <NumberOfIntervals>1</NumberOfIntervals>
              <Reference>sample string 3</Reference>
              <ScheduledAmount>1</ScheduledAmount>
              <ScheduledInterval>sample string 2</ScheduledInterval>
              <ScheduledType>sample string 1</ScheduledType>
            </IntervalEarningSchedule>
          </EarningSchedules>
        </EarningSettings>
        <HubspotDealId>11</HubspotDealId>
        <InvoiceOwner>sample string 9</InvoiceOwner>
        <Name>sample string 2</Name>
        <NetsuiteBinId>sample string 8</NetsuiteBinId>
        <NetsuiteClassId>sample string 6</NetsuiteClassId>
        <NetsuiteLocationId>sample string 7</NetsuiteLocationId>
        <OverridePriceRanges>
          <PurchasePriceRange>
            <Amount>2</Amount>
            <Max>1</Max>
            <Min>1</Min>
          </PurchasePriceRange>
          <PurchasePriceRange>
            <Amount>2</Amount>
            <Max>1</Max>
            <Min>1</Min>
          </PurchasePriceRange>
          <PurchasePriceRange>
            <Amount>2</Amount>
            <Max>1</Max>
            <Min>1</Min>
          </PurchasePriceRange>
        </OverridePriceRanges>
        <OverridePricingModelType>sample string 4</OverridePricingModelType>
        <PricingFormulaType>sample string 5</PricingFormulaType>
        <ProductId>1</ProductId>
        <ProductItems>
          <BasePurchaseProductItem>
            <Description>sample string 3</Description>
            <Name>sample string 2</Name>
            <Reference>sample string 1</Reference>
          </BasePurchaseProductItem>
          <BasePurchaseProductItem>
            <Description>sample string 3</Description>
            <Name>sample string 2</Name>
            <Reference>sample string 1</Reference>
          </BasePurchaseProductItem>
          <BasePurchaseProductItem>
            <Description>sample string 3</Description>
            <Name>sample string 2</Name>
            <Reference>sample string 1</Reference>
          </BasePurchaseProductItem>
        </ProductItems>
        <Quantity>1</Quantity>
        <QuickBooksClassId>sample string 12</QuickBooksClassId>
        <SkipCouponValidation>true</SkipCouponValidation>
        <TargetOrderQuantity>1</TargetOrderQuantity>
      </BasePurchase>
    </Purchases>
    <View>sample string 3</View>
  </BulkPurchase>
  <CreditCard>
    <CustomerId>16</CustomerId>
    <Source>sample string 17</Source>
    <Address1>sample string 7</Address1>
    <Address2>sample string 8</Address2>
    <BusinessTaxId>sample string 15</BusinessTaxId>
    <City>sample string 9</City>
    <ClientIp>sample string 14</ClientIp>
    <CountryId>1</CountryId>
    <Email>sample string 11</Email>
    <FirstName>sample string 5</FirstName>
    <LastName>sample string 6</LastName>
    <MakeDefault>true</MakeDefault>
    <PaymentCollectOptions>
      <CollectionAmount>1</CollectionAmount>
      <PayBalanceOwing>true</PayBalanceOwing>
      <PayPendingCharges>true</PayPendingCharges>
    </PaymentCollectOptions>
    <PostalZip>sample string 10</PostalZip>
    <RiskToken>sample string 13</RiskToken>
    <StateId>1</StateId>
    <CardNumber>sample string 1</CardNumber>
    <Cvv>sample string 4</Cvv>
    <ExpirationMonth>2</ExpirationMonth>
    <ExpirationYear>3</ExpirationYear>
  </CreditCard>
  <CustomerId>3</CustomerId>
  <EffectiveTimestamp>2024-05-03T06:58:59.2393057+00:00</EffectiveTimestamp>
  <PaymentAllocations>
    <PaymentAllocation>
      <Amount>2</Amount>
      <InvoiceId>1</InvoiceId>
    </PaymentAllocation>
    <PaymentAllocation>
      <Amount>2</Amount>
      <InvoiceId>1</InvoiceId>
    </PaymentAllocation>
    <PaymentAllocation>
      <Amount>2</Amount>
      <InvoiceId>1</InvoiceId>
    </PaymentAllocation>
  </PaymentAllocations>
  <PaymentMethodType>sample string 6</PaymentMethodType>
  <PaymentMethodTypeId>1</PaymentMethodTypeId>
  <Reference>sample string 1</Reference>
  <ReferenceDate>2024-05-03T06:58:59.2393057+00:00</ReferenceDate>
  <SendToNetsuite>true</SendToNetsuite>
  <Source>sample string 5</Source>
  <UseDefaultPaymentMethod>true</UseDefaultPaymentMethod>
</Payment>

application/x-www-form-urlencoded

Sample:
Click to beautify!

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
Click to beautify!
{
  "binType": "sample string 1",
  "surchargeRate": "sample string 2",
  "surchargeAmount": "sample string 3",
  "total": "sample string 4"
}

application/xml, text/xml

Sample:
Click to beautify!
<Surcharge xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.Dto.Get">
  <BinType>sample string 1</BinType>
  <SurchargeAmount>sample string 3</SurchargeAmount>
  <SurchargeRate>sample string 2</SurchargeRate>
  <Total>sample string 4</Total>
</Surcharge>