Needio.Services

<back to all web services

StartThreeDsRequest

Requires Authentication
Required role:Guest
The following routes are available for this service:
All Verbs/Payment/StartThreeDs/
StartThreeDsRequest Parameters:
NameParameterData TypeRequiredDescription
PaymentCardqueryPaymentCardDTONo
Installmentqueryint?No
isMobilequeryboolNo
PayWith3dsqueryboolNo
RefreshTokenqueryboolNo
IdentityNumberquerystringNo
HashqueryintNo
ShippingAddressIdqueryintNo
BillingAddressIdqueryintNo
BaseRequest Parameters:
NameParameterData TypeRequiredDescription
startformDateTimeNo
DeviceUUIDformstringNo
APIKeyformstringNo
isAdminformboolNo
CmdformstringNo
StartThreeDsReponse Parameters:
NameParameterData TypeRequiredDescription
PaymentTokenformstringNo
BasketHeaderIdformintNo
TransactionIdformint?No
RedirectToBasketformboolNo
ThreeDsContentformstringNo
IsAsyncformboolNo
NeedIdentityNumberformboolNo
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
ResultformboolNo
ResMessageformstringNo
ErrorformErrorNo
PageInfoformBasePageInfoNo
Error Parameters:
NameParameterData TypeRequiredDescription
ErrorYnformboolNo
ErrorCodeformstringNo
ErrorDescriptionformstringNo
BasePageInfo Parameters:
NameParameterData TypeRequiredDescription
TotalRecordCountformintNo
TotalPageCountformintNo
CurrentPageformintNo
PaymentCardDTO Parameters:
NameParameterData TypeRequiredDescription
CardHolderNameformstringNo
CardNumberformstringNo
ExpireYearformstringNo
ExpireMonthformstringNo
CvcformstringNo
RegisterCardformboolNo
CardAliasformstringNo
CardTokenformstringNo
CardUserKeyformstringNo
StartThreeDsReponse Parameters:
NameParameterData TypeRequiredDescription
PaymentTokenformstringNo
BasketHeaderIdformintNo
TransactionIdformint?No
RedirectToBasketformboolNo
ThreeDsContentformstringNo
IsAsyncformboolNo
NeedIdentityNumberformboolNo

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 /Payment/StartThreeDs/ HTTP/1.1 
Host: baseservices.needion.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	PaymentCard: 
	{
		CardHolderName: String,
		CardNumber: String,
		ExpireYear: String,
		ExpireMonth: String,
		Cvc: String,
		RegisterCard: False,
		CardAlias: String,
		CardToken: String,
		CardUserKey: String
	},
	Installment: 0,
	isMobile: False,
	PayWith3ds: False,
	RefreshToken: False,
	IdentityNumber: String,
	Hash: 0,
	ShippingAddressId: 0,
	BillingAddressId: 0,
	start: 0001-01-01,
	DeviceUUID: String,
	APIKey: String,
	isAdmin: False,
	Cmd: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	PaymentToken: String,
	BasketHeaderId: 0,
	TransactionId: 0,
	RedirectToBasket: False,
	ThreeDsContent: String,
	IsAsync: False,
	NeedIdentityNumber: False,
	Result: False,
	ResMessage: String,
	Error: 
	{
		ErrorYn: False,
		ErrorCode: String,
		ErrorDescription: String
	},
	PageInfo: 
	{
		TotalRecordCount: 0,
		TotalPageCount: 0,
		CurrentPage: 0
	}
}