Credits
Start or resume a credit purchase
Creates a Stripe checkout session for the amount or the credit pack, or returns the open purchase of the same amount and pack with the terms it was created under. The team, the buyer and the total are decided by the server.
post/teams/{team_slug}/funding/purchases
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/purchases
- Auth: HTTP bearer
Path parameters
team_slugstring required
Example:team-a-bb4478bd2e2e
Request body
Example request
{
"amount": 250,
"pack_key": "matterhorn"
}Response
The open purchase of the same amount and pack was resumed
Example response
{
"processing_fee": 7.5,
"total": 257.5
}Changes
No recorded changes to this operation across all 3 revisions of this API.