Skip to content
Paystack logo

Connectors / Finance · HTTP Connector

Paystack integration and API

Export transactions, create a customer and create a plan in Paystack. Connect Paystack to the rest of your finance stack with Tray.ai.

What can you do with Paystack on Tray.ai?

Paystack is an African payments company, owned by Stripe, that lets businesses accept card, bank, and mobile money payments and send payouts. Tray.ai connects to Paystack through the HTTP Connector, so your workflows can call the Paystack API alongside the rest of your stack.

  • Verify a transaction before your order system releases goods, so nothing ships unpaid.
  • Create a customer in Paystack when a new account is added to your CRM.
  • Initiate a transfer to a supplier once finance approves their bill in your accounting system.
  • Create a refund when your help desk approves a customer's refund request.
Connects through
HTTP Connector
Authentication
A bearer token
Base URL
https://api.paystack.co

Set it up

Connect Paystack to Tray.ai

Each step uses Paystack's own API details, from its documentation.

Save Paystack's API token

Save the token Paystack issues as a Tray.ai authentication. The HTTP Client sends it as a bearer token on every call. The token stays out of the workflow and out of the logs.

Point the HTTP Client at the API

Add an HTTP Client step and use https://api.paystack.co as the base URL. Or paste a cURL example from Paystack's API docs, and Tray.ai fills in the method, URL, and headers.

Start with “List transactions”

It's one of 24 documented actions, under Transactions. The response comes back as data the next step can map into your other apps.

Hand it to an AI agent

Wrap “Initialize a transaction” and “Verify a transaction” in workflows, and Tray.ai's Agent Gateway for MCP publishes them as governed tools Claude and other AI agents can call.

Workflows to build with Paystack

Connect Paystack with Google BigQuery, Xero and HubSpot

Each one uses actions and events from Paystack's own API documentation.

Load daily Paystack transactions into Google BigQuery

When

On a schedule

Then

  1. List transactions for the previous day
  2. Load them into Google BigQuery for revenue reporting

With Google BigQuery

Pay approved Xero bills with Paystack transfers

When

On a schedule

Then

  1. Collect approved bills due this week in Xero
  2. Initiate a bulk transfer to pay the suppliers
  3. Mark the bills paid in Xero

With Xero

Start a Paystack subscription when a HubSpot deal closes

When

A deal closes in HubSpot

Then

  1. Create a customer with the buyer's details
  2. Create a subscription on the agreed plan

With HubSpot

Apps you can build on Paystack data

Internal tools your team can build with an AI assistant, each one using Paystack calls from its API documentation.

Refund request queue

Lets support verify a transaction, see past refunds and issue a new refund.

Transfer status report

Lists payouts sent with their status so finance can verify each transfer reached the recipient.

Paystack MCP server for AI agents

Build an MCP server on Paystack in Agent Gateway and choose which actions your agents can call. Every call runs with access control and an audit trail. How Agent Gateway works

  • Initialize a transaction
  • Create a customer
  • Create a plan
  • Create a subscription
  • Initiate a transfer
  • Create a refund
  • Verify a transaction
  • List transactions

What the Paystack API covers

6 resources and 24 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Connecting it takes a few clicks: here's how. New to APIs? Read what an API integration is.

Transactions

  • Initialize a transaction
  • Verify a transaction
  • List transactions
  • Charge an authorization
  • Export transactions

Customers

  • Create a customer
  • List customers
  • Get a customer
  • Update a customer

Plans

  • Create a plan
  • List plans
  • Get a plan
  • Update a plan

Subscriptions

  • Create a subscription
  • List subscriptions
  • Enable a subscription
  • Disable a subscription

Transfers

  • Initiate a transfer
  • Initiate a bulk transfer
  • List transfers
  • Verify a transfer

Refunds

  • Create a refund
  • List refunds
  • Get a refund

Checked against Paystack's own documentation on 2026-10-22

github.com/PaystackOSS/openapi

Frequently asked questions

What can a Tray.ai workflow do in Paystack?

The Paystack API documents 24 actions across 6 resources (Transactions, Customers, Plans, Subscriptions, Transfers, Refunds). For example: Initialize a transaction; Create a customer; Create a plan. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with Paystack?

The Paystack API uses a bearer token. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

See Paystack working against your stack.

We'll walk through a tailored demo with your systems plugged in.

Great, a couple more details

This helps us connect you with the right person. Optional, and you can skip it.