Dedizierte Server

Cloud

Cloud-Konsole

Rechnungen

Rechnung bezahlen

POST/v1/billing/invoices/{id}/pay

Bezahlt die Rechnung aus Kontoguthaben oder einer gespeicherten Zahlungsmethode oder startet ohne Methodenangabe eine vom Aufrufer zu bestätigende Zahlung.

Autorisierung

  • Authorizationstringheadererforderlich

    Organisations-API-Schlüssel (org_...), in der Cloud-Konsole unter https://cloud.serverside.com erstellt und einmal angezeigt, gesendet als Authorization: Bearer <key>. Authentifiziert als Organisation.

Erforderliche Berechtigung: organization.billing.pay

Pfadparameter

  • idstring<uuid>erforderlich

Body

application/json
  • methodIdstring<uuid> | null
  • providerTypeenum<string>erforderlich

    Zulässige Werte:STRIPEMANUALACCOUNT_CREDIT

Antwort

200 · application/json

OK

  • successbooleanerforderlich

    Zulässige Werte:true

  • dataobject | nullerforderlich