CreateEventPaymentInput
Define the input for creating a payment.
input CreateEventPaymentInput {
currencyId: ID
description: String
eventId: ID!
itemsToPay: [PayableItemToPayInput!]!
paidById: ID!
paymentTypeId: ID!
recordedAt: DateTime!
totalAmount: Float!
}
Fields
CreateEventPaymentInput.currencyId ● ID scalar
The identifier of the currency for the payment. Optional.
The default value is the identifier of the event currency for the event.
CreateEventPaymentInput.description ● String scalar
A UTF-8 string that represents the description for the payment. Optional.
CreateEventPaymentInput.eventId ● ID! non-null scalar
The identifier of the event for the payment.
CreateEventPaymentInput.itemsToPay ● [PayableItemToPayInput!]! non-null input
The list of items and amounts to pay.
CreateEventPaymentInput.paidById ● ID! non-null scalar
The identifier of the contact for the payment.
CreateEventPaymentInput.paymentTypeId ● ID! non-null scalar
The identifier of the payment type for the payment.
Only payments type where the funding type is CASH are allowed.
CreateEventPaymentInput.recordedAt ● DateTime! non-null scalar
The date and time at which the payment was recorded.
CreateEventPaymentInput.totalAmount ● Float! non-null scalar
The total amount for the payment in the currency of the payment.
Member Of
createEventPayment mutation