API reference / Stores
1 operation.
/api/v1/stores/{storeId}/billingHow seller fees are billed: the payment method on file, recent invoices and the fee rate.
collector.getStoreBilling()store:billing:read(API keys are coming soon)If-None-MatchX-Request-Id| Name | In | Type | About |
|---|---|---|---|
storeIdrequired | path | string (uuid) |
How seller fees are billed: the payment method, recent invoices and the fee rate.
configuredbooleanrequiredbillingReadybooleanrequiredhasCustomerbooleanrequiredpaymentMethodobject or nullrequiredbrandstring or nullrequiredlast4string or nullrequiredexpMonthinteger or nullrequiredexpYearinteger or nullrequiredinvoicesarray of objectrequiredidstringrequirednumberstring or nullrequiredstatusstring or nullrequiredamountDueCentsintegerrequiredamountPaidCentsintegerrequiredcurrencystringrequiredcreatedAtstring (date-time)requiredhostedInvoiceUrlstring (uri) or nullrequiredperiodLabelstring or nullrequiredfeeobjectrequiredbpsintegerrequiredSeller fee in basis points (100 = 1%).
minFeeCentsintegerrequiredmaxFeeCentsinteger or nullrequiredcurrencystringrequiredstoreOverridebooleanrequiredThis store has its own rate.
unauthorized: Not signed in (no session or token, or an expired one).
forbidden: Only the store’s owners and admins can do this.
not_found: Nothing at that address.
internal: Something went wrong on our side (quote the requestId).
curl 'https://collection.id/api/v1/stores/<storeId>/billing' \
-H "Authorization: Bearer $COLLECTOR_TOKEN"await collector.getStoreBilling({ path: { storeId } });