Players' Subscriptions

Transfer Player Subscription

Changed on

Transfer a player's subscription to another player in the same game, keeping the plan, billing schedule and saved payment method.

post/v1/players/{player_id}/subscriptions/{subscription_id}/transfer

Request

  • Base URL
    https://api.aghanim.com/s2s
  • URL
    https://api.aghanim.com/s2s/v1/players/{player_id}/subscriptions/{subscription_id}/transfer
  • Auth
    HTTP bearer

Path parameters

player_idstring required
subscription_idstring required

Request body

new_player_idstring required

Player ID to transfer the subscription to.

Response

Subscription transferred to the target player.

idstring required

New subscription ID created for the target player.

status'trial' | 'active' | 'grace' | 'canceled' | 'locked' | 'ended' | 'expired' | 'paused' | 'pending' required

Changes

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • warning

      for the path request parameter subscription_id, the maxLength was set to 32