TicketUserServices

<back to all web services

BorgunServicesGetSingleTokenRequest

Requires Authentication
Requires the role:AdminRequires the permission:ReadData
The following routes are available for this service:
POST/borgunServices/token/singleTest 3D
BorgunServicesGetSingleTokenRequest Parameters:
NameParameterData TypeRequiredDescription
RequestbodyBorgunTokenSingleRequestNo
BorgunTokenSingleRequest Parameters:
NameParameterData TypeRequiredDescription
PANformstringNo
ExpMonthformstringNo
ExpYearformstringNo
TokenLifetimeformintNo
VerifyCardformBorgunVerifyCardRequestNo
MetadataformBorgunMetadataNo
BorgunVerifyCardRequest Parameters:
NameParameterData TypeRequiredDescription
CheckAmountformintNo
CurrencyformstringNo
CVCformstringNo
BorgunMetadata Parameters:
NameParameterData TypeRequiredDescription
PayloadformstringNo
BorgunServicesGetSingleTokenResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseformBorgunTokenSingleResponseNo
SuccessformboolNo
HttpStatusCodeformintNo
MessageformstringNo
BorgunTokenSingleResponse Parameters:
NameParameterData TypeRequiredDescription
StatusCodeformintNo
TokenformBorgunTokenSingleInfoNo
UriformstringNo
MessageformstringNo
BorgunTokenSingleInfo Parameters:
NameParameterData TypeRequiredDescription
VirtualNumberformstringNo
TokenformstringNo
PANformstringNo
ExpYearformstringNo
ExpMonthformstringNo
EnabledformboolNo
VerifyCardResultformBorgunVerifyCardResultNo
MetadataformBorgunMetadataNo
BorgunVerifyCardResult Parameters:
NameParameterData TypeRequiredDescription
TransactionIdformstringNo
ActionCodeformstringNo

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 /borgunServices/token/single HTTP/1.1 
Host: stubbur-autoupdates-live.smartnewapis.com 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<BorgunServicesGetSingleTokenRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
  <Request xmlns:d2p1="http://schemas.datacontract.org/2004/07/BorgunRPGData">
    <d2p1:ExpMonth>String</d2p1:ExpMonth>
    <d2p1:ExpYear>String</d2p1:ExpYear>
    <d2p1:Metadata>
      <d2p1:Payload>String</d2p1:Payload>
    </d2p1:Metadata>
    <d2p1:PAN>String</d2p1:PAN>
    <d2p1:TokenLifetime>0</d2p1:TokenLifetime>
    <d2p1:VerifyCard>
      <d2p1:CVC>String</d2p1:CVC>
      <d2p1:CheckAmount>0</d2p1:CheckAmount>
      <d2p1:Currency>String</d2p1:Currency>
    </d2p1:VerifyCard>
  </Request>
</BorgunServicesGetSingleTokenRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<BorgunServicesGetSingleTokenResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
  <HttpStatusCode>0</HttpStatusCode>
  <Message>String</Message>
  <Response xmlns:d2p1="http://schemas.datacontract.org/2004/07/BorgunRPGData">
    <d2p1:Message>String</d2p1:Message>
    <d2p1:StatusCode>0</d2p1:StatusCode>
    <d2p1:Token>
      <d2p1:Enabled>false</d2p1:Enabled>
      <d2p1:ExpMonth>String</d2p1:ExpMonth>
      <d2p1:ExpYear>String</d2p1:ExpYear>
      <d2p1:Metadata>
        <d2p1:Payload>String</d2p1:Payload>
      </d2p1:Metadata>
      <d2p1:PAN>String</d2p1:PAN>
      <d2p1:Token>String</d2p1:Token>
      <d2p1:VerifyCardResult>
        <d2p1:ActionCode>String</d2p1:ActionCode>
        <d2p1:TransactionId>String</d2p1:TransactionId>
      </d2p1:VerifyCardResult>
      <d2p1:VirtualNumber>String</d2p1:VirtualNumber>
    </d2p1:Token>
    <d2p1:Uri>String</d2p1:Uri>
  </Response>
  <Success>false</Success>
</BorgunServicesGetSingleTokenResponse>