Rivier/ Reference/ accounting

Whether a new sale fits the customer's credit limit

get/accounting/customers/{key}/credit-check

Before you call

Credential
Authorization: Bearer $KEY
Scope
accounting:read
Mcp
rivier_accounting_credit_check
Graphql
Query.accountingCreditCheck
Sdk
accounting.customer.creditCheck
Cli
accounting customer credit check

Parameters

  • keystringrequired
    In the path
  • amountMinorintegerrequired
    In the query
  • currencystring
    In the query

Responses

  • 200application/json
    Success
    • 400application/json
      The request was malformed
      • errorstringrequired
      • messagestring
    • 401application/json
      No valid credential
      • errorstringrequired
      • messagestring
    • 403application/json
      The credential lacks the scope, origin or address
      • errorstringrequired
      • messagestring
    • 429application/json
      Over the key's rate limit; see Retry-After
      • errorstringrequired
      • messagestring

    This page as Markdown