Skip to content

Commit d34b1ef

Browse files
authored
Document usage of undocumented API parameters (stripe#1769)
* Document usage of undocumented API parameters Added section on using undocumented parameters and properties. * Add language preference in the link
1 parent 9acdaf5 commit d34b1ef

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,12 @@ Stripe::Instrumentation.subscribe(:request_end) do |request_event|
265265
end
266266
```
267267

268+
### How to use undocumented parameters and properties
269+
270+
In some cases, you might encounter parameters on an API request or fields on an API response that aren’t available in the SDKs.
271+
This might happen when they’re undocumented or when they’re in preview and you aren’t using a preview SDK.
272+
See [undocumented params and properties](https://docs.stripe.com/sdks/server-side?lang=ruby#undocumented-params-and-fields) to send those parameters or access those fields.
273+
268274
### Writing a Plugin
269275

270276
If you're writing a plugin that uses the library, we'd appreciate it if you

0 commit comments

Comments
 (0)