Third Party Callback
🔁🔗 Call Back URL (Basket)
Third party must create this URL. User responses/status will be sent here by Odin VAS Connect.
| Field | Value |
|---|---|
| Name | VAS – Portal redirect |
| URL | http://<domain>/callback/ |
| Description | Redirected from Odin VAS Connect to return response code and message |
| Method | POST |
📥 Request
| Parameter | Data Type | Mandatory/Optional | Description |
|---|---|---|---|
| sStatusMessage | String | M | Status message |
| sStatusCode | String | M | Status code |
| oEcoBackObject | Object | M | Object returned to calling application in Base64 format |
Example (Request Type = 1)
http://<Publisher DOMAIN URL>?sStatusCode=<Code>&sStatusMessage=<Message>&oEcoBackObject=<Object>
🔗🔄 Call Back URL (Persistence Login)
| Field | Value |
|---|---|
| Name | VAS – Portal redirect |
| URL | http://<domain>/callback/ |
| Description | Redirected from Odin VAS Connect to return response code and message |
| Method | POST |
📩 Request
| Parameter | Data Type | Mandatory/Optional | Description |
|---|---|---|---|
| sStatusMessage | String | M | Status message |
| sStatusCode | String | M | Status code |
| sSession | Object | M | Session object for Odin user |
| sVasUserId | String | M | User id to pass in sClientCode in GetBasket call. Publisher must map this ID with their user account. |
| sTradingUserId | String | O | Odin User's ID, as per configuration |
| sName | String | M | Name of Odin User |
| sEmail | String | M | Email of Odin User |
| sRestsession | Object | O | Session for REST API |
Example (Request Type = 2)
http://<Publisher DOMAIN URL>?sStatusCode=<Code>&sStatusMessage=<Message>&sTradingUserId=<TradingUserId>&sVasUserId=<sVasUserId>&sName=<UserName>&sEmail=<UserEmail>&sSession=<Token>&sRestSession=<Token>