cURL
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>" }
Payment session updated
The response is of type object.
object