Purchase prepaid credit

When authenticated with an API key, this operation requires api-admin.

Authentication

AuthorizationBearer
Console user session or Mixlayer API key supplied as a Bearer token.

Path parameters

billing_account_idstringRequired
Billing account ID

Request

This endpoint expects an object.
amount_in_centslongRequired1000-50000
Refill amount in cents. Must be between 1,000 and 50,000, inclusive.

Response

Credit purchase
dataobject
Prepaid credit purchase returned by the Platform API.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
413
Content Too Large Error
415
Unsupported Media Type Error
422
Unprocessable Entity Error
500
Internal Server Error