MadelineProtoDocs/docs/API_docs/constructors/inputPaymentCredentials.md
2024-05-01 14:53:46 +02:00

31 lines
798 B
Markdown

---
title: "inputPaymentCredentials"
description: "Payment credentials"
nav_exclude: true
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: inputPaymentCredentials
[Back to constructors index](/API_docs/constructors/index.html)
Payment credentials
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|save|[Bool](/API_docs/types/Bool.html) | Optional|Save payment credential for future use|
|data|[DataJSON](/API_docs/types/DataJSON.html) | Yes|Payment credentials|
### Type: [InputPaymentCredentials](/API_docs/types/InputPaymentCredentials.html)
### Example:
```
$inputPaymentCredentials = ['_' => 'inputPaymentCredentials', 'save' => Bool, 'data' => DataJSON];
```