Purchase Credits
Authorization<token>
Bearer token
In: header
X-Organization-ID<token>
Tenant or organization identifier
In: header
amount?string
paymentMethodId?string
Optional: payment method ID to charge. If omitted, the org's default payment method is used.
Response Body
application/json
curl -X POST "https://api.noderings.com/v1/credits:purchase" \ -H "Authorization: Bearer {your_token}" \ -H "X-Organization-ID: {your_org_id}" \ -H "Content-Type: application/json" \ -d '{ "amount": "string", "paymentMethodId": "string"}'{
"clientSecret": "string",
"creditPurchaseId": "string",
"paymentIntentId": "string",
"requiresAction": true
}