Core Concepts

The core entities in the Lumanu Payments API and every endpoint available for each one


Workspaces

A workspace represents a dedicated payment environment for a Buyer within your platform. The "Buyer" can be either:

  • Your end client (when your platform is not in the money flow)
  • Your platform's business (when your platform is in the money flow)

Each workspace:

  • Has a dedicated Lumanu Wallet with its own account & routing number
  • Maintains separate funds, vendor lists, and payment workflows
  • Has its own set of financial controls, approval workflows, and security settings
  • Supports multiple projects and user roles
  • Prevents commingling of funds between different buyers
MethodEndpointDescription
GET/workspaceList Workspaces
GET/workspace/searchSearch Workspaces by email, Lumanu ID or domain
GET/workspace/{id}Get Workspace
POST/workspace/onboarding-inviteCreate Workspace Onboarding Invite
PATCH/workspace/{id}Update Workspace
POST/workspace/{id}/webhook-subscriptionSubscribe to Workspace Webhooks

Use Create Workspace Onboarding Invite to send a brand a self-serve link where they set up their own workspace. See Platform partner onboarding flow for the full flow.



Custom Fields

Custom fields add your own fields to a workspace's payables, such as a campaign ID, cost center or PO reference. You can create, update and delete them through the API. Each custom field has a label, a type (Text, LocalDate, Dropdown or File) and a required flag. Responses return the type in lowercase: text, local_date, dropdown or file. Text fields can also be unique, and Dropdown fields take a list of dropdown_options.

Custom fields belong to one workspace. To use the same field across all your workspaces, for example a campaign-id on every payable, create the same custom field in each workspace. When you create a payable, pass the values in custom_fields, matched to each custom field by label.

MethodEndpointDescription
GET/workspace/{id}/custom-field-policyGet Custom Fields
POST/workspace/{id}/custom-field-policyCreate Custom Field
PUT/workspace/{id}/custom-field-policy/{policyId}Update Custom Field
DELETE/workspace/{id}/custom-field-policy/{policyId}Delete Custom Field

When you update a Dropdown custom field, send the full list of options you want to keep. Include the id of each existing option you keep, leave out id for new options, and any existing option you leave out is deleted.



Workspace Members

Workspace members are the users who can sign in to a workspace. You can invite a user by email and assign their roles in role_system_ids. The roles are organization_owner (Workspace Admin), payment_admin, payment_approver, payment_payor, payment_collaborator, payment_viewer, project_manager, organization_member and organization_guest. List Roles returns the same list.

MethodEndpointDescription
POST/workspace/{id}/memberInvite Workspace Member
GET/roleList Roles


Account/Wallet

Each workspace has an account associated with it called a wallet account. This is the account that can be used to send funds (in the case of a buyer) or receive funds (in the case of a vendor). The wallet has a balance that can be queried, and tracks debit and credit transactions.

MethodEndpointDescription
GET/workspace/{id}/walletGet Workspace Wallet
GET/workspace/{id}/wallet/transactionList Wallet Transactions
GET/workspace/{id}/wallet/depositList Unlinked Deposits
POST/workspace/{id}/wallet/depositCreate Test Deposit (Sandbox Only)

Payables

Payables represent individual payment obligations to vendors. Their status field progresses through the following values:

  • null - Initial state when created
  • unapproved - Was approved, now has been moved back to the original state
  • approved - After approval, ready for funding
  • will_pay - Funded and scheduled for payment
  • paid - The payment has been made to the vendor
  • canceled - Payment canceled
📘

Coming: more detailed status values

A future API version will change status to return the detailed values below, such as awaiting_payee when the vendor still needs to finish signup. Until then, status works exactly as it does today, and the change only applies when you choose to upgrade.

You can preview the new values now in the payable_status field. It will be removed once status carries them, so keep your code on status. We'll announce the new version and timeline in the changelog before anything changes.

payable_statusMeaning
not_approvedAwaiting approval
approvedApproved, not yet scheduled or paid
scheduledApproved and scheduled for payment
awaiting_paymentFunded with an invoice that hasn't been paid yet
awaiting_payeeFunds are held, waiting for the vendor to finish signup or tax setup
paidThe payment has been made
canceledCanceled by the payer or the vendor
reversedThe payment was made, then reversed
MethodEndpointDescription
GET/payable/{id}Get Single Payable
GET/payableGet Payables
POST/payableCreate Payable
POST/payable/{id}/approveApprove Payable
POST/fundingPay approved payables with Create Funding
POST/payable/{id}/unapproveUn-approve Payable
POST/payable/{id}/cancelCancel Payable
GET/payable/{id}/invoice-pdfGet an invoice PDF for a payable

Paying payables

There is no separate endpoint to pay a payable. Approve the payables, then call Create Funding (POST /funding) with their IDs in payable_ids. Choose how they're paid with method:

methodUse it whenRequired fieldsWhat happens
balanceThe workspace wallet already holds enough fundsworkspace_id, payable_idsLumanu pays the payables from the wallet's available balance, or returns 400 NOT_ENOUGH_FUNDS. Each moves to will_pay, then paid, and payable.paid fires when the payout is made.
invoiceYou want one invoice for exactly these payablesworkspace_id, payable_ids, description, recipient_email, bill_to, company_name, company_address_oneLumanu emails an invoice for their total. The payables are paid once the bank transfer arrives and you link it with Link Funding Payment. See Post-funding flow.

With payable_ids, Lumanu works out the amount from the payables, so don't send amount. Create Funding doesn't check approval, so approve payables before you fund them. To add money to the wallet before you pay anyone, see Funding below.

❗️

Two-factor authentication is required if your users pay payables from inside your app. See Getting Production Access.


Projects

Projects are containers within workspaces that help organize payments, manage budgets, and track spend at a more granular level. You can list, read and create projects through the API, and assign a payable to a project with project_id when you create it. Updating, archiving and deleting projects are not available through the API.

Advanced project features designed for enterprises are available with an enterprise contract with Lumanu. This includes Project Wallets, which enable strict segregation of funds between projects (e.g., for different POs or departments) to support enterprise financial control requirements.

MethodEndpointDescription
GET/workspace/{id}/projectList Projects
GET/workspace/{id}/project/{projectId}Get Project Details
POST/workspace/{id}/projectCreate Project

Funding

Funding adds money to a workspace's wallet. You create a funding invoice, your customer pays it by bank transfer, and you link the payment to the invoice. The money is then in the wallet, ready to pay approved payables with method: "balance" (see Paying payables). See Pre-funding flow for the full sequence.

Creating a funding invoice

Call Create Funding (POST /funding) with method: "invoice", the amount to add, and the invoice details. Leave out payable_ids.

FieldRequiredNotes
workspace_idYesThe workspace whose wallet receives the funds
methodYes"invoice"
amountYesIn the smallest currency unit, for example 500000 for $5,000.00
descriptionYesShown on the invoice
recipient_emailYesLumanu emails the invoice to this address, such as your customer's AP team
bill_toYesBilling contact name
company_nameYesCompany being billed
company_address_oneYesCompany billing address
amount_denominationNoDefaults to the workspace's currency
due_dateNoISO 8601 timestamp
po_numberNoPurchase order number shown on the invoice

Managing funding invoices

Funding invoices can be managed entirely via the API, so your customers don't have to open Lumanu to top up:

  • For USD, the invoice lists account and routing numbers for ACH or wire. The payment instructions name Lumanu's receiving account, since that's where the funds land.
  • If Lumanu has set up your application with your branding, the invoice PDF and email show your logo and name in the header, with a small "Powered by Lumanu" underneath.
  • Get Funding Invoice PDF URL gives you the PDF to show inside your app.
  • Lumanu adds its usage fee to the invoice just after creating it, so the create response shows the amount before the fee. Get the funding again to see the total due.
  • When a payment arrives, it has to be linked to its invoice before it counts as funded: call List Unlinked Deposits, then Link Funding Payment. The payment must equal the funding's amount exactly, including the fee and any tax, or the link returns 400 AMOUNTS_DO_NOT_MATCH. Until it's linked, a payment raises the wallet's balance but not its available_balance. If you don't do this, Lumanu emails the customer a suggested match with a link to apply it, which takes them into Lumanu.
  • Cancel Funding cancels an invoice you no longer need.

A funding's status is one of:

  • opened - The funding invoice has been created but no transfers have been initiated. Balance fundings stay opened.
  • processing - One or more transfers are in progress
  • partially_funded - Some transfers have completed but the total is less than the funding amount
  • funded - Linked payments cover the full funding amount
  • canceled - The funding has been canceled
MethodEndpointDescription
GET/funding/{id}Get Single Funding
GET/fundingGet Fundings
POST/fundingCreate Funding
POST/funding/{id}/link-depositLink Funding Payment
POST/funding/{id}/cancelCancel Funding
GET/funding/{id}/pdf-urlGet Funding Invoice PDF URL

Partners/Vendors

Vendors are the payees (typically creators/influencers) who receive payments through the Lumanu network. Key aspects:

  • Vendors can be invited via email or by creating a payout.
  • Each vendor undergoes automated compliance checks including:
    • Personal ID verification
    • Phone verification
    • Business information and TIN checks
    • OFAC and watchlist screening
    • Bank account validation
  • Special verification flows exist for talent management entities
  • Once a vendor is onboarded to Lumanu, they will have a unique Lumanu ID that you can use to identify them in the future

A partner record represents the relationship between a Buyer workspace and a Vendor. It shows the status of the vendor's onboarding and whether they are payable. Its status field can have the following values:

  • missing_metadata_file_us_taxes - Partner hasn't indicated whether they file US taxes
  • in_process - Tax form verification is in progress (W9 pending/mismatch/resubmit)
  • awaiting_w9_submission - Waiting for W9 form submission (US tax filers)
  • completed_w9 - W9 has been verified
  • awaiting_w8_submission - Waiting for W8 form submission (non-US entities)
  • w8_submitted - W8 form has been submitted
MethodEndpointDescription
GET/workspace/{id}/partnerList Workspace Partners
GET/workspace/{id}/partner/{partnerId}Get Partner Details
GET/workspace/{id}/partner/inviteList Partner Invites
POST/workspace/{id}/partner/inviteInvite Partners to Workspace
GET/workspace/{id}/partner/invite/{inviteId}Get Partner Invite Details

User

Endpoints for retrieving information about the currently authenticated user.

MethodEndpointDescription
GET/user/currentGet Current User
GET/user/current/workspacesGet Current User's Workspaces


Did this page help you?