Author:
Randy Chan
Changed on:
6 May 2024
createFinancialTransaction GraphQL mutation Example
1POST: {{fluentApiHost}}/graphql
2
3QUERY:
4
5mutation createFinancialTransaction ($input: CreateFinancialTransactionInput) {
6 createFinancialTransaction (input: $input) {
7 id
8 ref
9 type
10 status
11 workflowRef
12 workflowVersion
13 createdOn
14 updatedOn
15 total
16 currency
17 externalTransactionCode
18 externalTransactionId
19 cardType
20 paymentMethod
21 paymentProviderName
22 }
23}
24
25
26GRAPHQL VARIABLES:
27{
28 "input": {
29 "type": "SMALL_PAYMENT",
30 "cardType": "VISA2",
31 "ref": "202311210003",
32 "paymentMethod": "CARD",
33 "paymentProvider": "SOURCE1",
34 "externalTransactionCode": "EXT12333332",
35 "externalTransactionId": "EXTID9292922",
36 "amount": 1200.0,
37 "currency": "AUD",
38 "order": {
39 "id": "5004670"
40 }
41 }
42}
Language: graphqlschema
Name: createFinancialTransaction GraphQL Example
Description:
createFinancialTransaction GraphQL Example
Copyright © 2024 Fluent Retail Pty Ltd (trading as Fluent Commerce). All rights reserved. No materials on this docs.fluentcommerce.com site may be used in any way and/or for any purpose without prior written authorisation from Fluent Commerce. Current customers and partners shall use these materials strictly in accordance with the terms and conditions of their written agreements with Fluent Commerce or its affiliates.