# Sending Lightning Payments Once you have outbound liquidity you can start sending payments too.
Rust
```rust,ignore {{#include ../../snippets/rust/src/send_payment.rs:send-payment}} ```
Swift
```swift do { // The `amountMsat` param is optional and should only passed if the bolt11 doesn't specify an amount. // The amountMsat is required in case an amount is not specified in the bolt11 invoice'. let req = SendPaymentRequest(bolt11: "...", amountMsat: 3000000) let response = try sdk.sendPayment(req: req) } catch { // handle error } ```
Kotlin
```kotlin,ignore val bolt11 = "..." try { // The `amountMsat` param is optional and should only passed if the bolt11 doesn't specify an amount. // The amountMsat is required in case an amount is not specified in the bolt11 invoice'. val amountMsat = 3000000L.toULong() val req = SendPaymentRequest(bolt11, amountMsat) val response = sdk.sendPayment(req) } catch (e: Exception) { // handle error } ```
React Native
```typescript {{#include ../../snippets/react-native/send_payment.ts:send-payment}} ```
Dart
```dart {{#include ../../snippets/dart_snippets/lib/send_payment.dart:send-payment}} ```
Python
```python bolt11 = "..." try: # The `amount_msat` param is optional and should only passed if the bolt11 doesn't specify an amount. # The amount_msat is required in case an amount is not specified in the bolt11 invoice'. req = breez_sdk.SendPaymentRequest(bolt11=bolt11, amount_msat=3000000) sdk_services.send_payment(req=req) except Exception as error: # Handle error ```
Go
```go bolt11 := "bolt11 invoice" // The `amountMsat` param is optional and should only passed if the bolt11 doesn't specify an amount. // The amountMsat is required in case an amount is not specified in the bolt11 invoice'. amountMsat := uint64(3000000) sendPaymentRequest := breez_sdk.SendPaymentRequest{ Bolt11: bolt11, AmountMsat: amountMsat, } if response, err := sdk.SendPayment(sendPaymentRequest); err == nil { log.Printf("%#v", response) } ```
C#
```cs {{#include ../../snippets/csharp/SendPayment.cs:send-payment}} ```