Dedizierte Server

Cloud

Cloud-Konsole

Invoices

Confirm invoice payment

POST/v1/billing/invoices/{id}/confirm-payment

Confirms a payment the caller completed with the payment provider and records it on the invoice.

Autorisierung

  • Authorizationstringheadererforderlich

    Organization API key (org_...), created in the cloud console at https://cloud.serverside.com and shown once, sent as Authorization: Bearer <key>. It authenticates as the organization.

Erforderliche Berechtigung: organization.billing.pay

Pfadparameter

  • idstring<uuid>erforderlich

Body

application/json
  • providerTransactionIdstringerforderlich

    Grenzen:length >= 1

  • providerTypeenum<string>erforderlich

    Zulässige Werte:STRIPEMANUALACCOUNT_CREDIT

Antwort

200 · application/json

OK

  • successbooleanerforderlich

    Zulässige Werte:true

  • dataobject | nullerforderlich