Menu
paymentServiceProviders
Search for PaymentServiceProvider entities.
Use it in a workflow
- Add a step and choose the Fluent Commerce connector.
- Pick the paymentServiceProviders action (under Payment).
- Fill in the fields below, then reference the result from later steps as
{{paymentserviceproviders.response.data}}.
Query
This is the query the action sends by default. Edit it in the step's Query field to change which fields come back.
query PaymentServiceProviders($after: String, $before: String, $clientId: [String!], $clientSecret: [String!], $createdOn: DateRange, $first: Int, $host: [String!], $last: Int, $name: [String], $port: [Int!], $ref: [String!], $retailer: RetailerLinkInput, $serviceAuthToken: [String!], $updatedOn: DateRange) {
paymentServiceProviders(
after: $after
before: $before
clientId: $clientId
clientSecret: $clientSecret
createdOn: $createdOn
first: $first
host: $host
last: $last
name: $name
port: $port
ref: $ref
retailer: $retailer
serviceAuthToken: $serviceAuthToken
updatedOn: $updatedOn
) {
edges {
cursor
node {
attributes
clientId
clientSecret
createdOn
host
id
name
port
ref
retailer
serviceAuthToken
updatedOn
}
}
pageInfo {
hasNextPage
hasPreviousPage
}
}
}
Variables
Pass these as a JSON object in the step's Variables field.
{
"after": "string",
"before": "string",
"clientId": [
"string"
],
"clientSecret": [
"string"
],
"createdOn": {
"from": "string",
"to": "string"
},
"first": 0,
"host": [
"string"
],
"last": 0,
"name": [
"string"
],
"port": [
0
],
"ref": [
"string"
],
"retailer": {
"id": "string"
}
}
Response
Read the result with {{paymentserviceproviders.response.data.data.paymentServiceProviders}}. If the API returns errors, the step fails and they are at {{paymentserviceproviders.response.data.errors}}.
Need more? See the Fluent Commerce guide for connection setup and behaviour shared by every action.
Was this page helpful?