TBS Apps API

<back to all web services

CreditCardFinalizeDepositV2Request

The following routes are available for this service:
All Verbs/CreditCardFinalizeDeposit
CreditCardFinalizeDepositV2Request Parameters:
NameParameterData TypeRequiredDescription
PaResquerystringNo
RefNoquerystringNoRefNo
CResquerystringNoCRes
PaymentResponse Parameters:
NameParameterData TypeRequiredDescription
AddInfoformList<string>No
TBSReferenceformstringNo
GatewayReferenceformstringNo
IsFirstDepositformboolNo
AmountformdecimalNo
ThreeDSStatusformintNo
Verification3DRedirectResponseformVerification3DRedirectResponseNo
Verification3DMethodResponseformVerification3DMethodResponseNo
ResponseDataBase Parameters:
NameParameterData TypeRequiredDescription
ErrorNoformintNo
MessageformstringNo
Identityformlong?No
Verification3DRedirectResponse Parameters:
NameParameterData TypeRequiredDescription
AcsURLformstringNo
CReqformstringNo
MDformstringNo
PaReqformstringNo
TermUrlformstringNo
ThreeDSSessionDataformstringNo
Version3DSformintNo
Verification3DMethodResponse Parameters:
NameParameterData TypeRequiredDescription
Secure3DMethodFormformstringNo
ThreeDSServerTransIDformstringNo

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 /CreditCardFinalizeDeposit HTTP/1.1 
Host: ios-api.betright.com.au 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	PaRes: String,
	RefNo: String,
	CRes: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	AddInfo: 
	[
		String
	],
	TBSReference: String,
	GatewayReference: String,
	IsFirstDeposit: False,
	Amount: 0,
	ThreeDSStatus: 0,
	Verification3DRedirectResponse: 
	{
		AcsURL: String,
		CReq: String,
		MD: String,
		PaReq: String,
		TermUrl: String,
		ThreeDSSessionData: String,
		Version3DS: 0
	},
	Verification3DMethodResponse: 
	{
		Secure3DMethodForm: String,
		ThreeDSServerTransID: String
	},
	ErrorNo: 0,
	Message: String,
	Identity: 0
}