Fields returned from a Venmo payment context.
app Switch ContextVenmoVenmo app switch context information.
client SDK MetadataClientAnalytics data of the SDK where the QR code was scanned.
created AtTimestamp!Non-nullDate and time when the payment context was created.
customer ClientCustomerClient the customer used to initiate the transaction. This field will only be populated when the context was created by the createVenmoPaymentContext mutation, it will be null if the context was created by the deprecated createVenmoQRCodePaymentContext mutation.
environmentVenmoThe Venmo environment this payment context was created in.
expires AtTimestampDate and time when the payment context expires.
idID!Non-nullThe unique identifier.
intentVenmoThe intended payment flow this payment context was created with.
merchant Profile IdIDAn identifier representing the profile of the merchant used to initiate the transaction.
parent Payment Context IdIDThe unique identifier of the parent payment context. The presence of this field indicates that a customer has previously consented to all future purchases with this merchant, so they should not be asked again for this specific merchant.
payer InfoVenmoInformation about the payer's Venmo account.
payment Method IdIDThe single-use Venmo account payment method ID.
payment Method UsagePaymentWhether the paymentMethodId may be used to make a one time payment (SINGLE_USE) or to create a vaulted multi-use payment token (MULTI_USE). This field will only be populated when the context was created by the createVenmoPaymentContext mutation, it will be null if the context was created by the deprecated createVenmoQRCodePaymentContext mutation.
paysheet DetailsVenmoDetails about the information to be displayed on the paysheet.
return UrlURLURL for redirecting back to merchant app on the client.
The status of the payment context.
updated AtTimestamp!Non-nullDate and time when the payment context was updated.
venmo Risk Correlation IdIDVenmo Risk Correlation ID (also known as the Client Metadata ID).
type VenmoPaymentContext implements Node {
id: ID!
merchantId: String
intent: VenmoIntent
createdAt: Timestamp!
updatedAt: Timestamp!
status: VenmoPaymentContextStatus
environment: VenmoEnvironment
isFinalAmount: Boolean
expiresAt: Timestamp
paymentMethodId: ID
clientSDKMetadata: ClientSDKMetadata
userName: String @deprecated(reason: "This field is included for supporting legacy clients. Please use `payerInfo.userName` instead.")
paymentMethodUsage: PaymentMethodUsage
customerClient: CustomerClient
merchantProfileId: ID
parentPaymentContextId: ID
displayName: String
payerInfo: VenmoPayerInfo
paysheetDetails: VenmoPaysheetDetails
returnUrl: URL
venmoRiskCorrelationId: ID
appSwitchContext: VenmoAppSwitchContext
}