GraphQL output types for Messages that represent a change or an action performed on a Payment or Payment Method.
payload field of a Message. For when each Message is generated, see Payment Messages.Payment Messages
PaymentCreated
PaymentInteractionAdded
interaction | The interface interaction that was added to the Payment. |
typeString |
PaymentTransactionAdded
transaction | Transaction that was added to the Payment. |
typeString |
Transaction
Represents a financial transaction typically created as a result of a notification from the payment service.
idString | Unique identifier of the Transaction. |
timestamp | Date and time (UTC) the Transaction took place. |
type | Type of the Transaction. For example, Can be Authorization.Authorization, CancelAuthorization, Charge, Chargeback, or Refund |
amount | Money value of the Transaction. |
interactionIdString | Identifier used by the interface that manages the Transaction (usually the PSP).
If a matching interaction was logged in the interfaceInteractions array, the corresponding interaction can be found with this ID. |
state | State of the Transaction. Can beFailure, Initial, Pending, or Success |
custom | Custom Fields defined for the Transaction. |
interfaceIdString | Identifier used by the payment service that processes the Payment (for example, a PSP) in the current transaction. |
TransactionType
AuthorizationCancelAuthorizationChargeChargebackRefund
TransactionState
FailureInitialPendingSuccess
PaymentTransactionStateChanged
transactionIdString | Unique identifier for the Transaction for which the Transaction State changed. |
state | Transaction State after the Change Transaction State update action. Can be Failure, Initial, Pending, or Success |
typeString |
TransactionState
FailureInitialPendingSuccess
PaymentTransactionInterfaceIdSet
transactionIdString | Unique identifier of the Transaction. |
newInterfaceIdString | Identifier used by the payment service that processes the Payment (for example, a PSP) after Set Transaction InterfaceId update action. |
oldInterfaceIdString | Identifier used by the payment service that processes the Payment (for example, a PSP) before the Set Transaction InterfaceId update action. |
typeString |
PaymentStatusStateTransition
forceBoolean | Whether State transition validations were turned off during the Change Transaction State update action. |
state | |
stateRef | |
typeString |
PaymentStatusInterfaceCodeSet
paymentIdString | Unique identifier for the Payment for which the Set StatusInterfaceCode update action was applied. |
interfaceCodeString | The interfaceCode that was set during the Set StatusInterfaceCode update action. |
typeString |
PaymentInterfaceIdSet
interfaceIdString | Interface ID of the Payment after the Set InterfaceId update action. |
oldInterfaceIdString | Interface ID of the Payment before the Set InterfaceId update action. |
typeString |
PaymentMethodInfoInterfaceSet
interfaceString | Payment interface of the Payment Method after the Set MethodInfo Interface update action. |
oldInterfaceString | Payment interface of the Payment Method before the Set MethodInfo Interface update action. |
typeString |
PaymentMethodInfoMethodSet
methodString | Payment Method after the Set MethodInfo Method update action. |
oldMethodString | Payment Method before the Set MethodInfo Method update action. |
typeString |
PaymentMethodInfoNameSet
nameAllLocalesArray of LocalizedString | Name of the Payment Method after the Set MethodInfo Name update action. |
oldNameAllLocalesArray of LocalizedString | Name of the Payment Method before the Set MethodInfo Name update action. |
nameString | Name of the Payment Method after the Set MethodInfo Name update action. |
oldNameString | Name of the Payment Method before the Set MethodInfo Name update action. |
typeString |
PaymentMethodInfoTokenSet
token | Token of the Payment Method after the Set MethodInfo Token update action. |
oldToken | Token of the Payment Method before the Set MethodInfo Token update action. |
typeString |
PaymentMethodToken
valueString | Tokenized representation of the Payment Method. It is displayed in the following instances:
It is masked in the following instances:
|
PaymentMethodInfoInterfaceAccountSet
interfaceAccountString | Interface account of the Payment Method after the Set MethodInfo InterfaceAccount update action. |
oldInterfaceAccountString | Interface account of the Payment Method before the Set MethodInfo InterfaceAccount update action. |
typeString |
PaymentMethodInfoCustomTypeSet
customFields | The Custom Fields that were set. |
oldTypeIdString | id of the previous Type. Absent if there was no previous Custom Type present. |
typeString |
PaymentMethodInfoCustomTypeRemoved
oldTypeIdString | id of the Type that was removed. Absent if there was no previous Custom Type present. |
typeString |
PaymentMethodInfoCustomFieldAdded
nameString | Name of the Custom Field that was added. |
valueJson | The added CustomFieldValue based on the FieldType. |
typeString |
PaymentMethodInfoCustomFieldChanged
nameString | Name of the Custom Field that changed. |
valueJson | |
typeString |
PaymentMethodInfoCustomFieldRemoved
nameString | Name of the Custom Field that was removed. |
typeString |
Payment Method Messages
PaymentMethodCreated
paymentMethod | PaymentMethod that was created. |
typeString |
PaymentMethodDeleted
paymentMethod | The PaymentMethod that was deleted. |
typeString |
PaymentMethodDefaultSet
defaultBoolean | Default Payment Method after the Set Default update action. |
oldDefaultBoolean | Default Payment Method before the Set Default update action. |
typeString |
PaymentMethodInterfaceAccountSet
interfaceAccountString | Interface account of the Payment Method after the Set InterfaceAccount update action. |
oldInterfaceAccountString | Interface account of the Payment Method before the Set InterfaceAccount update action. |
typeString |
PaymentMethodPaymentInterfaceSet
paymentInterfaceString | Payment interface of the Payment Method after the Set PaymentInterface update action. |
oldPaymentInterfaceString | Payment interface of the Payment Method before the Set PaymentInterface update action. |
typeString |
PaymentMethodMethodSet
methodString | Payment Method after the Set Method update action. |
oldMethodString | Payment Method before the Set Method update action. |
typeString |
PaymentMethodKeySet
keyString | |
oldKeyString | |
typeString |
PaymentMethodNameSet
nameAllLocalesArray of LocalizedString | Name of the Payment Method after the Set Name update action. |
oldNameAllLocalesArray of LocalizedString | Name of the Payment Method before the Set Name update action. |
nameString | Name of the Payment Method after the Set Name update action. |
oldNameString | Name of the Payment Method before the Set Name update action. |
typeString |
PaymentMethodPaymentMethodStatusSet
status | Status of the Payment Method after the Set PaymentMethodStatus update action. Can be Active, or Inactive |
oldStatus | Status of the Payment Method before the Set PaymentMethodStatus update action. Can be Active, or Inactive |
typeString |
PaymentMethodStatus
ActiveInactive
PaymentMethodCustomTypeSet
customFields | The Custom Fields that were set. |
oldTypeIdString | id of the previous Custom Type. Absent if there was no previous Custom Type present. |
typeString |
PaymentMethodCustomTypeRemoved
oldTypeIdString | id of the Custom Type that was removed. Absent if there was no previous Custom Type present. |
typeString |
PaymentMethodCustomFieldAdded
nameString | Name of the Custom Field that was added. |
valueJson | The added CustomFieldValue based on the FieldType. |
typeString |
PaymentMethodCustomFieldChanged
PaymentMethodCustomFieldRemoved
nameString | Name of the Custom Field that was removed. |
typeString |