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 signe…
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 id…
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 signe…
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