---
title: "Paystack"
slug: "paystack"
updated: 2025-03-13T14:15:59Z
published: 2025-03-13T14:15:59Z
canonical: "docs.apcopay.com/paystack"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.apcopay.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Paystack

**Paystack** is a fintech company that provides payment processing solutions for businesses in Africa.

## Supported Transaction Types

- [ ] Authorisation
- [ ] Capture
- [x] Purchase
- [ ] Refund
- [x] Withdrawal
- [ ] Void

## Integrations Supported

**Deposit**

- [x] Hosted Payment Page
- [ ] Direct Connect ( server-to-server)

**Withdrawal**

- [ ] Hosted Payment Page
- [x] Direct Connect ( server-to-server)

Official Logo:

![](https://cdn.document360.io/358ada76-9dff-4d31-80ba-dad90c84bfa9/Images/Documentation/Paystack_Logo.png)

## Currencies & Countries Supported

| Title | Description |
| --- | --- |
| **Currencies Supported** | Major Currencies in Africa |

## Additional attributes to process Paystack

You must include the following JSON Attributes to the payload. These attributes inform us to redirect to Paystack to finalize the payment process.

| Description | Hosted Payment Page | Direct Connect (Withdrawals) |
| --- | --- | --- |
| **Transaction type** | "TransactionType": "PURC", | "TransactionType": "ORIGINALCREDIT", |
| **Client** | "Client": { **"Email": "test@email.com",** "FirstName": "John", "LastName": "Doe", "Country": "NGA", "MobileNo": "10449262289", "Street": "Street Name, 1", "City": "London", "IPAddress": "127.0.0.1" }, | "Client": { **"Email": "test@email.com",** **"FirstName": "John",** **"LastName": "Doe",** "Country": "NGA", "MobileNo": "10449262289", "Street": "Street Name, 1", "City": "London", "IPAddress": "127.0.0.1" }, |
| **Force Transaction Routing** | "Routing": { "ForcePayment": "PAYSTACK" }, |
| **Payment Method Data** |  | "PaymentMethodData": { **"BankCode": "057",** **"BeneficiaryAccountNumber": "0000000000"** }, |
| **Test Indicator** (required in Sandbox Environment only) | "IsTest": True |

**Sample Deposit Request**

Refer to our API Reference Document [here](https://apcopay.redoc.ly/#tag/Hosted-Payment-Page) to create a Hosted Payment Page, use the below mandatory tags to process a deposit.

Below is a sample deposit request.

```json
{
  "TransactionType": "PURC",
  "Amount": "10.00",
  "Currency": "NGN",
  "OrderReference": "MerchantOrder1",
  "RedirectionURL": "https://www.yourURLhere.com/Redirect/",
  "CallBackURL": "https://www.yourURL.com/Listener",
  "UniqueReference": "3a9f50f7-2deb-4dbf-a186-d58641s36665",
  "Language": "en",
  "Client": {
    "Email": "test@email.com",
    "ClientAccount": "CliAcc01002",
    "FirstName": "John",
    "LastName": "Doe",
    "Country": "NGA",
    "MobileNo": "10449262289",
    "Street": "Street Name, 1",
    "City": "London",
    "IPAddress": "127.0.0.1""
  },
  "Routing": {
    "ForcePayment": "PAYSTACK"
  },
  "IsTest": true
}
```

**Withdrawals**

Withdrawals are processed via Direct Connect. The API reference to request a payout can be found [here](https://apcopay.redoc.ly/#operation/PaymentOperationAUTHPURC).

Below is a sample Withdrawal request.

```json
{
  "TransactionType": "ORIGINALCREDIT",
  "Currency": "NGN",
  "Amount": "50",
  "OrderReference": "Order002"
  "UniqueReference": "4b8da4f0-d3b4-44ae-8019-8c66905ffad7",
  "RedirectionURL": "https://yoururl.com/Redirect/",
  "CallBackURL": "https://yoururl.com/Listener",
  "FailRedirectionURL": "https://yoururl.com/Redirect/",
  "Language": "en",
  "Client": {
    "Email": "test@email.com",
    "FirstName": "John",
    "LastName": "Doe",
    "Country": "NGA",
    "MobileNo": "10449262289",
    "Street": "Street Name, 1",
    "City": "London",
    "IPAddress": "127.0.0.1"
  },
  "Routing": {
    "ForcePayment": "PAYSTACK"
  },
  "PaymentMethodData": {
    "BankCode": "057",
    "BeneficiaryAccountNumber": "0000000000"
  },
  "IsTest": "True"
}
```

## Test Credentials

No testing credentials are available for Paystack payments. Transaction reference will be generated, and a response pending will be received. Ask our support team to process the transaction for you to simulate a successful transaction.
