POST api/AuthApplePay/Run
Request Information
URI Parameters
None.
Body Parameters
ApplePayModelsName | Description | Type | Additional information |
---|---|---|---|
paymentDataEncoded | string |
None. |
|
paymentData | paymentDataModels |
None. |
|
totalAmount | string |
None. |
|
billTo | ApplePaybillToModels |
None. |
|
shippTo | ApplePayshippToModels |
None. |
|
tax | ApplePaytaxModels |
None. |
|
OrderType | ApplePayOrderTypeModels |
None. |
|
customer | ApplePayCustomerModels |
None. |
Request Formats
application/json, text/json
Sample:
{ "paymentDataEncoded": "sample string 1", "paymentData": { "version": "sample string 1", "data": "sample string 2", "signature": "sample string 3", "header": { "ephemeralPublicKey": "sample string 1", "publicKeyHash": "sample string 2", "transactionId": "sample string 3" } }, "totalAmount": "sample string 2", "billTo": { "firstName": "sample string 1", "lastName": "sample string 2", "company": "sample string 3", "address": "sample string 4", "city": "sample string 5", "state": "sample string 6", "zip": "sample string 7", "country": "sample string 8", "phoneNumber": "sample string 9", "faxNumber": "sample string 10", "email": "sample string 11" }, "shippTo": { "firstName": "sample string 1", "lastName": "sample string 2", "company": "sample string 3", "address": "sample string 4", "city": "sample string 5", "state": "sample string 6", "zip": "sample string 7", "country": "sample string 8", "phoneNumber": "sample string 9", "faxNumber": "sample string 10", "email": "sample string 11" }, "tax": { "amount": "sample string 1", "name": "sample string 2", "description": "sample string 3" }, "OrderType": { "invoiceNumber": "sample string 1", "description": "sample string 2" }, "customer": { "email": "sample string 1" } }
application/xml, text/xml
Sample:
<ApplePayModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AnjoleeAPI.Models"> <OrderType> <description>sample string 2</description> <invoiceNumber>sample string 1</invoiceNumber> </OrderType> <billTo> <address>sample string 4</address> <city>sample string 5</city> <company>sample string 3</company> <country>sample string 8</country> <email>sample string 11</email> <faxNumber>sample string 10</faxNumber> <firstName>sample string 1</firstName> <lastName>sample string 2</lastName> <phoneNumber>sample string 9</phoneNumber> <state>sample string 6</state> <zip>sample string 7</zip> </billTo> <customer> <email>sample string 1</email> </customer> <paymentData> <data>sample string 2</data> <header> <ephemeralPublicKey>sample string 1</ephemeralPublicKey> <publicKeyHash>sample string 2</publicKeyHash> <transactionId>sample string 3</transactionId> </header> <signature>sample string 3</signature> <version>sample string 1</version> </paymentData> <paymentDataEncoded>sample string 1</paymentDataEncoded> <shippTo> <address>sample string 4</address> <city>sample string 5</city> <company>sample string 3</company> <country>sample string 8</country> <email>sample string 11</email> <faxNumber>sample string 10</faxNumber> <firstName>sample string 1</firstName> <lastName>sample string 2</lastName> <phoneNumber>sample string 9</phoneNumber> <state>sample string 6</state> <zip>sample string 7</zip> </shippTo> <tax> <amount>sample string 1</amount> <description>sample string 3</description> <name>sample string 2</name> </tax> <totalAmount>sample string 2</totalAmount> </ApplePayModels>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |