payments.getUniqueStarGift
Obtain info about a collectible gift » using a slug obtained from a collectible gift link ».
func (c *Client) PaymentsGetUniqueStarGift(ctx context.Context, slug string) (*PaymentsUniqueStarGift, error)
Calling this method
client.Run(ctx, func(ctx context.Context) error {
api := client.API()
res, err := api.PaymentsGetUniqueStarGift(ctx, slug)
if err != nil {
return err
}
_ = res // *PaymentsUniqueStarGift
return nil
})
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
Slug | string | yes | The slug. |
Returns
Possible errors
| Code | Type | Description |
|---|---|---|
| 400 | STARGIFT_SLUG_INVALID | The specified gift slug is invalid. |
References
- Official documentation
- Generated Go reference
- TL definition:
payments.getUniqueStarGift#a1974d72