Skip to content

Commit 951a2fd

Browse files
authored
Update embed.md
1 parent 9524e59 commit 951a2fd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/embed.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ In the config for a request embed, these are the options which can customize the
2424
| [setPassword] | boolean | if true, the customer will be asked to enter a password, which you can use to create their account |
2525
| [redirect] | string | After the subscription has been requested (and after handleResponse if present,) redirect the customer to this location |
2626
| [email] | string | Set the email field |
27+
| [token] | string | JSON Web Token for the user you want to make the request with, set this if you want to request subscriptions with existing users |
2728

2829

2930
##### Example Request Config
@@ -115,7 +116,7 @@ In the init for a request embed, these are the options which can customize the e
115116
| [handleCheckout] | function(paymentPlanId) | Allows for custom actions when a customer selects a tier, good for redirecting to a different checkout page |
116117
| [email] | string | Set if you want to prefill the email |
117118
| [paymentStructureTemplateId] | integer | If set, sends customer directly to checkout for this payment plan |
118-
119+
| [token] | string | JSON Web Token for the user you want to make the request with, set this if you want to request subscriptions with existing users |
119120

120121
##### Example Pricing Page Config
121122
```javascript

0 commit comments

Comments
 (0)