OpenMetal
API referenceBilling

Create Billing Payment Method Setup

POST
/v1/organizations/{organization_id}/billing/payment-method

Authorization

bearerAuth
AuthorizationBearer <token>

Use a project API key for sandbox and runtime routes, or an OpenMetal user access token for account management routes.

In: header

Path Parameters

organization_id*string
Formatuuid

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/billing/payment-method"
{  "checkout_url": "http://example.com"}