PUT
/
api
/
checkout
/
v2
/
payment_session
curl --request PUT \
  --url https://api.sprintcheckout.com/api/checkout/v2/payment_session \
  --header 'Content-Type: application/json' \
  --header 'X-SC-ApiKey: <x-sc-apikey>' \
  --data '{
  "sessionId": "<string>",
  "orderId": "<string>",
  "concept": "<string>",
  "amount": 100.5,
  "minAmount": 100.5,
  "editable": true,
  "currency": "USD",
  "successUrl": "<string>",
  "failUrl": "<string>",
  "cancelUrl": "<string>"
}'
{
  "sessionId": "<string>",
  "redirectUrl": "<string>"
}

Headers

X-SC-ApiKey
string
required

Body

application/json

Response

200
application/json
Payment session updated

The response is of type object.