Create a transfer 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
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
length between 36 and 40
^(usr_)?[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$

Token representing the payee whose wallets the widget will send from. The payee must belong to your account and be active. Accepted either as a bare UUID or prefixed with usr_; both forms reference the same user. 36 characters long, or 40 with the usr_ prefix.

Responses

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json