billing

Purchase Reload

Buy one approved bundle now, on the saved card.

Idempotency-Key is required because this charges immediately. A client that lost the response retries with the same key and is handed the attempt it already made rather than a second charge.

Usage is added when the payment succeeds, which is usually before this returns. A decline comes back as a failed attempt, not an error. When the bank wants the customer present, the attempt is requires_action and confirmation_url is where to send the browser.

post/api/v1/billing/reloads

Headers

Idempotency-Keystring required

Request body

Response

Successful Response

confirmation_urlstring nullable required

Changes

Changed in 4 of the 30 revisions of this API.42

  • 7720763f8bf111See the full diff
    • ●

      added the new usage_not_metered enum value to the response property for the response status

      response-property-enum-value-added

    • ○

      removed the auto_reload_not_offered enum value from the response property for the response status

      response-property-enum-value-removed

    This revision also has 13 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • ●

      added the new amount_not_positive enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new terms_incomplete enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new price_not_found enum value to the response property for the response status

      response-property-enum-value-added

    • ○

      endpoint added

      endpoint-added

    This revision also has 18 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog