POST /v1/credits/reservations
BillingService_ReserveCredits
The server validates credentials, tenant, environment and permissions. This page does not send requests. Replace example values; deployed server validation remains authoritative.
Parameters
No path or query parameters.
Request body
business_idstringcustomer_account_idstringestimated_quantitystringmeter_codestringoffer_idstringttl_secondsinteger · int32
cURL
curl --request POST 'https://nexus-api.rainlib.com/v1/credits/reservations' \
--header 'Authorization: Bearer <NEXUS_ACCESS_TOKEN>' \
--header 'Content-Type: application/json' \
--data '{
"business_id": "<value>",
"customer_account_id": "<value>",
"estimated_quantity": "<value>",
"meter_code": "<value>",
"offer_id": "<value>",
"ttl_seconds": 0
}'Response contract
200 · OK
billablebooleanbusiness_idstringcommitted_amountstringcommitted_quantitystringcustomer_account_idstringestimated_quantitystringexecution_statusstringexpires_atstringfailure_charge_policy_sourcestringfunding_allocationsarrayExpand fields
account_typestringcommitted_amountstringcustomer_account_idstringordinalinteger · int32released_amountstringreserved_amountstringtransaction_capstringwallet_idstring
funding_policy_revision_idstringidstringingress_api_key_idstringmeter_codestringoffer_idstringproduct_idstringreleased_amountstringreserved_amountstringstatusstring
Generated responses do not enumerate every runtime error. See the integration guide for authentication, conflicts and retries.