Premium

Start a new topup session with paypal

Changed on
post/api/topup/paypal/{productSlug}

Request

  • Base URL
    https://sky.coflnet.com (the document declares no server; this is the origin it was published from)
  • Auth
    • API key in header Authorization
    • or API key in header GoogleToken

Path parameters

productSlug, string required

Request body

TopUpArguments required

Additional arguments for a topup

coinAmount, integer required

A specific amount of coins to topup

successUrl, string nullable

The url to redirect to after successful payment

cancelUrl, string nullable

The url to redirect to when user aborts payment

creatorCode, string nullable

An optional creator code to apply to the purchase

discountcode, string nullable

An optional discount code to apply to the purchase

Response

OK

TopUpIdResponse required
id, string nullable
dirctLink, string nullable
directLink, string nullable
trialDays, integer nullable

Changes

    • info

      added the optional property trialDays to the response with the status (media type: text/plain)

    • info

      added the optional property trialDays to the response with the status (media type: application/json)

    • info

      added the optional property trialDays to the response with the status (media type: text/json)