cURL
Create Select for Deposit Session
curl --request POST \ --url https://api.enterprise.sandbox.uphold.com/widgets/payment/sessions \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "flow": "select-for-deposit" } '
201
Select for Deposit Session Created
{ "session": { "flow": "select-for-deposit", "url": "https://payment.enterprise.uphold.com/", "token": "GEbRxBN...edjnXbL" }}
Create a new session for the payment widget.
OAuth 2.0
The flow of the payment widget session.
select-for-deposit
Session created.
Show child attributes
authorize
select-for-withdrawal
The URL of the widget session that should be opened.
The token identifying the authenticated user.
Additional data associated with the session.