Session
Create a new Session
post/v1/session
Request
- Base URLhttps://api.sandbox.withreach.com
- URLhttps://api.sandbox.withreach.com/v1/session
- AuthHTTP basic
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.