ConsumerApi

<back to all web services

VippsLoginCallbackRequest

Consumer
The following routes are available for this service:
GET/vipps/login/callback
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*


open class VippsUserInfo
{
    open var address:VippsAddress? = null
    open var birthdate:Date? = null
    open var email:String? = null
    open var emailVerified:Boolean? = null
    open var familyName:String? = null
    open var givenName:String? = null
    open var name:String? = null
    open var phoneNumber:String? = null
    open var sessionIdentifier:String? = null
    open var subjectIdentifier:String? = null
}

open class VippsAddress
{
    open var addressType:VippsAddressType? = null
    open var country:String? = null
    open var formatted:String? = null
    open var postalCode:String? = null
    open var region:String? = null
    open var streetAddress:String? = null
}

enum class VippsAddressType
{
    Home,
    Work,
    Other,
}

Kotlin VippsLoginCallbackRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + OTHER

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /vipps/login/callback HTTP/1.1 
Host: unstable-consumer-api.brovs.com 
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"vippsUserInfo":{"address":{"addressType":"Home","country":"String","formatted":"String","postalCode":"String","region":"String","streetAddress":"String"},"birthdate":"0001-01-01T00:00:00.0000000+00:00","email":"String","emailVerified":false,"familyName":"String","givenName":"String","name":"String","phoneNumber":"String","sessionIdentifier":"String","subjectIdentifier":"String"},"nextRelativeUrl":"String"}