TicketUserServices

<back to all web services

KsiPaymentCardsRequest

Requires Authentication
Requires any of the roles:Admin, TeamAdmin, MobileAppRequires the permission:ReadData
The following routes are available for this service:
POST/ksiPaymentCardsGet all Credit, Debit and KSI cards. If event id is provided tham KSI cards will be filtered on valid cards for this eventSpecial for KSI games
KsiPaymentCardsRequest Parameters:
NameParameterData TypeRequiredDescription
EventIdbodyint?No
PhoneVerificationNumberbodystringNo
DeviceIdbodystringNo
RequestUnixUTCTimeStampbodylongNo
SignaturebodyRequestSignatureNo
RequestSignature Parameters:
NameParameterData TypeRequiredDescription
SystemIdformstringNo
SystemSecretformstringNo
SignatureformstringNo
KsiPaymentCardsResult Parameters:
NameParameterData TypeRequiredDescription
CardsformList<BorgunSavedCards>No
KsiCardsformList<KsiCards>No
StatusCodeformintNo
MessageformstringNo
BorgunSavedCards Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
CreationDateformDateTime?No
LastTokenDateformDateTime?No
isDebitformbool?No
PhoneVerificationNumberformstringNo
DeviceIdformstringNo
VirtualCardNumberformstringNo
PanLastFourformstringNo
ExpYearformstringNo
ExpMonthformstringNo
TokenformstringNo
CardTypeformstringNo
DeletedByUserformbool?No
DeletedFromOriginformbool?No
DateDeletedByUserformDateTime?No
DateDeletedFromOriginformDateTime?No
IsDeletedformbool?No
DateDeletedBySystemformDateTime?No
DeletedBySystemformbool?No
KsiCards Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
CreationDateformDateTime?No
PhoneFullVerificationNumberformstringNo
DeviceIdformstringNo
KsiCardTypeIdformstringNo
KsiClubIdformstringNo
HolderNameformstringNo
CanTransferToPhoneFullNumberformstringNo
CanTransferToNNameformstringNo
ExpYearformstringNo
ExpMonthformstringNo

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

HTTP + JSV

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

POST /ksiPaymentCards HTTP/1.1 
Host: stubbur-autoupdates-live.smartnewapis.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	eventId: 0,
	phoneVerificationNumber: String,
	deviceId: String,
	requestUnixUTCTimeStamp: 0,
	signature: 
	{
		systemId: String,
		systemSecret: String,
		signature: String
	}
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	cards: 
	[
		{
			id: 0,
			creationDate: 0001-01-01,
			lastTokenDate: 0001-01-01,
			isDebit: False,
			phoneVerificationNumber: String,
			deviceId: String,
			virtualCardNumber: String,
			panLastFour: String,
			expYear: String,
			expMonth: String,
			token: String,
			cardType: String,
			deletedByUser: False,
			deletedFromOrigin: False,
			dateDeletedByUser: 0001-01-01,
			dateDeletedFromOrigin: 0001-01-01,
			isDeleted: False,
			dateDeletedBySystem: 0001-01-01,
			deletedBySystem: False
		}
	],
	ksiCards: 
	[
		{
			id: 0,
			creationDate: 0001-01-01,
			phoneFullVerificationNumber: String,
			deviceId: String,
			ksiCardTypeId: String,
			ksiClubId: String,
			holderName: String,
			canTransferToPhoneFullNumber: String,
			canTransferToNName: String,
			expYear: String,
			expMonth: String
		}
	],
	statusCode: 0,
	message: String
}