younifyd
Menu

paymentServiceProviders

Search for PaymentServiceProvider entities.

Use it in a workflow

  1. Add a step and choose the Fluent Commerce connector.
  2. Pick the paymentServiceProviders action (under Payment).
  3. 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.

graphql
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.

afterstring

Returns the elements in the list that come after the specified global ID

beforestring

Returns the elements in the list that come before the specified global ID

clientIdarray<string>

Client ID of the `PaymentServiceProvider`

clientSecretarray<string>

Client Secret of the `PaymentServiceProvider`

createdOnobject
fromstring
tostring
firstnumber

Returns the first n elements from the list

hostarray<string>

Host of the `PaymentServiceProvider`. Sample value: 'api.sandbox.paypal.com'.

lastnumber

Returns the last n elements from the list

namearray<string>

name of the `PaymentServiceProvider`

portarray<number>

Port of the `PaymentServiceProvider`

refarray<string>

External reference of the object. Must be unique.

retailerobject
idstringrequired
serviceAuthTokenarray<string>

Auth Token of the `PaymentServiceProvider`

updatedOnobject
fromstring
tostring
json
{
  "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}}.

edgesarray<object>
cursorobject
nodeobject
pageInfoobject
hasNextPageboolean
hasPreviousPageboolean

Need more? See the Fluent Commerce guide for connection setup and behaviour shared by every action.