Update README.md

This commit is contained in:
Dima YaFlay
2023-10-16 18:40:47 +03:00
committed by GitHub
parent a0ca436d71
commit cc0833caba

View File

@@ -67,8 +67,11 @@ const url = await sp.InitPayment(
```
ИЛИ
```cs
PaymentData paymentData = JsonNode.Parse(Request.GetBody());
const url = await sp.InitPayment(paymentData);
public async Task<IActionResult> GetCreatePaymentFunction([FromBody] PaymentData paymentData)
{
const url = await sp.InitPayment(paymentData);
// Ваша логика
}
```
### Перевод АРов на другую карту