-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
725ce33
commit 68737d9
Showing
2 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
docs/pages/infra/platform/api/sponsorship-policies/index.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Sponsorship Policies API | ||
|
||
Sponsorship policies represent the rules that govern which user operations you are willing to sponsor. Use it to customize the conditions under which you are willing to subsidize the gas fees for your users. | ||
|
||
Related guide: [How to use Sponsorship Policies](/infra/platform/sponsorship-policies) | ||
|
||
:::note[Endpoints] | ||
|
||
List all sponsorship policies: | ||
|
||
[`GET /v2/account/sponsorship_policies`](/infra/platform/api/sponsorship-policies/list) | ||
|
||
Retrieve a specific sponsorship policy: | ||
|
||
[`GET /v2/account/sponsorship_policies/:id`](/infra/platform/api/sponsorship-policies/retrieve) | ||
|
||
Create a new sponsorship policy: | ||
|
||
[`POST /v2/account/sponsorship_policies`](/infra/platform/api/sponsorship-policies/create) | ||
|
||
Update an existing sponsorship policy: | ||
|
||
[`POST /v2/account/sponsorship_policies/:id`](/infra/platform/api/sponsorship-policies/update) | ||
|
||
::: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters