Twin Oaks Charge Web Services

<back to all web services

SaleRequestV2

To override the Content-type in your clients 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 /jsv/oneway/SaleRequestV2 HTTP/1.1 
Host: charge.tosd.com 
Content-Type: text/jsv
Content-Length: length

{
	cardDataSource: String,
	transactionAmount: 0,
	tip: 0,
	salesTax: 0,
	addressLine1: String,
	currencyCode: String,
	track1Data: String,
	track2Data: String,
	track3Data: String,
	emulatedTrackData: String,
	cardNumber: String,
	expirationDate: String,
	cvv2: String,
	zip: String,
	orderNumber: String,
	firstName: String,
	lastName: String,
	purchaseOrder: String,
	supplierReferenceNumber: String,
	customerRefID: String,
	shipToZip: String,
	chargeDescriptor: String,
	tokenRequesterID: String,
	secureCode: String,
	eciIndicator: String,
	walletSource: String,
	walletID: String,
	digitalPaymentCryptogram: String,
	ucafCollectionIndicator: String,
	securityProtocol: String,
	programProtocol: String,
	directoryServerTransactionID: String,
	TOToken: String,
	Phone: String,
	serviceLocationCity: String,
	serviceLocationCountrySubdivision: String,
	serviceLocationCountryCode: String,
	serviceLocationPostalCode: String,
	username: String,
	password: String,
	merchantID: String,
	deviceID: String,
	operatorID: String,
	apiKey: String
}