MadelineProtoDocs/old_docs/API_docs_v82/constructors/inputPaymentCredentialsAndroidPay.md

46 lines
1.1 KiB
Markdown
Raw Normal View History

2018-12-26 02:56:50 +01:00
---
title: inputPaymentCredentialsAndroidPay
description: Payment credentials android pay
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: inputPaymentCredentialsAndroidPay
[Back to constructors index](index.md)
Payment credentials android pay
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|payment\_token|[DataJSON](../types/DataJSON.md) | Yes|Payment token|
|google\_transaction\_id|[string](../types/string.md) | Yes|Google transaction ID|
### Type: [InputPaymentCredentials](../types/InputPaymentCredentials.md)
### Example:
```php
$inputPaymentCredentialsAndroidPay = ['_' => 'inputPaymentCredentialsAndroidPay', 'payment_token' => DataJSON, 'google_transaction_id' => 'string'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "inputPaymentCredentialsAndroidPay", "payment_token": DataJSON, "google_transaction_id": "string"}
```
Or, if you're into Lua:
```lua
inputPaymentCredentialsAndroidPay={_='inputPaymentCredentialsAndroidPay', payment_token=DataJSON, google_transaction_id='string'}
```