POST api/NetSuite/AddCustomerPayment

Request Information

URI Parameters

None.

Body Parameters

NetSuiteCustomerPaymentInfo
NameDescriptionTypeAdditional information
NSInternalId

string

None.

InvoiceNumber

string

None.

InvoiceAmount

decimal number

None.

PaymentMethod

string

None.

PaymentChannel

string

None.

PaymentType

string

None.

RecordType

string

None.

ConfirmationNumber

string

None.

CardLastFourDigits

string

None.

CardExpirationDate

string

None.

CardAuthCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "NSInternalId": "sample string 1",
  "InvoiceNumber": "sample string 2",
  "InvoiceAmount": 3.1,
  "PaymentMethod": "sample string 4",
  "PaymentChannel": "sample string 5",
  "PaymentType": "sample string 6",
  "RecordType": "sample string 7",
  "ConfirmationNumber": "sample string 8",
  "CardLastFourDigits": "sample string 9",
  "CardExpirationDate": "sample string 10",
  "CardAuthCode": "sample string 11"
}

application/xml, text/xml

Sample:
<NetSuiteCustomerPaymentInfo xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <NSInternalId>sample string 1</NSInternalId>
  <InvoiceNumber>sample string 2</InvoiceNumber>
  <InvoiceAmount>3.1</InvoiceAmount>
  <PaymentMethod>sample string 4</PaymentMethod>
  <PaymentChannel>sample string 5</PaymentChannel>
  <PaymentType>sample string 6</PaymentType>
  <RecordType>sample string 7</RecordType>
  <ConfirmationNumber>sample string 8</ConfirmationNumber>
  <CardLastFourDigits>sample string 9</CardLastFourDigits>
  <CardExpirationDate>sample string 10</CardExpirationDate>
  <CardAuthCode>sample string 11</CardAuthCode>
</NetSuiteCustomerPaymentInfo>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.