POST api/Payments
Request Information
URI Parameters
None.
Body Parameters
Altai.Web.Services.Models.PaymentName | Description | Type | Additional information |
---|---|---|---|
InvoiceNumber | System.String |
None. |
|
ShoppingCartId | System.String |
None. |
|
ContactId | System.String |
None. |
|
CreditCardNumber | System.String |
None. |
|
ExpirationDateMMYY | System.String |
None. |
|
NameOnCard | System.String |
None. |
|
PaymentType | System.String |
None. |
|
PONumber | System.String |
None. |
|
CVV | System.String |
None. |
|
CreditCardType |
Integer Value that represents the credit card type |
System.Int32 |
None. |
TotalAmount | System.Decimal |
None. |
|
BillToAddress | Altai.Web.Services.Models.CheckoutAddress |
None. |
|
ShipToAddress | Altai.Web.Services.Models.CheckoutAddress |
None. |
|
WalletId | System.Guid |
None. |
|
BankName | System.String |
None. |
|
NameOnAccount | System.String |
None. |
|
RoutingNumber | System.String |
None. |
|
AccountNumber | System.String |
None. |
|
BankAccountType | System.String |
None. |
|
AuthorizationNumber | System.String |
None. |
|
ShippingPriority | System.String |
None. |
Request Formats
application/json, text/json
Sample:
{ "InvoiceNumber": "sample string 1", "ShoppingCartId": "sample string 2", "ContactId": "sample string 3", "CreditCardNumber": "sample string 4", "ExpirationDateMMYY": "sample string 5", "NameOnCard": "sample string 6", "PaymentType": "sample string 7", "PONumber": "sample string 8", "CVV": "sample string 9", "CreditCardType": 10, "TotalAmount": 11.0, "BillToAddress": { "Name": "sample string 1", "FirstName": "sample string 2", "LastName": "sample string 3", "EmailAddress": "sample string 4", "Telephone": "sample string 5", "Address": { "Id": "sample string 1", "Street1": "sample string 2", "Street2": "sample string 3", "City": "sample string 4", "StateOrProvince": "sample string 5", "PostalCode": "sample string 6", "Country": "sample string 7", "AddressType": "sample string 8" } }, "ShipToAddress": { "Name": "sample string 1", "FirstName": "sample string 2", "LastName": "sample string 3", "EmailAddress": "sample string 4", "Telephone": "sample string 5", "Address": { "Id": "sample string 1", "Street1": "sample string 2", "Street2": "sample string 3", "City": "sample string 4", "StateOrProvince": "sample string 5", "PostalCode": "sample string 6", "Country": "sample string 7", "AddressType": "sample string 8" } }, "WalletId": "6ea66d8b-52d2-48f6-9145-5b712cc59ada", "BankName": "sample string 12", "NameOnAccount": "sample string 13", "RoutingNumber": "sample string 14", "AccountNumber": "sample string 15", "BankAccountType": "sample string 16", "AuthorizationNumber": "sample string 17", "ShippingPriority": "sample string 18" }
application/xml, text/xml
Sample:
<Payment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Altai.Web.Services.Models"> <AccountNumber>sample string 15</AccountNumber> <AuthorizationNumber>sample string 17</AuthorizationNumber> <BankAccountType>sample string 16</BankAccountType> <BankName>sample string 12</BankName> <BillToAddress> <Address> <AddressType>sample string 8</AddressType> <City>sample string 4</City> <Country>sample string 7</Country> <Id>sample string 1</Id> <PostalCode>sample string 6</PostalCode> <StateOrProvince>sample string 5</StateOrProvince> <Street1>sample string 2</Street1> <Street2>sample string 3</Street2> </Address> <EmailAddress>sample string 4</EmailAddress> <FirstName>sample string 2</FirstName> <LastName>sample string 3</LastName> <Name>sample string 1</Name> <Telephone>sample string 5</Telephone> </BillToAddress> <CVV>sample string 9</CVV> <ContactId>sample string 3</ContactId> <CreditCardNumber>sample string 4</CreditCardNumber> <CreditCardType>10</CreditCardType> <ExpirationDateMMYY>sample string 5</ExpirationDateMMYY> <InvoiceNumber>sample string 1</InvoiceNumber> <NameOnAccount>sample string 13</NameOnAccount> <NameOnCard>sample string 6</NameOnCard> <PONumber>sample string 8</PONumber> <PaymentType>sample string 7</PaymentType> <RoutingNumber>sample string 14</RoutingNumber> <ShipToAddress> <Address> <AddressType>sample string 8</AddressType> <City>sample string 4</City> <Country>sample string 7</Country> <Id>sample string 1</Id> <PostalCode>sample string 6</PostalCode> <StateOrProvince>sample string 5</StateOrProvince> <Street1>sample string 2</Street1> <Street2>sample string 3</Street2> </Address> <EmailAddress>sample string 4</EmailAddress> <FirstName>sample string 2</FirstName> <LastName>sample string 3</LastName> <Name>sample string 1</Name> <Telephone>sample string 5</Telephone> </ShipToAddress> <ShippingPriority>sample string 18</ShippingPriority> <ShoppingCartId>sample string 2</ShoppingCartId> <TotalAmount>11</TotalAmount> <WalletId>6ea66d8b-52d2-48f6-9145-5b712cc59ada</WalletId> </Payment>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
System.Net.Http.HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | System.Version |
None. |
|
Content | System.Net.Http.HttpContent |
None. |
|
StatusCode | System.Net.HttpStatusCode |
None. |
|
ReasonPhrase | System.String |
None. |
|
Headers | System.Net.Http.Headers.HttpResponseHeaders |
None. |
|
RequestMessage | System.Net.Http.HttpRequestMessage |
None. |
|
IsSuccessStatusCode | System.Boolean |
None. |