platform-transfers

POST /v1/platform-transfers/{transferId}/pay

Pay for a transfer and queue it for a specialist.

すべての platform-transfers エンドポイント

認証

ベアラー トークンとして API キーを送信します。キーには billing.payment.manage 権限が付与されている必要があります。権限のないキーは 404 ではなく 403 で拒否されます。

このエンドポイントは組織IDを受け付けません。お使いのキーによって所属する組織がすでに特定されており、レスポンスはその組織にスコープされます。

試してみる

アングルブラケット内のすべてをご自身の値に置き換え、キーのプレースホルダーをご利用中のダッシュボードのキーに置き換えてください。

curl -X POST https://api.zinndigital.com/v1/platform-transfers/{transferId}/pay \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{  }'

ログインしていますか?ダッシュボード内のAPIコンソールでは、実際の組織IDやお客様ご自身のキーが自動入力され、ライブAPIに対してリクエストが実行されるため、実際のレスポンスを確認することができます。 API コンソールでこのエンドポイントを開く

詳細

Charges the tier through the extras rails — wallet first, then the gateway — and moves the transfer to `queued` with its SLA set. Requires `billing.payment.manage`, because it moves money; creating the draft needs only `billing.view`. A decline returns `422` and leaves the transfer in `payment_failed`; nothing is charged and the same transfer can be paid again with another method. An organization with **no** chargeable payment method gets `422` `PAYMENT_METHOD_REQUIRED` instead — nothing was presented to a gateway, so it is not a decline and the remedy is to add a card (`docs/491` §7).

パラメータ

名前タイプ必須これがその内容です
transferId (path)stringはい

リクエスト本文

名前タイプ必須これがその内容です
currencyobjectいいえThe currency the customer was quoted in. Refused if no gateway can charge it — silently substituting the base currency would bill a different number from the one on the screen.

返信

名前タイプ必須これがその内容です
idUuidはいUUIDv7 identifier — sortable by creation time (docs/02 §8).
source_platformstringはい
source_platform_namestringいいえ
target_platformstringはい
target_platform_namestringいいえ
source_urlstringはい
target_site_idobjectいいえ
tier_codestringはい
tier_namestringいいえ
entity_count_estimateintegerいいえ
statusPlatformTransferStatusはい
status_labelstringいいえ
price_amount_minorintegerはい
price_currencystringはい
redirects_mappedbooleanいいえ
redirect_countintegerいいえ
canonicals_verifiedbooleanいいえ
sitemap_submittedbooleanいいえ
structured_data_preservedbooleanいいえ
seo_checks_completebooleanいいえ
customer_notestringいいえ
sla_due_atobjectいいえ
created_atstringはい
completed_atobjectいいえ
eventsPlatformTransferEvent[]いいえThe customer-visible trail only. Staff notes name vendors and what a job cost us, and never appear here.

このエンドポイントが返すエラー

401 · 403 · 404 · 422 · 429