CreatePaymentInput
No description
input CreatePaymentInput {
userId: Int
anonymousId: Int
paymentId: String
orderId: Int!
amount: Int!
currency: String!
method: String!
status: PaymentStatuses!
addTransaction: CreateTransactionInput
}
Fields
CreatePaymentInput.userId
● Int
scalar
Logged in User ID
CreatePaymentInput.anonymousId
● Int
scalar
Guest User ID
CreatePaymentInput.paymentId
● String
scalar
Unique paymentId reference for the Payment - provided by the PSP
CreatePaymentInput.orderId
● Int!
non-null scalar
Unique orderId reference for the Payment
CreatePaymentInput.amount
● Int!
non-null scalar
Payment amount [denomination in cents]
CreatePaymentInput.currency
● String!
non-null scalar
Payment currency - ISO 4217 currency code => https://www.xe.com/iso4217.php
CreatePaymentInput.method
● String!
non-null scalar
Payment method used by the PSP
CreatePaymentInput.status
● PaymentStatuses!
non-null enum
Payment status
CreatePaymentInput.addTransaction
● CreateTransactionInput
input
Add a transaction related to the specified payment
Member Of
paymentCreate
mutation