v4

latestOpenAPI 3.0.22026-08-02109239415.7 KB
manage

Add credits to an API user's account.

post/manage/api/add_credits

Query parameters

organization_idstring required

Workspace to add credits to. The charge goes against the org's Stripe customer + Metronome customer.

Request body

Example request

{
  "amount": {
    "amount": 1050,
    "currency_code": "USD"
  }
}

Response

API subscription content

Example response

{
  "amount": {
    "amount": 1050,
    "currency_code": "USD"
  }
}