Collections
Accept stablecoins at permanent addresses and deliver NGN to a bank account.
A collection gives one of your customers permanent deposit addresses. Pulse converts each stablecoin deposit and pays NGN to the bank account you choose. You need a test API key. You do not create a quote or an order for each deposit.
Add a payout account
Add the bank account that receives the NGN. Pulse verifies it with the bank and returns the registered name.
curl https://engine-api.pilot.pulseshiga.io/v1/recipients \
-H "X-API-Key: <your key>" \
-H "Content-Type: application/json" \
-d '{
"type": "bank_account",
"bank_account": { "bank_code": "058", "account_number": "0123456789" }
}'Check data.bank_account.account_name before you use the account. Store data.id.
Create a collection
Set reference to your own ID for the customer. A repeated reference returns the
same collection.
curl https://engine-api.pilot.pulseshiga.io/v1/collections \
-H "X-API-Key: <your key>" \
-H "Content-Type: application/json" \
-d '{
"reference": "user-48213",
"recipient_id": "0199d1a4-…",
"customer": { "name": "Ada Obi", "email": "ada@example.com" }
}'Show the customer every entry in data.deposit_addresses, with the networks each
one lists. The addresses never change.
Simulate a deposit
Test addresses cannot receive real crypto. Simulate a deposit to one of them.
curl https://engine-api.pilot.pulseshiga.io/v1/collections/deposits/simulate \
-H "X-API-Key: <your key>" \
-H "Content-Type: application/json" \
-d '{
"address": "0x64e6e8b84beb0ba8ab43a09d4b8a48aa23ecc394",
"asset": "USDT",
"network": "POLYGON",
"amount": "250"
}'The amount selects the outcome. See Testing for the held outcomes.
Track the deposit
Each deposit creates an offramp order. Consume webhooks. Each event
carries your collection reference, so you can match the deposit to your customer.
Stop at order.completed, or handle order.held.
To list a collection's deposits, filter orders by collection_id:
curl "https://engine-api.pilot.pulseshiga.io/v1/orders?collection_id=0199d1b7-…" \
-H "X-API-Key: <your key>"See Collections for payment limits, held payments, and collection management. Naira collections give the customer a permanent bank account, and pay a stablecoin for each naira transfer.