NodeRings Inc. Credit Service API
The CreditService API from NodeRings Inc. — 5 operation(s) for creditservice.
The CreditService API from NodeRings Inc. — 5 operation(s) for creditservice.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/noderings-com:noderings-com-creditservice-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: NodeRings Credit Service API
version: '1.0'
contact:
name: NodeRings
url: https://noderings.com
servers:
- url: https://api.noderings.com
security:
- BearerAuth: []
OrgIDHeader: []
tags:
- name: CreditService
paths:
/v1/credits/balance:
get:
operationId: CreditService_GetCreditBalance
responses:
'200':
description: A successful response.
content:
application/json:
schema:
$ref: '#/components/schemas/v1GetCreditBalanceResponse'
tags:
- CreditService
summary: Credit service get credit balance
x-summary-source: derived
/v1/credits/ledger:
get:
operationId: CreditService_ListCreditLedgerEntries
responses:
'200':
description: A successful response.
content:
application/json:
schema:
$ref: '#/components/schemas/v1ListCreditLedgerEntriesResponse'
parameters:
- name: page
in: query
required: false
schema:
type: integer
format: int32
- name: pageSize
in: query
required: false
schema:
type: integer
format: int32
- name: entryType
in: query
required: false
schema:
type: string
enum:
- CREDIT_LEDGER_ENTRY_TYPE_UNSPECIFIED
- CREDIT_LEDGER_ENTRY_TYPE_PURCHASE
- CREDIT_LEDGER_ENTRY_TYPE_PROMOTIONAL
- CREDIT_LEDGER_ENTRY_TYPE_PROVISION_RESERVE
- CREDIT_LEDGER_ENTRY_TYPE_PROVISION_RELEASE
- CREDIT_LEDGER_ENTRY_TYPE_USAGE_HOLD
- CREDIT_LEDGER_ENTRY_TYPE_HOLD_RELEASE
- CREDIT_LEDGER_ENTRY_TYPE_INVOICE_SETTLEMENT
- CREDIT_LEDGER_ENTRY_TYPE_CHARGEBACK_REVERSAL
- CREDIT_LEDGER_ENTRY_TYPE_EXPIRY
- CREDIT_LEDGER_ENTRY_TYPE_FORFEITURE
- CREDIT_LEDGER_ENTRY_TYPE_MANUAL_ADJUSTMENT
default: CREDIT_LEDGER_ENTRY_TYPE_UNSPECIFIED
tags:
- CreditService
summary: Credit service list credit ledger entries
x-summary-source: derived
/v1/credits/promo:
get:
operationId: CreditService_ListPromoCreditGrants
responses:
'200':
description: A successful response.
content:
application/json:
schema:
$ref: '#/components/schemas/v1ListPromoCreditGrantsResponse'
parameters:
- name: page
in: query
required: false
schema:
type: integer
format: int32
- name: pageSize
in: query
required: false
schema:
type: integer
format: int32
tags:
- CreditService
summary: Credit service list promo credit grants
x-summary-source: derived
/v1/credits:purchase:
post:
operationId: CreditService_PurchaseCredits
responses:
'200':
description: A successful response.
content:
application/json:
schema:
$ref: '#/components/schemas/v1PurchaseCreditsResponse'
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/v1PurchaseCreditsRequest'
required: true
tags:
- CreditService
summary: Credit service purchase credits
x-summary-source: derived
/v1/credits:redeemPromoCode:
post:
operationId: CreditService_RedeemPromoCode
responses:
'200':
description: A successful response.
content:
application/json:
schema:
$ref: '#/components/schemas/v1RedeemPromoCodeResponse'
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/v1RedeemPromoCodeRequest'
required: true
tags:
- CreditService
summary: Credit service redeem promo code
x-summary-source: derived
components:
schemas:
v1PromoCreditGrant:
type: object
properties:
id:
type: string
amount:
type: string
remaining:
type: string
reserved:
type: string
expiresAt:
type: string
format: date-time
status:
type: string
source:
type: string
couponName:
type: string
code:
type: string
v1ListCreditLedgerEntriesResponse:
type: object
properties:
entries:
type: array
items:
$ref: '#/components/schemas/v1CreditLedgerEntryProto'
totalCount:
type: integer
format: int32
page:
type: integer
format: int32
pageSize:
type: integer
format: int32
v1RedeemPromoCodeRequest:
type: object
properties:
code:
type: string
v1PurchaseCreditsRequest:
type: object
properties:
amount:
type: string
title: 'Decimal string: USD amount to top-up'
paymentMethodId:
type: string
description: 'Optional: payment method ID to charge. If omitted, the org''s default
payment method is used.'
v1CreditLedgerEntryProto:
type: object
properties:
id:
type: string
entryType:
type: string
amount:
type: string
title: Decimal string
balanceAfter:
type: string
title: Decimal string
reservedAfter:
type: string
title: Decimal string
currency:
type: string
creditSource:
type: string
idempotencyKey:
type: string
reasonCode:
type: string
createdAt:
type: string
format: date-time
v1PurchaseCreditsResponse:
type: object
properties:
clientSecret:
type: string
title: Stripe PaymentIntent client_secret for 3DS confirmation
creditPurchaseId:
type: string
title: CreditPurchase row id
paymentIntentId:
type: string
title: Stripe PaymentIntent id
requiresAction:
type: boolean
title: True if 3DS/SCA confirmation is needed client-side
v1RedeemPromoCodeResponse:
type: object
properties:
grantId:
type: string
amount:
type: string
remaining:
type: string
expiresAt:
type: string
format: date-time
v1ListPromoCreditGrantsResponse:
type: object
properties:
grants:
type: array
items:
$ref: '#/components/schemas/v1PromoCreditGrant'
totalCount:
type: integer
format: int32
page:
type: integer
format: int32
pageSize:
type: integer
format: int32
v1GetCreditBalanceResponse:
type: object
properties:
balance:
type: string
title: 'Decimal string: settled wallet balance in USD'
reserved:
type: string
title: 'Decimal string: sum of open holds'
available:
type: string
title: 'Decimal string: balance - reserved'
frozen:
type: boolean
frozenReason:
type: string
title: Empty when not frozen
currency:
type: string
title: Always "USD" in v1
promotionalAvailable:
type: string
description: Unreserved promotional credit that can be applied to the next invoice.
promotionalExpiringSoon:
type: string
description: Promotional credit that expires within 7 days.
securitySchemes:
BearerAuth:
type: apiKey
description: Bearer token
name: Authorization
in: header
OrgIDHeader:
type: apiKey
description: Tenant or organization identifier
name: X-Organization-ID
in: header