agency-invoicing

POST /v1/agency-invoicing/portal/{token}/checkout

Start a payment on the AGENCY's own gateway. Unauthenticated.

ሁሉም የ agency-invoicing ማጠናቀቂያ ነጥቦች

ማረጋገጫ

ይህ ማቆሚያ (endpoint)ይፋዊ ነው። ምንም ምስክርነት (credential) ወይም ድርጅት አይወስድም — የራሳችን የግብይት ጣቢያ እና የAI መልስ ሞተሮች የሚያነቡት ነው።

ይህ ኤንድፖይ መክፈቻ (endpoint) የድርጅት መታወቂያ (organisation id) አይወስድም። የእርስዎ ቁልፍ (key) እሱ የሚመለከተውን ድርጅት አስቀድሞ ይለያል፣ እና ምላሹም ለዚሁ የተወሰነ ነው።

ሞክሩት

በቅንፍ ውስጥ ያለውን ማንኛውንም ነገር በራስዎ እሴቶች ይተኩ፣ እና ቁልፍ ቦታ ያዢውን ከዳሽቦርድዎ በመጣ ቁልፍ ይተኩ።

curl -X POST https://api.zinndigital.com/v1/agency-invoicing/portal/{token}/checkout \
  -H "Content-Type: application/json" \
  -d '{  }'

ገብተዋል? የመቆጣጠሪያ ማዕከልዎ ውስጥ ያለው የኤፒአይ ኮንሶል ትክክለኛውን የድርጅት መታወቂያዎን እና የራስዎን ቁልፍ ይሞላል፣ እና ትክክለኛውን ምላሽ ማየት እንዲችሉ ጥያቄውን በቀጥታ ከሚሰራው ኤፒአይ ጋር ያካሂደዋል። ይህን ኤንድፖይንት በAPI ኮንሶል ውስጥ ይክፈቱ

ዝርዝሮች

⛔⛔ The money settles into the **agency's** merchant account and never touches Zinn®'s balance. An agency with no connected gateway gets a `409` — there is no fallback, because there is no relationship under which we could take money for a document our name is nowhere near. Returns a `client_token` for a browser SDK, a `redirect_url` for an approval or hosted-invoice rail, or a completed capture.

መለኪያዎች

ስምዓይነትየሚያስፈልግምንነቱ
token (path)stringአዎ

የጥያቄ አካል

ስምዓይነትየሚያስፈልግምንነቱ
providerstringአይWhich of the agency's connected gateways to use. Their default when omitted.

ምላሽ

ስምዓይነትየሚያስፈልግምንነቱ
statusstringአዎ`captured` when the rail settled synchronously, `pending` for a crypto invoice or an unconfirmed intent, `requires_action` for 3-D Secure.
provider_codestringአይ
client_tokenstringአይA short-lived client-side credential for the gateway's browser SDK. ⛔ Never persisted anywhere.
redirect_urlstringአይWhere to send the payer for rails that use an approval or hosted page.
action_kindstring<authenticate, approve, pay, add_payment_method>አይ
amount_minorintegerአዎ
currencystringአዎ

ይህ ማብቂያ ሊመልሳቸው የሚችሉ ስህተቶች

404 · 409 · 429 · 503