Authorize-Payment | Pay with Apple Pay

The payment authorize request is initiated using the payment token returned by Apple Pay after a card is selected for completing the transaction by the user. The expected format of <token> is base-64 encoded string.

Sample Token from Apple Pay after base-64 encode: paymentMethodToken:token:

eyJ2ZXJzaW9uIjoiRUNfdjEiLCJkYXRhIjoiQWNRd0FFeWhSYzdHdWJleUVHOUJnWEdjNktkaTJ4RjMxazJS
MTRqNGZxTUtQRHA4S1VyT0FTNVFFRTIxT1U2a0d6TFBzRVAwbUw5MGR1NExqbVNjWFRFb1ZqVk81b1dzejVa
TC90ZllSOEpJTmRVTUJZM0g2UnNqeFFQZXdXLzYzUDVwdDN0eTZXUjl5dnN0RGpoMHliR01vZVVSZnZLTmtT
Ty9KaDBNQVpnRmcxRXozS0huZHJiRi9UeDBvZXJBZmNxYXdZVGZyMUtQN2ozR3FBRm5Tam1DNFhUTUFSVnJS
NXdYUklCYzZFYXBEOE43blhiTXlDem03R2ZxNGFqWk5ocGl3djBkU1N2OE9KNkRwWG40WTQ2Y0toeUlPYXZr
aE5qcGdxZGV2SnI4ekZIZ0UxWENZODBVMUNoWTd4dGhqNWNqdVFYYVdkbVFDbXJKdCtkQlYxMXg1T3UyNngr
NWNYSk9GL1lPV21QQkpSeWhVWUxhTXhaL05jTERXUVBEQTgvRTJzTWRjSlFaQzdtMWhZWDhvZG93dmhTOTJB
WmJMUzFHRDZXd1BmZTYiLCJzaWduYXR1cmUiOiJNSUFHQ1NxR1NJYjNEUUVIQXFDQU1JQUNBUUV4RFRBTEJn
bGdoa2dCWlFNRUFnRXdnQVlKS29aSWh2Y05BUWNCQUFDZ2dEQ0NBK013Z2dPSW9BTUNBUUlDQ0V3d1FVbFJu
VlEyTUFvR0NDcUdTTTQ5QkFNQ01Ib3hMakFzQmdOVkJBTU1KVUZ3Y0d4bElFRndjR3hwWTJGMGFXOXVJRWx1
ZEdWbmNtRjBhVzl1SUVOQklDMGdSek14SmpBa0JnTlZCQXNNSFVGd2NHeGxJRU5sY25ScFptbGpZWFJw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
N2JiMzI3NGQ5MGRhMWFjYjIifX0=

Example authorize-payment Request

<?xml version="1.0" encoding="UTF-8"?>
<root>
	<authorize-payment account="[integer]" client-id="[integer]">
		<transaction type-id="40" id="[CELLPOINT DIGITAL-TXNID]">
			<card network="visa" type-id="15">
				<address country-id="200">
					<first-name>Harish</first-name>
					<last-name>Chandra</last-name>
					<street>1131 Meadow Creek Dr.</street>
					<postal-code>75086</postal-code>
					<city>Irving</city>
					<state>KY</state>
					<contact-details>
     </contact-details>
				</address>
				<amount currency-id="[integer]" country-id="[integer]">100</amount>
				<token>[token]</token>
			</card>
		</transaction>
		<client-info version="10.02" app-version="10.02" sdk-version="2.3.1" language="gb" platform="iOS/15.5">
			<device-id>087E575D-92BD-483A-B1AA-C4F9CDCA5674</device-id>
		</client-info>
	</authorize-payment>
</root>

Example authorize-payment Response

<?xml version="1.0" encoding="UTF-8"?>
<root>
    <status code="2000">Payment authorized</status>
</root>