Get Available Assignable Virtual Account

This endpoint is used to fetch free/available virtual accounts from your account pool.

POST https://exchanger-api.fuspay.finance/api/v1/no-auth/PartnerP2P/GetCollectionPoolAccounts?choose_bank=All/

This gives you ability to assign virtual account number to a collection order.

Virtual Account Number are used once until an order is fulfilled or timeout

This endpoint also gives you the ability to decide the bank generating the virtual account. if choose_bank=All virtual accounts from all bank partners (GTB, Globus) would be returned; However if set to GTB, only VAs from GTB would be returned.

Query Parameters

NameTypeDescription

choose_bank

String

to select the bank providing the virtual account eg choose_bank =GTB. This would return virtual accounts from GTB only

Headers

NameTypeDescription

Authorization*

String

Bearer pk_partner_xxx

Content-Type*

String

application/json

Request Body

NameTypeDescription

intrapay_merchant_id*

Number

merchant id on Intrapay (this is different per account)

signature*

String

SHA-512 of request payload signed with both merchant and partner secret key(SK_merchant_xxx+SK_partner_xxx)

partner_id

String

the partners id from partner onbaording endpoint

Response {
	"success": true,
	"message": "Collection Pool Accounts",
	"data": [
		{
			"virtual_account_id": xxx,
			"account_name": "xxxxx",
			"account_number": "xxxxxx",
			"status": "ACTIVE"
		},
        ....
    ]
}


//Active means account is not being used and is available for use 

Example Request- Code

Last updated