Type alias RestResponseAuthorizePayout

RestResponseAuthorizePayout: KatanaPerpsPayoutProgramAuthorization | EmptyObj

The response depends on how the requested program pays out:

  • Programs paid out via the v1 Escrow contract return a signed authorization, which the wallet uses to claim the payout on the escrow contract.
  • Programs paid out by direct deposit return an empty object, as the payout is deposited to the exchange on behalf of the wallet with no further action needed.