Phonixx Api

<back to all web services

GuestReservationRequest

The following routes are available for this service:
POST,OPTIONS/v2/parking/guest/reservation

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/GuestReservationRequest HTTP/1.1 
Host: parkmobile.us 
Content-Type: text/jsv
Content-Length: length

{
	orderId: 0,
	domain: String,
	payment: 
	{
		creditCard: 
		{
			cardBrand: String,
			cardNumber: String,
			cardHolder: String,
			securityCode: String,
			expiryMonth: 0,
			expiryYear: 0,
			addressLine1: String,
			country: String,
			zipCode: String,
			cardStatus: Primary,
			externalSourceType: String,
			last4Digits: String,
			sortOrder: 0,
			preferred: False,
			binInfo: 
			{
				countryCode: String,
				issuer: String,
				cardType: String
			}
		},
		digitalPaymentInfo: 
		{
			provider: String,
			chasePayData: 
			{
				consumerIP: String,
				digitalSessionID: String,
				transactionReferenceKey: String
			},
			applePayData: 
			{
				encryptedData: String,
				cardType: String,
				last4Digits: String,
				zipCode: String
			},
			masterpassV7Data: 
			{
				cardType: String,
				last4Digits: String
			},
			googlePayData: 
			{
				cardNumber: String,
				expiryMonth: 0,
				expiryYear: 0,
				country: String,
				zipCode: String,
				creditCardId: 0,
				digitalPanId: 0
			}
		}
	},
	vehicles: 
	[
		{
			vehicleId: 0,
			vrn: String,
			state: String,
			country: String,
			description: String,
			default: False,
			vehicleType: 
			{
				supplierVehicleTypeId: 0,
				vehicleTypeName: String
			},
			vin: String,
			gcid: String,
			vehicleMakeId: 0,
			make: String,
			model: String
		}
	],
	reservationMetafields: 
	[
		{
			slug: String,
			value: String
		}
	]
}