We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c579be commit 0c6ecd9Copy full SHA for 0c6ecd9
README.md
@@ -58,9 +58,9 @@ All API routes that can return expanded objects have an extra parameter `expand:
58
1. Expanding a single field.
59
```swift
60
// Expanding a customer from creating a `PaymentIntent`.
61
- let paymentIntent = try await stripeclient.paymentIntents.create(amount: 2500, currency: .usd, expand: ["customer"])
62
- // Accessing the expanded `Customer` object
63
- paymentIntent.$customer.email
+let paymentIntent = try await stripeclient.paymentIntents.create(amount: 2500, currency: .usd, expand: ["customer"])
+// Accessing the expanded `Customer` object
+paymentIntent.$customer.email
64
```
65
66
2. Expanding multiple fields.
0 commit comments