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

31 lines
758 B
Markdown

---
title: "paymentCharge"
description: "Payment identifier"
nav_exclude: true
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: paymentCharge
[Back to constructors index](/API_docs/constructors/index.html)
Payment identifier
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|id|[string](/API_docs/types/string.html) | Yes|Telegram payment identifier|
|provider\_charge\_id|[string](/API_docs/types/string.html) | Yes|Provider payment identifier|
### Type: [PaymentCharge](/API_docs/types/PaymentCharge.html)
### Example:
```
$paymentCharge = ['_' => 'paymentCharge', 'id' => 'string', 'provider_charge_id' => 'string'];
```