Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

Crossly Payouts billing

БесплатноБез исполняемых скриптовНе проверен

Read and act on a Crossly seller's money through the API, safely. Payouts (Stripe Connect status, GET /v1/payout/wallet balances, POST /v1/payout/payouts…

crosslyот crossly73 установки в других каталогах

Об этом скилле

Payouts, billing and Crossly Funding

These endpoints move or commit a seller's money. Most of them are owner-only by design: the scopes that pay out, upgrade a plan or borrow can only be held by the seller's own personal access tokens, never by a third-party OAuth app, and several return a URL a person must complete instead of acting on their own.

Scope Third-party apps Allows
accounts:read yes Payout account status, payout wallet, identity status
listings:read yes Net-payout estimates (/v1/payout/estimate, /compare, /gross-for-net)
inventory:read yes Plan usage (/v1/billing/usage) and app allowances
payouts:write never Payout onboarding and identity links, pay out now, payout schedule
billing:write never Plan invoices and upgrade checkout (never downgrade or cancel)
funding:read yes Offer, line, draws, repayments, statements, controls, draw quotes
funding:write never Apply, draw, repay, auto-repay, spend controls, pay with funding, pool staking
funding:approve never Approve or reject held draws (never your own)

GET /v1/billing/plans needs no scope. Every route here is per store: send X-Storefront-Id (SDK { storefrontId }) or it applies to the default store; a teammate's token also needs that store's billing permission. Auth: crossly-api-setup. Errors, idempotency and rate limits: crossly-api-conventions.

import { createClient } from '@crossly/sdk';
const crossly = createClient({ pat: process.env.CROSSLY_PAT! });

Setup

  1. Create a free Crossly account: https://crossly.net/register
  2. Create a personal access token at https://crossly.net/settings/api/tokens/new (guide: https://crossly.net/guides/personal-access-tokens). Use a crossly_pat_test_ token against the sandbox while building.
  3. Export it as CROSSLY_PAT and send it as Authorization: Bearer $CROSSLY_PAT to https://crossly.net/api/v1/*. Full docs: https://crossly.net/docs

Payouts (Crossly-marketplace sales)

Payouts cover sales on Crossly's own marketplace, paid through the seller's Stripe Connect account. Other marketplaces pay sellers themselves.

Route SDK Scope
GET /v1/payout/connect payout.connectStatus() accounts:read
POST /v1/payout/connect/onboard payout.connectOnboard({ country }) payouts:write
GET /v1/payouts/identity payout.identity({ fresh }) accounts:read
POST /v1/payouts/identity/link payout.identityLink({ country }) payouts:write
GET /v1/payout/wallet payout.wallet() accounts:read
POST /v1/payout/payouts payout.createPayout({ method, amountCents, destination, idempotencyKey }) payouts:write
PUT /v1/payout/schedule payout.setSchedule({ interval, weeklyAnchor, monthlyAnchor }) payouts:write
  • Status: connect.status is not_started (with defaultCountry), pending, active, restricted or payouts_unavailable; only active can be paid. payoutsSupported: false means Stripe offers no payout path to that country. Identity status is not_started, pending, action_required (dueNow lists what to add), verified or restricted (disabledReasonText).
  • Onboarding and identity return a Stripe-hosted url that a person completes; the identity link expires in minutes, so ask for a new one instead of storing it. country (ISO alpha-2) is fixed once the account exists. Refusals: 422 connect_country_unsupported, 409 connect_country_mismatch.
  • Wallet: balance.availableCents, pendingCents, instantAvailableCents (account currency), schedule, nextPayout, instant (available, feeCents, netCents, reason), methods, payouts, transactions. connected: false before onboarding.
  • Pay out now: method: 'instant' (fee, minutes, eligible card or bank, US dollars only) or 'standard' (free, only on a manual schedule). amountCents defaults to everything eligible. Always pass idempotencyKey (<= 200 chars) so a retry is the same payout. 409 when the account can't be paid or instant is unavailable.
  • Schedule: interval manual, daily, weekly (weeklyAnchor monday..sunday) or monthly (monthlyAnchor 1-31).
const w = await crossly.payout.wallet() as { data: { connected: boolean; instant?: { available: boolean; feeCents?: number; netCents?: number } } };
if (w.data.instant?.available) {
  // Show the seller feeCents / netCents and get an explicit yes before this call.
  await crossly.payout.createPayout({ method: 'instant', idempotencyKey: crypto.randomUUID() });
}

Net-payout estimates (listings:read, no money moves): payout.estimate({ platform, priceCents }), payout.compare({ priceCents, platforms? }), payout.grossForNet({ platform, netCents }), each also taking weightOz, shippingCents, shippingPaidBy (buyer | seller). Answers carry `gros

Полный SKILL.md на ClawHub

Установить Crossly Payouts billing в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл Crossly Payouts billing?

Read and act on a Crossly seller's money through the API, safely. Payouts (Stripe Connect status, GET /v1/payout/wallet balances, POST /v1/payout/payouts instant or standard, PUT /v1/payout/schedule, identity verification links, net-payout estimates per platform), billing and plans (GET /v1/billing/plans, /usage, /invoices, POST /v1/billing/upgrade checkout URL; 402 plan_limit_reached and overage_consent_required), and Crossly Funding (offer, apply, draw quotes and draws, repay, auto-repay, spend controls, approvals, pay labels and fees with restricted funding CBX). Covers the payouts:write, billing:write, funding:read/write/approve scopes and which ones third-party apps can never hold. Use when building seller finance dashboards, payout automation, plan-limit handling or Crossly Funding tooling.

Как установить скилл Crossly Payouts billing?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл Crossly Payouts billing запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить Crossly Payouts billing с