required:
- method
- narrative
- paymentInstrument
- value
type: object
properties:
method:
type: string
paymentInstrument:
oneOf:
- $ref: ./PaymentsCardPlainPaymentInstrument.yaml
- $ref: ./SessionPaymentInstrument.yaml
- $ref: ./TokenPaymentInstrument.yaml
- $ref: ./WalletPaymentInstrument.yaml
narrative:
$ref: ./Narrative.yaml
tokenCreation:
$ref: ./TokenCreation.yaml
value:
$ref: ./Value.yaml
debtRepayment:
type: boolean
description: >-
A flag which identifies a payment as being for the purpose of repaying a
debt.
fraud:
$ref: ./PaymentsFraud.yaml
threeDS:
$ref: ./PaymentsThreeDS.yaml
exemption:
$ref: ./Exemption.yaml
settlement:
$ref: ./Settlement.yaml
customer:
$ref: ./Customer.yaml
shipping:
$ref: ./Shipping.yaml
customerAgreement:
oneOf:
- $ref: ./PaymentsCardOnFileCustomerAgreement.yaml
- $ref: ./PaymentsInstallmentCustomerAgreement.yaml
- $ref: ./PaymentsSubscriptionCustomerAgreement.yaml
- $ref: ./PaymentsUnscheduledCustomerAgreement.yaml
recipient:
$ref: ./PaymentsRecipient.yaml
consumerBillPayment:
type: boolean
description: >-
An attribute that identifies a bill payment paid by providers on behalf of
consumers. If you are registered with Visa as a Consumer of the Bill
Payment Service (CBPS), you must set this to `true` for any payments
associated with the CBPS.
description: >-
An object that contains all information related to the payment and API
configurations.
discriminator:
propertyName: method
mapping:
card: ./CardPaymentsInstruction.yaml
applepay: ./ApplepayPaymentsInstruction.yaml
googlepay: ./GooglepayPaymentsInstruction.yaml