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 .csv suffix or ?format=csv

HTTP + CSV

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/csv
Content-Type: text/csv
Content-Length: length

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

{"Items":[{"CreditCardID":0,"CardTypeID":0,"AccountName":"String","PANToken":"String","Pan":"String","ExpiryDate":"0001-01-01T00:00:00.0000000Z","VerifiedDate":"0001-01-01T00:00:00.0000000Z","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-01T00:00:00.0000000Z"}]}