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

Response

201
application/json

Session created.

The response is of type object.