createFinancialTransaction
This mutation creates a FinancialTransaction
, an orchestratable entity inside the Fluent ecosystem. If the FinancialTransaction
is successfully created, a CREATE event will be generate associated with the mutation.
A sample of the event generated:
{
"name": "CREATE",
"type": "NORMAL",
"entityRef": "FINANCIALTRANSACTION-001",
"entityType": "FINANCIALTRANSACTION",
"retailerId": "1",
"accountId": "ACCOUNT_ID"
}
Creates a 'Financial Transaction'
Input fields
CreateFinancialTransactionInput
)
Return fields
ID!
)
ID of the object
DateTime
)
Time of creation
DateTime
)
Time of last update
String!
)
Type of the FinancialTransaction
, typically used by the Orchestration Engine to determine the workflow that should be applied. Unless stated otherwise, no values are enforced by the platform.
String
)
The current status of the FinancialTransaction
.
By default, the initial value will be CREATED, however no other status values are enforced by the platform.
The status field is also used within ruleset selection during orchestration. For more info, see Orchestration
String!
)
The reference used for workflow identification. This is defined by a combination of the entity name and the type, in the format [EntityName]::[Type]. For example, an Order of type CC will have the workflowRef "ORDER::CC".
Int!
)
The version of the workflow assigned to the entity and used for workflow identification. It comprises a major version and minor version number.
String
)
The unique transaction reference provided by the Retailer to the payment gateway
Float!
)
The total transaction amount
Int
)
The number of digits to scale down to
Int
)
The unscaled value
String!
)
Currency used for the transaction.
String
)
The unique transaction code or request code provided by the payment gateway
String
)
The unique transaction ID or request ID provided by the payment gateway
String
)
The card type used for the payment
String
)
The way in which payment was made. Platform provides support for the following payment methods - 'CREDITCARD', 'PAYPAL', 'GIFTVOUCHER', 'CASH', 'AFTERPAY'. However, these can be overridden/configured per client as settings
String
)
The name of the payment gateway. Platform provided values are 'CYBERSOURCE', 'GIVEX', 'PAYPAL', 'BRAINTREE', 'AFTERPAY'. However, these can be overridden/configured per client as settings using 'PAYMENT.PROVIDER'
Order
)
Order associated with the transaction
[Attribute]
)