Session
Update a session.
put/v1/session/{SessionId}
Request
- Base URLhttps://api.sandbox.withreach.com
- URLhttps://api.sandbox.withreach.com/v1/session/{SessionId}
- AuthHTTP basic
Path parameters
SessionIdstring uuid required
Example:f04c2d83-11fa-405b-b6c3-c74559fd8e61
Session ID of the session to be updated
Request body
Example request
{
"CompleteUrl": "https://example.org/return, https://example.org/return?param=12345&hello=world, https://example.org/return/{SessionId}, https://example.org/{SessionId}/return, https://example.org/return?SessionId={SessionId}",
"CancelUrl": "https://example.org/return, https://example.org/return?param=12345&hello=world, https://example.org/return/{SessionId}, https://example.org/{SessionId}/return, https://example.org/return?SessionId={SessionId}",
"Order": {
"Payment": {
"Method": "VISA, IDEAL, BANK",
"ReturnUrl": "https://example.org/return, https://example.org/return?param=12345&hello=world, https://example.org/return/{SessionId}, https://example.org/{SessionId}/return, https://example.org/return?SessionId={SessionId}",
"Online": {
"Locale": "en-us"
}
}
}
}Response
Operation successful
Example response
{
"CompleteUrl": "https://example.org/return, https://example.org/return?param=12345&hello=world, https://example.org/return/{SessionId}, https://example.org/{SessionId}/return, https://example.org/return?SessionId={SessionId}",
"CancelUrl": "https://example.org/return, https://example.org/return?param=12345&hello=world, https://example.org/return/{SessionId}, https://example.org/{SessionId}/return, https://example.org/return?SessionId={SessionId}",
"Order": {
"Payment": {
"Method": "VISA, IDEAL, BANK",
"ReturnUrl": "https://example.org/return, https://example.org/return?param=12345&hello=world, https://example.org/return/{SessionId}, https://example.org/{SessionId}/return, https://example.org/return?SessionId={SessionId}",
"Online": {
"Locale": "en-us"
}
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.