FIBUdataServiceStack

<back to all web services

GetSumUpTokenRequest

The following routes are available for this service:
GET, POST/fibuscan/Onlinehandel/GetSumUpToken
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class GetSumUpTokenRequest
    {
        public String SumUp_client_secret = null;
        public String SumUp_Client_id = null;
        public String code = null;
        public Long Bankid = null;
        public Boolean isRefreshToken = null;
        
        public String getSumUpClientSecret() { return SumUp_client_secret; }
        public GetSumUpTokenRequest setSumUpClientSecret(String value) { this.SumUp_client_secret = value; return this; }
        public String getSumUpClientId() { return SumUp_Client_id; }
        public GetSumUpTokenRequest setSumUpClientId(String value) { this.SumUp_Client_id = value; return this; }
        public String getCode() { return code; }
        public GetSumUpTokenRequest setCode(String value) { this.code = value; return this; }
        public Long getBankid() { return Bankid; }
        public GetSumUpTokenRequest setBankid(Long value) { this.Bankid = value; return this; }
        public Boolean getIsRefreshToken() { return isRefreshToken; }
        public GetSumUpTokenRequest setIsRefreshToken(Boolean value) { this.isRefreshToken = value; return this; }
    }

    public static class GetSumUpTokenResponse
    {
        public String refresh_token = null;
        
        public String getRefreshToken() { return refresh_token; }
        public GetSumUpTokenResponse setRefreshToken(String value) { this.refresh_token = value; return this; }
    }

}

Java GetSumUpTokenRequest DTOs

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

HTTP + XML

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

POST /fibuscan/Onlinehandel/GetSumUpToken HTTP/1.1 
Host: ws4.fibudata.net 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<GetSumUpTokenRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FIBUdataServiceStack.ServiceModel.Messages">
  <Bankid>0</Bankid>
  <SumUp_Client_id>String</SumUp_Client_id>
  <SumUp_client_secret>String</SumUp_client_secret>
  <code>String</code>
  <isRefreshToken>false</isRefreshToken>
</GetSumUpTokenRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<GetSumUpTokenResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FIBUdataServiceStack.ServiceModel.Messages">
  <refresh_token>String</refresh_token>
</GetSumUpTokenResponse>