Fluent Commerce Logo
Docs
Sign In

PAYMENT.PROVIDER

Setting

Changed on:

24 Oct 2023

Setting AreaUI component, Workflow, Orders
Supported context levels:GLOBAL

Overview


This setting is used to describe the Payment Providers used by the Account

Values

Data TypeValues
JSON

Default Values:

  • `BRAINTREE`
    `CYBERSOURCE`
    `PAYPAL`
    `GIVEX`
    `AFTERPAY`
    `FAT_ZEBRA`

Sample Value:

  • `[{"name":"BRAINTREE"},{"name":"CYBERSOURCE"},{"name":"PAYPAL"}]`

`
`

Configuration example

1POST {{fluentApiHost}}/graphql
2
3mutation {
4createSetting(input:
5{
6name: "PAYMENT.PROVIDER",
7lobValue: [{name:"BRAINTREE"},{name:"CYBERSOURCE"},{name:"PAYPAL"}],
8context: "GLOBAL",
9contextId: 0,
10valueType: "JSON"
11}){
12id
13}}

Language: json

Update example

1POST {{fluentApiHost}}/graphql
2
3
4mutation updateSetting {
5  updateSetting(input: {
6		name: "PAYMENT.PROVIDER", 
7		valueType: "JSON", 
8		lobValue:[{name:"BRAINTREE"},{name:"CYBERSOURCE"},{name:"PAYPAL"},{name:"AFTERPAY"}], 
9		context: "GLOBAL", 
10        id: 5001464,
11		contextId: 0}) {
12    id
13    name
14  }
15}

Language: json