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

LeafLink Payment Contract API

The Payment Contract API from LeafLink — 2 operation(s) for payment contract.

LeafLink Payment Contract API is one of 88 APIs that LeafLink publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Payment Contract. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, a getting-started guide, rate-limit docs, and authentication docs.

This API exposes 6 operations across 2 paths, and defines 20 schemas. It is described by OpenAPI 3.2.0, at version 2022-10-31.

Requests are made against 2 base URLs: https://api.leaflink.com, https://staging-api.leaflink.com.

6 operations 2 paths 20 schemas 1 DELETE2 GET1 PATCH1 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
2022-10-31
Base URL
https://api.leaflink.com
Authentication
HTTP Bearer, API Key
Terms of Service
Resource Areas
1

Authentication & Security 2

LeafLink Payment Contract API declares 2 security schemes for authenticating requests. It accepts HTTP bearer tokens (JWT) (bearerAuth). An API key is passed in the header as Authorization (tokenAuth). By default, every request must be authenticated.

  • bearerAuth — Authentication is done via access tokens (JWTs). See the [API authentication doc](/api/getting-started/authentication) for more information.
  • tokenAuth — Token-based authentication with required prefix "Token"

Paths & Operations 6

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

Payment Contract 6
GET
/payment_contracts
List Payment Contracts
payment_contracts_list 5 params → 200429
POST
/payment_contracts
Create a Payment Contract
payment_contracts_create body → 201429
GET
/payment_contracts/{contract_id}
Get a Payment Contract
payment_contracts_retrieve 2 params → 200429
PUT
/payment_contracts/{contract_id}
Replace a Payment Contract
payment_contracts_update 2 params body → 200429
PATCH
/payment_contracts/{contract_id}
Update a Payment Contract
payment_contracts_partial_update 2 params body → 200429
DELETE
/payment_contracts/{contract_id}
Delete a Payment Contract
payment_contracts_destroy 2 params → 204429

Schemas 20

The contract defines 20 schemas that model the data the API accepts and returns. The most detailed are Seller (36 properties), Buyer (35 properties), LegalEntity (13 properties), Contract (12 properties). Each schema is shown below with its type and property counts.

NullEnum
DefaultFlexiblePaymentStrategyEnum
string
PatchedContractRequest
object
Serializer for Contract
8 properties
CollectionDayPreferenceEnum
string
ContractRequest
object
Serializer for Contract
8 properties 2 required
BlankEnum
Type7a8Enum
string
License
object
Licenses Serializer
8 properties 3 required
LegalEntity
object
Serializer for LegalEntity
13 properties 1 required
ContractStats
object
Serializer for CompanyStats
10 properties
PreferredPaymentProgramEnum
string
LicenseTypeEnum
string
Seller
object
Used to serialize seller data (a seller is a company where type = seller)
36 properties 10 required
VerificationStatusEnum
string
Contract
object
Serializer for Contract
12 properties 6 required
DefaultPaymentProgramEnum
string
StatusEnum
string
PaginatedContractList
object
4 properties 2 required
State
object
State Serializer
2 properties 2 required
Buyer
object
Used to serialize buyer data (a buyer is a company where type = buyer)
35 properties 9 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

leaflink-payment-contract-api-openapi.yml Raw ↑

Other APIs LeafLink publishes across the network.

LeafLink Active Entry API
LeafLink Activity Entries API
LeafLink Batch API
LeafLink Batch Documents API
LeafLink Batches API
LeafLink Brand API
LeafLink Brands API
LeafLink Buyer Orders API
LeafLink Buyer Product Image API
LeafLink Chats API
LeafLink Companies API
LeafLink Company API
Where this information came from

This is an independent, third-party profile of LeafLink Payment Contract 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.