Paystack Lending API
The OpenAPI specification for creating a marketplace application using the [Paystack API](https://paystack.com/docs/api/). Prerequisites 1. Sign up on…
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
The OpenAPI specification for creating a marketplace application using the Paystack API.
Prerequisites
- Sign up on Paystack to get your secret API key
- Set your API key as an environment variable on Postman
The Partial Debits feature allows you to recover some revenue that would have otherwise been lost. It is currently available on request.
Endpoints 8
Transaction
- POSTInitialize Transaction
/transaction/initializeCreate a new transaction - POSTCharge Authorization
/transaction/charge_authorizationCharge all authorizations marked as reusable with this endpoint whenever you need to receive payments - POSTPartial Debit
/transaction/partial_debitRetrieve part of a payment from a customer
Bank
- GETResolve Account Number
/bank/resolve?account_number=22728151&bank_code=63Resolve an account number to confirm the name associated with it
Transfer Recipient
- GETList Transfer Recipients
/transferrecipient?use_cursor=true&next=string&previous=string&per_page=0&page=0List transfer recipients available on your integration - POSTCreate Transfer Recipient
/transferrecipientCreates a new recipient. A duplicate account number will lead to the retrieval of the existing record.
Transfer
- GETList Transfers
/transfer?use_cursor=true&next=string&previous=string&per_page=0&page=0&from=2024-01-01T00:00:00Z&to=2024-01-01T00:00:00Z&recipient=string&status=pendingList the transfers made on your integration - POSTInitiate Transfer
/transferSend money to your customers
API details
- Base URL
https://api.paystack.co- Authentication
- A bearer token in the Authorization header
- Operations
- 8 operations on 6 pathsPOST 5GET 3
- Main resources
- Transaction 3Transfer 2Transfer Recipient 2Bank 1
- Response formats
application/json- Description format
- OpenAPI 3.0.1, API version
1.0.0 - Links
- OpenAPI document
- Listed from
- Paystack's published OpenAPI description (PaystackOSS/openapi) (MIT)
How to test the Paystack Lending API in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the Paystack Lending API collection, without the publisher's secrets.
- Add your credentialsThis API uses A bearer token in the Authorization header. Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “Initialize Transaction” (POST /transaction/initialize), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the Paystack Lending API?
The OpenAPI specification for creating a marketplace application using the [Paystack API](https://paystack.com/docs/api/). Prerequisites 1. Sign up on… It is listed under Payments and has 8 endpoints.
Who publishes the Paystack Lending API?
It is listed from Paystack's public API description (an OpenAPI document), not published by Paystack on Swastik Codes. Anyone who controls paystack.com can claim the profile by adding a DNS TXT record.
What is the base URL of the Paystack Lending API?
Requests go to https://api.paystack.co. Endpoint paths are added to this base URL.
How do I authenticate with the Paystack Lending API?
With A bearer token in the Authorization header.
How many endpoints does the Paystack Lending API have?
8 operations on 6 paths (5 POST, 3 GET). The largest groups are Transaction, Transfer, Transfer Recipient, Bank.
Is forking the Paystack Lending API free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.