Credits

Release the team credit holds

Called by the balance page before it reads the balance. Ends every checkout of the team that holds credits and has not started paying, and lists the holds waiting for a bank payment.

post/teams/{team_slug}/credits/holds/release

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}/credits/holds/release
  • Auth: HTTP bearer

Path parameters

team_slugstring required
Example:team-a-bb4478bd2e2e

Response

Holds released

releasedinteger required

Checkouts ended and their credits returned

keptinteger required

Held checkouts whose payment has started

Example response

{
  "released": 1,
  "waiting_orders": [
    {
      "credits": 300
    }
  ]
}

Changes

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