agency-invoicing

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

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

כל נקודות הקצה מסוג agency-invoicing

כל תיעוד המפתחים

אימות

נקודת קצה זו היא ציבורית. היא אינה דורשת שורת פרטי זיהוי ואינה דורשת ארגון – זהו המידע שאתרי השיווק ומנועי התשובות מבוססי ה-AI שלנו קוראים.

נקודת קצה זו אינה דורשת מזהה ארגון. המפתח שלך כבר מזהה את הארגון שאליו הוא שייך, והתגובה מוגבלת אליו בלבד.

נסה זאת

החלף כל דבר בסוגריים זוויתיים בערכים משלך, ואת מציין מיקום המפתח במפתח מלוח הבקרה שלך.

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

מחובר? קונסולת ה-API בלוח הבקרה שלך מזינה את מזהה הארגון האמיתי שלך ואת המפתח שלך, ומריצה את הבקשה מול ה-API הפיזי כך שתוכל לראות את התגובה בפועל. פתח נקודת קצה זו במסוף ה-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