Skip to content
For LLMsView as Markdown·

Shift4 ​

Payment processing for iGaming with charges, refunds, customer management, and subscriptions.

DetailValue
CategoryiGaming
Base URLhttps://api.shift4.com
AuthenticationBearer Token
Endpoints10
Connector keyshift4

Using Shift4 in a workflow ​

  1. Go to Connections and click New Connection.
  2. Pick Shift4 from the marketplace.
  3. Enter your credentials (see Authentication above for what's expected).
  4. In a workflow, drop an API Call node and select this connection.
  5. Pick the operation you need from the Operation dropdown. The full list is below.

Available endpoints ​

EndpointSummary
POST /chargesCreate charge
GET /charges/{charge_id}Get charge
POST /charges/{charge_id}/captureCapture charge
POST /refundsCreate refund
GET /refunds/{refund_id}Get refund
POST /customersCreate customer
GET /customers/{customer_id}Get customer
POST /customers/{customer_id}/cardsAdd card
GET /customers/{customer_id}/cardsList cards
POST /subscriptionsCreate subscription

Each endpoint is documented in full below. Use the outline on the right to jump to one.

POST /charges ​

Create charge

DetailValue
Operation IDigaming.createCharge
MethodPOST
Path/charges

Parameters ​

No parameters.

Request Body ​

FieldType
amountinteger
currencystring
cardobject

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your Shift4 connection from the Connection dropdown.
  3. In the Operation dropdown, select igaming.createCharge.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked: fill them or the call will fail at runtime.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Shift4 API reference.

GET /charges/{charge_id} ​

Get charge

DetailValue
Operation IDigaming.getCharge
MethodGET
Path/charges/{charge_id}

Parameters ​

NameLocationTypeRequired
charge_idpathstringYes

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your Shift4 connection from the Connection dropdown.
  3. In the Operation dropdown, select igaming.getCharge.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked: fill them or the call will fail at runtime.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Shift4 API reference.

POST /charges/{charge_id}/capture ​

Capture charge

DetailValue
Operation IDigaming.captureCharge
MethodPOST
Path/charges/{charge_id}/capture

Parameters ​

NameLocationTypeRequired
charge_idpathstringYes

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your Shift4 connection from the Connection dropdown.
  3. In the Operation dropdown, select igaming.captureCharge.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked: fill them or the call will fail at runtime.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Shift4 API reference.

POST /refunds ​

Create refund

DetailValue
Operation IDigaming.createRefund
MethodPOST
Path/refunds

Parameters ​

No parameters.

Request Body ​

FieldType
chargeIdstring
amountinteger

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your Shift4 connection from the Connection dropdown.
  3. In the Operation dropdown, select igaming.createRefund.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked: fill them or the call will fail at runtime.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Shift4 API reference.

GET /refunds/{refund_id} ​

Get refund

DetailValue
Operation IDigaming.getRefund
MethodGET
Path/refunds/{refund_id}

Parameters ​

NameLocationTypeRequired
refund_idpathstringYes

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your Shift4 connection from the Connection dropdown.
  3. In the Operation dropdown, select igaming.getRefund.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked: fill them or the call will fail at runtime.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Shift4 API reference.

POST /customers ​

Create customer

DetailValue
Operation IDigaming.createCustomer
MethodPOST
Path/customers

Parameters ​

No parameters.

Request Body ​

FieldType
emailstring
descriptionstring

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your Shift4 connection from the Connection dropdown.
  3. In the Operation dropdown, select igaming.createCustomer.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked: fill them or the call will fail at runtime.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Shift4 API reference.

GET /customers/{customer_id} ​

Get customer

DetailValue
Operation IDigaming.getCustomer
MethodGET
Path/customers/{customer_id}

Parameters ​

NameLocationTypeRequired
customer_idpathstringYes

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your Shift4 connection from the Connection dropdown.
  3. In the Operation dropdown, select igaming.getCustomer.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked: fill them or the call will fail at runtime.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Shift4 API reference.

POST /customers/{customer_id}/cards ​

Add card

DetailValue
Operation IDigaming.addCard
MethodPOST
Path/customers/{customer_id}/cards

Parameters ​

NameLocationTypeRequired
customer_idpathstringYes

Request Body ​

FieldType
numberstring
expMonthstring
expYearstring
cvcstring

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your Shift4 connection from the Connection dropdown.
  3. In the Operation dropdown, select igaming.addCard.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked: fill them or the call will fail at runtime.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Shift4 API reference.

GET /customers/{customer_id}/cards ​

List cards

DetailValue
Operation IDigaming.listCards
MethodGET
Path/customers/{customer_id}/cards

Parameters ​

NameLocationTypeRequired
customer_idpathstringYes

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your Shift4 connection from the Connection dropdown.
  3. In the Operation dropdown, select igaming.listCards.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked: fill them or the call will fail at runtime.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Shift4 API reference.

POST /subscriptions ​

Create subscription

DetailValue
Operation IDigaming.createSubscription
MethodPOST
Path/subscriptions

Parameters ​

No parameters.

Request Body ​

FieldType
customerIdstring
planIdstring

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your Shift4 connection from the Connection dropdown.
  3. In the Operation dropdown, select igaming.createSubscription.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked: fill them or the call will fail at runtime.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Shift4 API reference.