Credits

Get team funding options

The amounts a team can buy, whether the team and the signed-in member are eligible for the first-funding offer, and its purchases whose payment is still processing.

get/teams/{team_slug}/funding

Request

  • Base URL: https://api.presscart.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.presscart.com/teams/{team_slug}/funding
  • Auth: HTTP bearer

Path parameters

team_slugstring required
Example:team-a-bb4478bd2e2e

Response

Funding options retrieved successfully

funding_enabledboolean required
currency'USD' required
min_amountnumber required
max_amountnumber required
preset_amountsnumber[] required
processing_fee_percentnumber required

The fee charged on top of the credit amount, as a whole percent

Example response

{
  "min_amount": 50,
  "max_amount": 25000,
  "preset_amounts": [
    250,
    500,
    1000,
    5000
  ],
  "processing_purchases": [
    {
      "amount": 250
    }
  ],
  "processing_order_holds": [
    {
      "credits": 300
    }
  ],
  "processing_fee_percent": 3,
  "packs": [
    {
      "key": "matterhorn",
      "name": "Matterhorn",
      "amount": 15000,
      "bonus_percent": 6,
      "bonus_amount": 900,
      "processing_fee": 450,
      "total": 15450,
      "match_amount": 250
    }
  ]
}

Changes

No recorded changes to this operation across all 2 revisions of this API.