post
https://{environment}.masspay.io/{VERSION}/payout//widget-session
This POST endpoint creates a session token for the MassPay transfer widget, which you embed in your own website so your user can send a payout from the wallets of the payee in the URL Path.
Call it from your server each time the widget is opened, then pass the returned token to the widget iframe (https://clients.masspay.io/v2/widget/transfer) with postMessage. The widget uses the token for every step of the transfer, so your API credentials never reach the browser.
The token is valid for 30 minutes and ends after one completed transfer. It works only for this payee under your account.
See the transfer widget guide for embedding the widget, its messages and events.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…