Comment on page
🏦
Bank Payouts
Transfer directly to bank account using our payouts APIs
The amount collected in your Lazerpay account from all the incoming transactions can also be withdrawn directly to your bank account. In order to make bank payouts, you can use our payouts API endpoint or our official NodeJS SDK
Currently, only some banks and currencies are supported. To list all the countries, banks, and supported currencies, use our get APIs listed below.
Currently we only support USDTs for bank payouts, if you have any other token in your account use our SWAP API to first convert it to USDT before initiating a bank payout.
post
https://api.lazerpay.engineering/api/v1/bank/payouts
Add a new bank account to receive payouts
// USD Payload
{
"bank_name": "bank name",
"account_name": "account name",
"account_number": "account number",
"currency": "USD",
"country": "united states",
"account_type": "personal",
"routing_number": "routing number",
"city": "city",
"state": "state",
"address": "address",
"postal_code": "postal code"
}
// NGN Payload
{
"bank_name": "bank name",
"bank_code": "bank code",
"account_name": "account name",
"account_number": "account number",
"currency": "NGN",
"country": "nigeria",
"state": "state"
}
// GHS Payload
{
"bank_name": "bank name",
"bank_code": "bank code",
"account_name": "account name",
"account_number": "account number",
"currency": "GHS",
"address": "address",
"country": "ghana",
"street": "Street",
"city": "city",
"postal_code": "postal code"
}
get
https://api.lazerpay.engineering/api/v1/bank/payouts
Retrieve all the bank payouts associated with your account as Payout IDs
var request = require('request');
var options = {
'method': 'POST',
'url': 'https://api.lazerpay.engineering/api/v1/bank/payouts',
'headers': {
},
body: '{\n "bank_name": "Kuda Bank",\n "bank_code": "090267",\n "account_name": "suleiman abdulfatai",\n "account_number": "2001670835",\n "currency": "NGN",\n "country": "Nigeria",\n "default": true\n}'
};
request(options, function (error, response) {
if (error) throw new Error(error);
console.log(response.body);
});
curl --location --request GET 'https://api.lazerpay.engineering/api/v1/bank/payouts'
get
https://api.lazerpay.engineering/api/v1/bank/payouts/:id
This is to get Bank payout by id
delete
https://api.lazerpay.engineering/api/v1/bank/payouts
Delete one or more existing bank payout using payout ids
patch
https://api.lazerpay.engineering/api/v1/bank/payouts
/<bank_payout_id>
Update an existing bank payout associated with your account
get
https://api.lazerpay.engineering/api/v1/bank/payouts/countries
Get a list of all the supported countries that supports bank payouts and respective currencies
get
https://api.lazerpay.engineering/api/v1/bank/payouts/currencies
Get a list of all the supported currencies for bank payouts
get
https://api.lazerpay.engineering/api/v1/bank?country=<supported_country_name>
Get a list of supported banks in a country
get
https://api.lazerpay.engineering/api/v1/bank/payouts/rate?coin={coin_name}¤cy={supported_currency}
Get current Exchange rates
post
https://api.lazerpay.engineering/api/v1/
bank/payouts/initiate
Initiate a bank payout
curl --location --request POST 'https://api.lazerpay.engineering/api/v1/bank/payouts/initiate' \
--data-raw '{
"payout_bank_id": "2e7fa635-XXX-4788-a4ac-XXXXX",
"coin": "USDT",
"amount": 100,
"reference": "<string optional>",
"metadata": "<object optional>"
}'
Last modified 9mo ago