agency-invoicing

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

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

Tüm agency-invoicing uç noktaları

Kimlik Doğrulama

Bu uç nokta arakatmana açıktır. Kimlik bilgisi ve organizasyon gerektirmez; kendi pazarlama sitemizin ve yapay zeka yanıt motorlarımızın okuduğu yerdir.

Bu uç nokta hiçbir organizasyon kimliği almaz. Anahtarınız zaten ait olduğu organizasyonu tanımlar ve yanıt bu organizasyonla sınırlandırılır.

Dene

Köşeli parantez içindeki her şeyi kendi değerlerinizle ve anahtar yer tutucusunu panonuzdan bir anahtarla değiştirin.

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

Oturum açtınız mı? Panonuzdaki API konsolu, gerçek organizasyon kimliğinizi ve kendi anahtarınızı otomatik olarak doldurur ve isteği canlı API üzerinde çalıştırarak gerçek yanıtı görmenizi sağlar. Bu uç noktayı API konsolunda açın

Ayrıntılar

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

Parametreler

AdTürZorunluNe olduğu
token (path)stringEvet

İstek gövdesi

AdTürZorunluNe olduğu
providerstringHayırWhich of the agency's connected gateways to use. Their default when omitted.

Yanıt

AdTürZorunluNe olduğu
statusstringEvet`captured` when the rail settled synchronously, `pending` for a crypto invoice or an unconfirmed intent, `requires_action` for 3-D Secure.
provider_codestringHayır
client_tokenstringHayırA short-lived client-side credential for the gateway's browser SDK. ⛔ Never persisted anywhere.
redirect_urlstringHayırWhere to send the payer for rails that use an approval or hosted page.
action_kindstring<authenticate, approve, pay, add_payment_method>Hayır
amount_minorintegerEvet
currencystringEvet

Bu uç noktanın dönderebileceği hatalar

404 · 409 · 429 · 503