platform-transfers

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

Pay for a transfer and queue it for a specialist.

Tất cả các điểm cuối platform-transfers

Xác thực

Gửi khóa API dưới dạng mã thông báo bearer. Khóa này phải có quyền billing.payment.manage; khóa không có quyền này sẽ bị từ chối với mã lỗi 403, không phải 404.

Endpoint này không nhận ID tổ chức. Khóa của bạn đã xác định tổ chức mà nó thuộc về và phản hồi được giới hạn trong phạm vi đó.

Dùng thử

Thay thế bất kỳ nội dung nào trong ngoعل (angle brackets) bằng giá trị của riêng bạn và trình giữ chỗ key bằng một key từ trang tổng quan của bạn.

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

Đã đăng nhập? Bảng điều khiển API trong trang quản lý của bạn sẽ tự điền ID tổ chức thực tế và khóa của riêng bạn, sau đó chạy yêu cầu đối với API trực tiếp để bạn có thể xem phản hồi thực tế. Mở điểm cuối này trong bảng điều khiển API

Chi tiết

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

Tham số

TênLoạiBắt buộcNội dung này là gì
transferId (path)string

Nội dung yêu cầu

TênLoạiBắt buộcNội dung này là gì
currencyobjectKhôngThe 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.

Phản hồi

TênLoạiBắt buộcNội dung này là gì
idUuidUUIDv7 identifier — sortable by creation time (docs/02 §8).
source_platformstring
source_platform_namestringKhông
target_platformstring
target_platform_namestringKhông
source_urlstring
target_site_idobjectKhông
tier_codestring
tier_namestringKhông
entity_count_estimateintegerKhông
statusPlatformTransferStatus
status_labelstringKhông
price_amount_minorinteger
price_currencystring
redirects_mappedbooleanKhông
redirect_countintegerKhông
canonicals_verifiedbooleanKhông
sitemap_submittedbooleanKhông
structured_data_preservedbooleanKhông
seo_checks_completebooleanKhông
customer_notestringKhông
sla_due_atobjectKhông
created_atstring
completed_atobjectKhông
eventsPlatformTransferEvent[]KhôngThe customer-visible trail only. Staff notes name vendors and what a job cost us, and never appear here.

Các lỗi điểm cuối này có thể trả về

401 · 403 · 404 · 422 · 429