POST api/MeddivoService/AddPaymentCustomer

Request Information

URI Parameters

None.

Body Parameters

CustomerInfoModel
NameDescriptionTypeAdditional information
Id

string

None.

FirstName

string

None.

LastName

string

None.

Email

string

None.

Payment_Method

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "FirstName": "sample string 2",
  "LastName": "sample string 3",
  "Email": "sample string 4",
  "Payment_Method": "sample string 5"
}

application/xml, text/xml

Sample:
<CustomerInfoModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Meddivo.API.Service.Models">
  <Email>sample string 4</Email>
  <FirstName>sample string 2</FirstName>
  <Id>sample string 1</Id>
  <LastName>sample string 3</LastName>
  <Payment_Method>sample string 5</Payment_Method>
</CustomerInfoModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Customer
NameDescriptionTypeAdditional information
id

string

None.

object

string

None.

address

Address

None.

balance

integer

None.

cash_balance

CashBalance

None.

created

date

None.

currency

string

None.

deleted

boolean

None.

delinquent

boolean

None.

description

string

None.

discount

Discount

None.

email

string

None.

invoice_credit_balance

Dictionary of string [key] and integer [value]

None.

invoice_prefix

string

None.

invoice_settings

CustomerInvoiceSettings

None.

livemode

boolean

None.

metadata

Dictionary of string [key] and string [value]

None.

name

string

None.

next_invoice_sequence

integer

None.

phone

string

None.

preferred_locales

Collection of string

None.

shipping

Shipping

None.

sources

Collection of IPaymentSource

None.

subscriptions

Collection of Subscription

None.

tax

CustomerTax

None.

tax_exempt

string

None.

tax_ids

Collection of TaxId

None.

Response Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.