# Paystack integrations: transactions and customers

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

**Canonical page:** https://tray.ai/connectors/paystack-integrations/
**Categories:** Finance
**Connects through:** HTTP Connector

## Overview

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.

## Use cases

### Transactions

Read and manage transactions in Paystack from any Tray.ai workflow. The Paystack API covers calls such as initialize a transaction and verify a transaction.

- Initialize a transaction
- Verify a transaction
- List transactions

### Customers

Read, create, and update customers in Paystack from any Tray.ai workflow. The Paystack API covers calls such as create a customer and list customers.

- Create a customer
- List customers
- Get a customer

### Plans

Read, create, and update plans in Paystack from any Tray.ai workflow. The Paystack API covers calls such as create a plan and list plans.

- Create a plan
- List plans
- Get a plan

### Subscriptions

Read, create, and update subscriptions in Paystack from any Tray.ai workflow. The Paystack API covers calls such as create a subscription and list subscriptions.

- Create a subscription
- List subscriptions
- Enable a subscription

### Transfers

Read and manage transfers in Paystack from any Tray.ai workflow. The Paystack API covers calls such as initiate a transfer and initiate a bulk transfer.

- Initiate a transfer
- Initiate a bulk transfer
- List transfers

### Refunds

Read and create refunds in Paystack from any Tray.ai workflow. The Paystack API covers calls such as create a refund and list refunds.

- Create a refund
- List refunds
- Get a refund

## Challenges Tray.ai solves

### Keeping Paystack credentials out of logs

A raw API call usually means pasting a key or token into the request, where it ends up in step inputs, logs, and screenshots.

**How Tray.ai helps:** Store Paystack credentials once as a Tray.ai authentication and reference them from the HTTP Connector. Tray.ai masks authentication values in logs, so the secret never shows up in a step's input or output.

### Going from the Paystack API docs to a working call

Translating an example request from API docs into a workflow step means copying the method, URL, headers, and body by hand.

**How Tray.ai helps:** Paste a cURL example from the Paystack API docs into the HTTP Connector and Tray.ai fills in the method, URL, headers, and body for you.

### Handling files and non-JSON responses

Not every API answers in JSON. Some return XML, files, or binary data, or expect a multipart upload.

**How Tray.ai helps:** The HTTP Connector parses JSON and XML responses, returns files you can pass to the next step, and sends multipart form data for uploads.

## Frequently asked questions

### Does Tray.ai connect to Paystack?

Yes. Tray.ai connects to Paystack through the HTTP Connector, which calls the Paystack API directly. Any call the Paystack API documents can run as a step in a Tray.ai workflow.

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

### Can I get a dedicated Paystack connector?

Paystack runs through the HTTP Connector rather than a dedicated connector. If your team wants one, the Tray.ai connector SDK can build a dedicated Paystack connector from the Paystack API.

## Learn more

- Intelligent Integration: https://tray.ai/platform/intelligent-ipaas/
- Merlin Agent Builder: https://tray.ai/platform/merlin-agent-builder/
- Agent Gateway for MCP: https://tray.ai/platform/agent-gateway/
- Book a demo: https://tray.ai/contact/
