PaydayAPI
API reference · OTC

Send a signed OTC transaction

POSThttps://dev.payday.direct/api/v1/otc/send

Takes a transaction from the routes above after the wallet signed it, and sends it with a test run first. Only locker transactions are taken.

Needs an API key in Authorization: Bearer or X-API-Key. Authentication

Body

signedTxstringrequired
The transaction from one of the routes above, signed by the wallet, base64

Responses

200OK
400Refused; nothing to sign
401Missing or invalid key
429Over the limit. Retry-After says when to try again.

Response fields

okboolean
sigstring
The transaction signature