MadelineProtoDocs/old_docs/API_docs_v95/constructors/inputPaymentCredentials.md

40 lines
848 B
Markdown
Raw Normal View History

2019-03-29 21:12:30 +01:00
---
title: inputPaymentCredentials
description: Payment credentials
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: inputPaymentCredentials
[Back to constructors index](index.md)
Payment credentials
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
2019-12-27 17:48:04 +01:00
|save|[Bool](../types/Bool.md) | Optional|Save payment credential for future use|
|data|[DataJSON](../types/DataJSON.md) | Yes|Payment credentials|
2019-03-29 21:12:30 +01:00
### Type: [InputPaymentCredentials](../types/InputPaymentCredentials.md)
### Example:
```php
$inputPaymentCredentials = ['_' => 'inputPaymentCredentials', 'save' => Bool, 'data' => DataJSON];
```
Or, if you're into Lua:
```lua
inputPaymentCredentials={_='inputPaymentCredentials', save=Bool, data=DataJSON}
```