Skip to main content

Overview

The Transfer class provides methods for interacting with Paystack’s Transfer API. This module allows you to initiate single and bulk transfers, finalize transfers with OTP, list transfers, and verify transfer status.

Methods

initiate

Initiates a transfer to a recipient.
TransferInitiateInput
required
The transfer details.
object
Example Usage:

finalize

Finalizes a transfer with an OTP.
TransferFinalizeInput
required
The transfer finalization details.
object
Example Usage:

initiateBulk

Initiates a bulk transfer to multiple recipients.
TransferBulkInitiateInput
required
The bulk transfer details.
array
Array of transfer result objects
Example Usage:

list

Lists transfers made on your integration.
TransferListInput
required
Query parameters for listing transfers.
array
Array of transfer objects
Example Usage:

getTransferById

Retrieves a single transfer by ID or code.
string
required
The ID or code of the transfer
object
Example Usage:

verify

Verifies the status of a transfer using its reference.
string
required
The reference of the transfer to verify
object
Complete transfer object with all details (same structure as getTransferById response)
Example Usage:

Transfer Flow

Here’s a typical flow for initiating and completing a transfer: