marketplace
POST /v1/marketplace/vendor/payout-methods/{method_id}
Show that the destination belongs to you.
Autenticazione
Invia una chiave API come bearer token. Questo endpoint non specifica un permesso specifico nella specifica, quindi assegna alla tua chiave i permessi minimi necessari e verifica la risposta invece di fare supposizioni.
Questo endpoint non richiede alcun ID organizzazione. La tua chiave identifica già l'organizzazione a cui appartiene e la risposta è limitata ad essa.
Provalo
Sostituisci qualsiasi elemento tra parentesi angolari con i tuoi valori e il segnaposto key con una chiave dalla tua dashboard.
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> }'Hai effettuato l'accesso? La console API nella tua dashboard inserisce il tuo ID organizzazione reale e la tua chiave personale, ed esegue la richiesta sull'API live in modo da poter vedere la risposta effettiva. Apri questo endpoint nella console API
Dettagli
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.
Parametri
| Nome | Tipo | Obbligatorio | Che cos'è |
|---|---|---|---|
method_id (path) | string | Sì | — |
Corpo della richiesta
| Nome | Tipo | Obbligatorio | Che cos'è |
|---|---|---|---|
proof_kind | MarketplacePayoutProofKind | Sì | 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_id | string | No | Required when the proof is a document. |
proof_reference | string | No | Required for every non-document proof — the signed message, the transaction, or the account to check. |
Risposta
| Nome | Tipo | Obbligatorio | Che cos'è |
|---|---|---|---|
id | string | Sì | — |
rail | string | Sì | — |
rail_name | string | Sì | — |
destination | string | Sì | ⛔ **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. |
network | string | Sì | ⛔ 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… |
label | string | Sì | — |
state | MarketplacePayoutMethodState | Sì | 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_kind | MarketplacePayoutProofKind | Sì | 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_reason | string | No | — |
is_default | boolean | Sì | — |
verified_at | string | No | — |
hold_until | string | No | 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_kinds | MarketplacePayoutProofKind[] | Sì | — |
Errori che questo endpoint può restituire
401 · 404 · 422