Skip to main content

ConvertCreditInput

Input for converting credit to another currency

input ConvertCreditInput {
walletUuid: ID!
amount: Float!
conversionRate: Float!
from: CreditType!
to: CreditType!
connectedServiceType: ConnectedServiceType
}

Fields

ConvertCreditInput.walletUuid ● ID! non-null scalar

The wallet to convert the credit from

ConvertCreditInput.amount ● Float! non-null scalar

The amount of credit to convert

ConvertCreditInput.conversionRate ● Float! non-null scalar

The conversion rate between the two credit types

ConvertCreditInput.from ● CreditType! non-null enum

The credit type to convert from

ConvertCreditInput.to ● CreditType! non-null enum

The credit type to convert to

ConvertCreditInput.connectedServiceType ● ConnectedServiceType enum

Connected service type responsible for this conversion

Member Of

convertCredit mutation