agency-invoicing

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

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

ყველა agency-invoicing ენდპოინტი

ავტორიზაცია

ეს ენდპოინტი საჯაროა. ის არ მოითხოვს არც რამედას და არც ორგანიზაციას — ეს არის ის, რასაც ჩვენი მარკეტინგული საიტი და AI პასუხების ძრავები კითხულობენ.

ეს ბოლო წერტილი არ იღებს ორგანიზაციის იდენტიფიკატორს. თქვენი გასაღები უკვე აიდენტიფიცირებს იმ ორგანიზაციას, რომელსაც ის ეკუთვნის, და პასუხი შემოფარგლულია მისით.

სცადეთ

შეSubstituted any value inside angle brackets with your own and the key placeholder with a key from your dashboard.

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

შესული ხართ? თქვენი სამართავ პანელში არსებული API კონსოლი ავტომატურად ამატებს თქვენი რეალური ორგანიზაციის ID-სა და საკუთარ გასაღებს და ატარებს მოთხოვნას ცოცხალ API-ს წინააღმდეგ, რათა იხილოთ რეალური პასუხი. გაAღით ეს ენდპოინტი 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