required:
- installmentType
- type
type: object
allOf:
- $ref: ./PaymentsCustomerAgreement.yaml
- type: object
properties:
type:
type: string
enum:
- installment
storedCardUsage:
type: string
description: ' Set to `first` to store a card or `subsequent` to use a previously stored card. Mandatory for `merchant` installment type. '
enum:
- first
- subsequent
installmentType:
type: string
description: ' Defines the type of installments service. '
enum:
- merchant
- latinAmerica
installmentPlan:
$ref: ./InstallmentPlan.yaml
schemeReference:
maxLength: 56
minLength: 1
pattern: ^[A-Za-z0-9]*$
type: string
description: >-
Optional field available only for `subsequent` storedCardUsage. Unique
reference provided by card schemes used to link the `first` and
`subsequent` payments. This value is bundled with the Worldpay token
if created as part of the `first` payment and therefore not required
here as well.
example: MCCOLXT1C0104