agency-invoicing

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

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

সমস্ত agency-invoicing এন্ডপয়েন্ট

প্রমাণীকরণ

এই এন্ডপয়েন্টটি সর্বজনীন। এটি কোনো শংসাপত্র বা কোনো সংস্থা গ্রহণ করে না — এটি আমাদের নিজস্ব বিপণন সাইট এবং এআই উত্তর ইঞ্জিনগুলি যা পড়ে।

এই এন্ডপয়েন্টটি কোনো অর্গানাইজেশন আইডি নেয় না। আপনার কীটি ইতিমধ্যে এটি যে অর্গানাইজেশনের অন্তর্গত তা শনাক্ত করে এবং প্রতিক্রিয়াটি সেই অনুযায়ী নির্ধারিত হয়।

চেষ্টা করুন

কোণ বন্ধনীতে থাকা যেকোনো কিছু আপনার নিজস্ব মান দিয়ে এবং কী প্লেসহোল্ডারটি আপনার ড্যাশবোর্ডের একটি কী দিয়ে প্রতিস্থাপন করুন।

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

লগ ইন করা আছে? আপনার ড্যাশবোর্ডের এপিআই কনসোল আপনার আসল অর্গানাইজেশন আইডি এবং আপনার নিজের কি পূরণ করে দেয়, এবং লাইভ এপিআই-এর বিপরীতে অনুরোধটি চালায় যাতে আপনি প্রকৃত প্রতিক্রিয়া দেখতে পান। এই এন্ডপয়েন্টটি এপিআই কনসোলে খুলুন

বিবরণ

⛔⛔ 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