POST v1/PaymentSession/SendGooglePayPaymentToken
URI template
v1/PaymentSession/SendGooglePayPaymentTokenRequest Information
URI Parameters
None.
Body Parameters
InSendGooglePayTokenRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| SiteId |
The site id the consumer is ordering from. |
integer |
Required |
| GooglePaySessionId | string |
Required |
|
| GooglePayPaymentToken | string |
Required |
Request Formats
application/json, text/json
Sample:
{
"SiteId": 1,
"GooglePaySessionId": "sample string 2",
"GooglePayPaymentToken": "sample string 3"
}
application/xml, text/xml
Sample:
<InSendGooglePayTokenRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OnlineOrderingAPI.Inbound"> <GooglePayPaymentToken>sample string 3</GooglePayPaymentToken> <GooglePaySessionId>sample string 2</GooglePaySessionId> <SiteId>1</SiteId> </InSendGooglePayTokenRequest>
Response Information
Resource Description
HttpResponseMessage
| Name | 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. |