How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Light v1 - Customer Credits API

The v1 - Customer Credits API from Light — 12 operation(s) for v1 - customer credits.

Light v1 - Customer Credits API is one of 28 APIs that Light publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include v1 - Customer Credits. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, authentication docs, and rate-limit docs.

This API exposes 16 operations across 12 paths, and defines 17 schemas. It is described by OpenAPI 3.0.1, at version 1.0.0.

Requests are made against the base URL https://api.light.inc.

16 operations 12 paths 17 schemas 2 DELETE2 GET2 PATCH10 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.1
API Version
1.0.0
Base URL
https://api.light.inc
Authentication
API Key, HTTP Bearer
Resource Areas
1

Authentication & Security 2

Light v1 - Customer Credits API declares 2 security schemes for authenticating requests. An API key is passed in the header as Authorization (apiKeyAuth). It accepts HTTP bearer tokens (JWT) (bearerAuth). By default, every request must be authenticated.

  • apiKeyAuth — Basic authentication header of the form Basic , where is your api key.

Paths & Operations 16

Across 12 paths, the API surfaces 16 operations — 2 DELETE, 2 GET, 2 PATCH, 10 POST. Each is listed below with its method, path, parameters, and response codes.

v1 - Customer Credits 16
POST
/v1/customer-credits/{customerCreditId}/archive
Archive customer credit
archiveCustomerCredit 1 param → default
GET
/v1/customer-credits
List customer credits
listCustomerCredits 5 params → default
POST
/v1/customer-credits
Create customer credit
createCustomerCredit 1 param body → default
POST
/v1/customer-credits/{customerCreditId}/lines
Create customer credit line
createCustomerCreditLine 1 param body → default
DELETE
/v1/customer-credits/{customerCreditId}/lines/{lineId}
Delete customer credit line
deleteCustomerCreditLine 2 params → default
PATCH
/v1/customer-credits/{customerCreditId}/lines/{lineId}
Update customer credit line
updateCustomerCreditLine 2 params body → default
GET
/v1/customer-credits/{customerCreditId}
Get customer credit
getCustomerCredit 1 param → default
PATCH
/v1/customer-credits/{customerCreditId}
Update customer credit
updateCustomerCredit 2 params body → default
POST
/v1/customer-credits/{customerCreditId}/invoice-receivables/{invoiceReceivableId}/link
Link customer credit to invoice
linkCustomerCreditToInvoice 2 params body → default
POST
/v1/customer-credits/{customerCreditId}/invoice-receivables/{invoiceReceivableId}
Link customer credit
linkCustomerCredit 2 params body → default
DELETE
/v1/customer-credits/{customerCreditId}/invoice-receivables/{invoiceReceivableId}deprecated
Unlink customer credit
unlinkCustomerCredit 2 params → default
POST
/v1/customer-credits/{customerCreditId}/post-and-send-email
Post and send customer credit
postAndSendCustomerCredit 1 param body → default
POST
/v1/customer-credits/{customerCreditId}/post
Post customer credit
postCustomerCredit 1 param body → default
POST
/v1/customer-credits/{customerCreditId}/submit-einvoice
Submit e-invoice for customer credit
submitCustomerCreditEInvoice 1 param → default
POST
/v1/customer-credits/{customerCreditId}/unarchive
Unarchive customer credit
unarchiveCustomerCredit 1 param → 200400
POST
/v1/customer-credits/{customerCreditId}/invoice-receivables/{invoiceReceivableId}/unlink
Unlink customer credit from invoice
unlinkCustomerCreditFromInvoice 2 params → default

Schemas 17

The contract defines 17 schemas that model the data the API accepts and returns. The most detailed are ExternalCustomerCreditLineV1Model (18 properties), ExternalCustomerCreditV1Model (17 properties), ExternalCreateCustomerCreditRequestV1Model (13 properties), ExternalUpdateCustomerCreditLineRequestV1Model (13 properties). Each schema is shown below with its type and property counts.

ExternalCustomerCreditV1Model
object
17 properties
ExternalCustomerCreditLineV1Model
object
18 properties
ExternalPostAndSendCustomerCreditRequestV1Model
object
2 properties
ExternalRelatedAccDocV1Model
object
Invoice payable details
6 properties
ExternalPostCustomerCreditRequestV1Model
object
1 property
ExternalUpdateCustomerCreditLineRequestV1Model
object
13 properties
DirectedAmount
object
2 properties
ExternalCursorPaginatedResponseV1ModelExternalCustomerCreditV1Model
object
4 properties
ExternalCreateCustomerCreditLineRequestV1Model
object
13 properties
ExternalCustomerCreditInvoiceReceivableV1Model
object
5 properties
ExternalCreateCustomerCreditRequestV1Model
object
13 properties
ExternalUiClientExceptionErrorV1Model
object
List of errors providing details about what went wrong
4 properties
ExternalCustomerCreditEmailInfoRequestV1Model
object
Email configuration for sending the customer credit.
5 properties
ExternalUpdateCustomerCreditRequestV1Model
object
10 properties
ExternalLinkCustomerCreditToInvoiceReceivableRequestV1Model
object
1 property
ExternalUiClientExceptionV1Model
object
Failure context when vendor onboarding fails.
3 properties
SetCustomPropertyRequestV1Model
object
List of custom properties to set on the vendor.
3 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

light-v1-customer-credits-api-openapi.yml Raw ↑

Other APIs Light publishes across the network.

Light Authorization API
Light v1 - Accounting Documents API
Light v1 - Attachments API
Light v1 - Bank Accounts API
Light v1 - Card Balance Accounts API
Light v1 - Card Customers API
Light v1 - Card Transactions API
Light v1 - Cards API
Light v1 - Companies API
Light v1 - Contracts API
Light v1 - Credit Notes API
Light v1 - Custom Properties API
Where this information came from

This is an independent, third-party profile of Light v1 - Customer Credits API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.