POST
/
widgets
/
payment
/
sessions
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"
}'
{
  "session": {
    "flow": "select-for-deposit",
    "url": "https://payment.enterprise.uphold.com/",
    "token": "GEbRxBN...edjnXbL"
  }
}

Authorizations

Authorization
string
header
required

OAuth 2.0

Body

application/json
flow
enum<string>
required

The flow of the payment widget session.

Available options:
select-for-deposit

Response

201
application/json
Session created.
session
object
required