reseller

PATCH /v1/reseller/program

Change your own wholesale settings.

Dukkan reseller wuraren ƙarshe

Dukan takardun mai haɓakawa

Tabbatar da Asali

Aika maɓallin API azaman alamar ɗauka (bearer token). Dole ne maɓallin ya kasance yana da izinin reseller.manage; idan babu shi, za a ƙi amfani da maɓallin tare da lambar 403, ba 404 ba.

Inda ID ɗin kungiyar ku ke zuwa

Wannan mahadar ta na daukar org_id a matsayin sigar tambaya. Bar shi kuma kiran zai shafi daukacin rukunin haya naka; aika shi don takaita kiran zuwa kungiya daya tak.

Ana samun lambar kungiyar ku a kan shafin maɓallan API a cikin madanninku, kusa da maɓallin kansa. Shi ne lambar da ta dace a kowane kiran da kuka yi.

Gwada

May gurbin komai da ke cikin kusurwa da ƙimar ka, kuma may gurbin maballi da maballi daga allon sarrafa ka.

curl -X PATCH https://api.zinndigital.com/v1/reseller/program \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{  }'

An shiga? Na'urar sarrafa API da ke cikin sashin kulawarka tana cika ainihin lambar ƙungiyarka da maɓallinka naka, sannan tana gudanar da buƙatar a kan ainihin API don haka zaka iya ganin amsar gaske. Buɗe wannan tashar a cikin na'urar kula da API

Bayani

Billing anchor day and the default markup applied to plans you have not priced explicitly. ⛔ status is not settable here — approving yourself as a reseller is not a self-service act. Requires reseller.manage.

Sigogi

SunaNau'iAna buƙataAbin da yake
org_id (query)UuidA'aWhich of your organizations this applies to. Required only when you belong to more than one here — otherwise it is inferred, and an id outside your direct memberships is a 404…

Jikin buƙata

SunaNau'iAna buƙataAbin da yake
billing_dayintegerA'a
default_markup_bpsintegerA'a
bills_clients_directlybooleanA'aTurn on to invoice your own clients yourself — we stop issuing to them from the next run. Nothing already issued changes: an invoice is immutable. Turning it back off resumes…
collect_on_platform_gatewaybooleanA'aTurn OFF to refuse your clients' payments rather than let them settle on Zinn®'s account while you have no gateway connected. Your clients then cannot buy until you connect one;…

Martani

SunaNau'iAna buƙataAbin da yake
idUuidEhUUIDv7 identifier — sortable by creation time (docs/02 §8).
statusstring<pending, active, suspended>EhSet by Zinn®, never by the reseller. pending can price but not sell.
billing_dayintegerEhDay of month the wholesale statement closes. Capped at 28 so every month has one — an anchor that moves double-bills at the seam.
default_markup_bpsintegerEhBasis points added to Zinn®'s list price for plans you have not priced explicitly. 0 means "sell at list", which is not zero margin — you still keep the wholesale discount.
legal_entity_idUuid | nullA'aYour own issuing entity for invoices to your clients.
has_invoicing_entitybooleanEhWhether we hold the company details your client invoices are issued under. False means you cannot invoice a client yet.
can_sellbooleanEh
bills_clients_directlybooleanA'aWhether you invoice your own clients outside our system. When true we raise no document to them at all, and has_invoicing_entity being false is then a finished state rather…
collect_on_platform_gatewaybooleanA'aWhether your clients may check out on Zinn®'s payment account when you have usable gateway connected of your own. true (the default) means a client is never blocked by your…
created_atstringEh

Kuskuren da wannan matsaya za ta iya maido wa

401 · 403 · 404 · 422 · 429