POST /studio/drop/{slug}/refund
POST

/v1/studio/drop/{slug}/refund

Record the creator's refund of a buyer's balance

AuthNone — works without a key

Payload

POSThttps://api.xrpl.to/v1/studio/drop/fuzzybears/refund
Path parameterValueDescription
slugA collection slug, or its identity as issuer:taxon
Body
Body fieldsas documented
{ payment_hash }
curl -X POST 'https://api.xrpl.to/v1/studio/drop/fuzzybears/refund'
No public sample for this one — copy the code and fill in your own values.

Response

No public sample for this endpoint — run the code on the right with your own values to see the response.
Shapeas documented
{ wallet, refunded_drops, balance_drops }

What it does

Record the creator's refund of a buyer's balance

Notes
The creator's refund: a validated XRP payment from the drop's creator to a wallet with a balance on it, made after the drop existed, presented once (any letter case). It takes what it paid, up to the balance, off that wallet's balance. 403 from anyone but the creator, 400 for a wallet owed nothing, 409 once used.
No key. Payments on the ledger pay for what costs money; a hidden drop's art stays off IPFS until its reveal. Open the NFT studio →
OpenAPI