Full request/response examples for Node.js, Python, and PHP are in our interactive API reference. Below are abbreviated snippets โ copy the patterns into your stack or open the docs for live testing.
Node.js โ local transfer
const numero = new Numero({
apiKey: process.env.NUMERO_API_KEY
});
const transfer = await numero.transfers.create({
amount: 1000,
currency: 'NGN',
recipientAccount: 'recipient_account',
description: 'Local business payment'
});
console.log('Transfer initiated:', transfer.id);Python โ virtual account
from numero import Numero
numero = Numero(api_key=os.getenv('NUMERO_API_KEY'))
account = numero.accounts.create({
customer_id: 'cust_123',
account_type: 'business',
currency: 'NGN'
})
print(f'Account created: {account.id}')PHP โ international transfer
<?php
use Numero\Numero;
$numero = new Numero($_ENV['NUMERO_API_KEY']);
$transfer = $numero->transfers->create([
'amount' => 1000,
'currency' => 'USD',
'recipientCountry' => 'US'
]);
echo "Transfer initiated: " . $transfer->id;