marketplace

POST /v1/marketplace/vendor/payout-methods/{method_id}

Show that the destination belongs to you.

Усі кінцеві точки marketplace

Уся документація для розробників

Автентифікація

Надішліть ключ API як маркер носія (bearer token). Ця кінцева точка не вказує конкретного дозволу в специфікації, тому надайте своєму ключу мінімально необхідні права та перевірте відповідь, замість того щоб припускати.

Цей кінцевий пункт не потребує ідентифікатора організації. Ваш ключ уже ідентифікує організацію, якій він належить, і відповідь обмежується її межами.

Спробувати

Замініть усе в кутових дужках власними значеннями, а заповнювач ключа — ключем із вашої панелі керування.

curl -X POST https://api.zinndigital.com/v1/marketplace/vendor/payout-methods/{method_id} \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{ "proof_kind": <MarketplacePayoutProofKind> }'

Увійшли в систему? Консоль API у вашій панелі керування автоматично підставляє ваш реальний ідентифікатор організації та ваш власний ключ, а також виконує запит до робочого API, щоб ви могли побачити справжню відповідь. Відкрийте цю кінцеву точку в консолі API

Деталі

docs/82 §7c's proof table, as data. What is accepted depends on the rail: a statement or letter for a bank or Payoneer, the verified account email for PayPal, and for crypto a signed message, a micro-transaction, or a self-declared address — "No document can prove wallet ownership", so which one was used is recorded rather than assumed.

Параметри

НазваТипОбов'язковеЩо це таке
method_id (path)stringТак

Тіло запиту

НазваТипОбов'язковеЩо це таке
proof_kindMarketplacePayoutProofKindТакHow ownership of the destination was shown. ⛔ Crypto is the honest exception and is recorded as one: docs/82 §7c states that no document can prove wallet ownership, so a signed…
proof_document_idstringНіRequired when the proof is a document.
proof_referencestringНіRequired for every non-document proof — the signed message, the transaction, or the account to check.

Відповідь

НазваТипОбов'язковеЩо це таке
idstringТак
railstringТак
rail_namestringТак
destinationstringТакMasked, always. Enough to recognise which account this is, never enough to reproduce it. The whole value never leaves the engine on a read path.
networkstringТак⛔ Its own field, never folded into the address. Sending USDT TRC20 to a BEP20 address loses the money irrecoverably (docs/82 §7b), so the network is part of the destination's…
labelstringТак
stateMarketplacePayoutMethodStateТакWhere one destination is in its own verification (docs/82 §7c). retired rows are kept rather than deleted — a payout that went there is explained by them.
proof_kindMarketplacePayoutProofKindТакHow ownership of the destination was shown. ⛔ Crypto is the honest exception and is recorded as one: docs/82 §7c states that no document can prove wallet ownership, so a signed…
rejection_reasonstringНі
is_defaultbooleanТак
verified_atstringНі
hold_untilstringНіdocs/82 §7c's 48-hour cooling-off on the first payout to this destination — long enough for the change notice to land, short enough that a seller who genuinely changed bank…
permitted_proof_kindsMarketplacePayoutProofKind[]Так

Помилки, які може повертати ця кінцева точка

401 · 404 · 422