Skip to main content

UpdatePaymentInput

No description

input UpdatePaymentInput {
userId: Int
anonymousId: Int
paymentId: String
amount: Int
currency: String
method: String
status: PaymentStatuses
addTransaction: CreateTransactionInput
}

Fields

UpdatePaymentInput.userId ● Int scalar

Logged in User ID

UpdatePaymentInput.anonymousId ● Int scalar

Guest User ID

UpdatePaymentInput.paymentId ● String scalar

Unique paymentId reference for the Payment - provided by the PSP

UpdatePaymentInput.amount ● Int scalar

Payment amount [denomination in cents]

UpdatePaymentInput.currency ● String scalar

Payment currency - ISO 4217 currency code => https://www.xe.com/iso4217.php

UpdatePaymentInput.method ● String scalar

Payment method used by the PSP

UpdatePaymentInput.status ● PaymentStatuses enum

Payment status

UpdatePaymentInput.addTransaction ● CreateTransactionInput input

Add a transaction related to the specified payment

Member Of

paymentUpdate mutation