TBS Apps API

<back to all web services

CreditCardListRequest

Requires Authentication
The following routes are available for this service:
All Verbs/CreditCardList
CreditCardListResponse Parameters:
NameParameterData TypeRequiredDescription
ItemsformList<CreditCard>No
CreditCard Parameters:
NameParameterData TypeRequiredDescription
CreditCardIDformintNo
CardTypeIDformintNo
AccountNameformstringNo
PANTokenformstringNo
PanformstringNo
ExpiryDateformDateTimeNo
VerifiedDateformDateTime?No
IsActiveformboolNo
MaxAllowedAmountformdecimalNo
MinAllowedAmountformdecimalNo
IsDefaultformboolNo
IsWithdrawableformboolNo
HasDepositedformboolNo
BPayBillerCodeformstringNo
CardTypeformLCardTypeNo
IsVerificationPendingformboolNo
IsVerificationFailedformboolNo
LastUsedDateTimeformDateTime?No
LCardType Parameters:
NameParameterData TypeRequiredDescription
CardTypeIDformintNo
CardTypeformstringNo

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 /CreditCardList HTTP/1.1 
Host: tstextweb20.np.bluebet.com.au 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Items: 
	[
		{
			CreditCardID: 0,
			CardTypeID: 0,
			AccountName: String,
			PANToken: String,
			Pan: String,
			ExpiryDate: 0001-01-01,
			VerifiedDate: 0001-01-01,
			IsActive: False,
			MaxAllowedAmount: 0,
			MinAllowedAmount: 0,
			IsDefault: False,
			IsWithdrawable: False,
			HasDeposited: False,
			BPayBillerCode: String,
			CardType: 
			{
				CardTypeID: 0,
				CardType: String
			},
			IsVerificationPending: False,
			IsVerificationFailed: False,
			LastUsedDateTime: 0001-01-01
		}
	]
}