Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Insert excerpt
NDC2:DRAFT - New 17.2 COMBINEDNDC2:DRAFT - New 17.2 COMBINEDAPI Messages with Examples
API Messages with Examples
nameLegend
nopaneltrue

Excerpt
namePayments

NAME

DESCRIPTION

FORMAT

ALLOWED/POSSIBLE VALUES

<Payments / Payment>

Type

Form of payment available.

Alphabetical

  • CASH

  • CC

  • MS

Method / PaymentCard

Info

Attribute

PaymentCard@refsrefs

refs: Reference to a number of quotas in Metadata / Other / OtherMetadata/PaymentFormMetadata for this credit card

Possible values

refs="PayMeta1 PayMeta2 PayMeta3"

Alphanumeric

Any

Method / PaymentCard

Info

Attribute

PaymentCard@ObjectKeyObjectKey

ObjectKey: Reference to a specific credit card in Metadata / Other / OtherMetadata/PaymentFormMetadata

Possible values:

ObjectKey="PaymentCard1"

Alphanumeric

Any

Method / Cash

Info

Attribute

Cash@CashIndCashInd

Only when Payments/Payment/Type = CASH

Alphabetical

true

Payment/Method/PaymentCard/CardType

Type of credit card

Alphabetical

  • VI

  • CA

  • AX

  • TP

  • DC

  • EL

Amount

It is mandatory by schema, it will always have an amount of 0

Numeric

0

The available Forms of Payment are returned in the response.

OfferPriceRS Payments example

Expand
titleExampleOfferPriceRS Payments example
Code Block
languagexml
<Payments>
	<Payment>
		<Type>CC</Type>
		<Method>
			<PaymentCard><PaymentCard refs="PayMeta1 PayMeta2 PayMeta3 PayMeta4 PayMeta5 PayMeta6 PayMeta7 PayMeta8 PayMeta9" ObjectKey="PaymentCard1">
				<CardType>VI</CardType>
			</PaymentCard>
		</Method>
		<Amount>0</Amount>
	</Payment>
	<Payment>
		<Type>CC</Type>
		<Method>
			<PaymentCard><PaymentCard refs="PayMeta10 PayMeta11 PayMeta12 PayMeta13 PayMeta14 PayMeta15 PayMeta16 PayMeta17 PayMeta18" ObjectKey="PaymentCard2">
				<CardType>AX</CardType>
			</PaymentCard>
		</Method>
		<Amount>0</Amount>
	</Payment>
	<Payment>
		<Type>CC</Type>
		<Method>
			<PaymentCard><PaymentCard refs="PayMeta19 PayMeta20 PayMeta21 PayMeta22 PayMeta23 PayMeta24 PayMeta25 PayMeta26 PayMeta27" ObjectKey="PaymentCard3">
				<CardType>EL</CardType>
			</PaymentCard>
		</Method>
		<Amount>0</Amount>
	</Payment>
	<Payment>
		<Type>CC</Type>
		<Method>
			<PaymentCard refs="PayMeta28 PayMeta29 PayMeta30 PayMeta31 PayMeta32 PayMeta33 PayMeta34 PayMeta35 PayMeta36" ObjectKey="PaymentCard4">
				<CardType>TP</CardType>
			</PaymentCard>
		</Method>
		<Amount>0</Amount>
	</Payment>
	<Payment>
		<Type>CC</Type>
		<Method>
			<PaymentCard><PaymentCard refs="PayMeta37 PayMeta38 PayMeta39 PayMeta40 PayMeta41 PayMeta42 PayMeta43 PayMeta44 PayMeta45" ObjectKey="PaymentCard5">
				<CardType>CA</CardType>
			</PaymentCard>
		</Method>
		<Amount>0</Amount>
	</Payment>
	<Payment>
		<Type>CC</Type>
		<Method>
			<PaymentCard><PaymentCard refs="PayMeta46 PayMeta47 PayMeta48 PayMeta49 PayMeta50 PayMeta51 PayMeta52 PayMeta53 PayMeta54" ObjectKey="PaymentCard6">
				<CardType>DC</CardType>
			</PaymentCard>
		</Method>
		<Amount>0</Amount>
	</Payment>
	<Payment>
		<Type>CA</Type>
		<Method>
			<Cash CashInd="true"/>
		</Method>
		<Amount>0</Amount>
	</Payment>
	<Payment>
		<Type>MS</Type>
		<Method>
			<Voucher/>
		</Method>
		<Amount>0</Amount>
	</Payment>
</Payments>

...