Skip to main content
POST
/
wallet
/
add-funds
Add Funds
curl --request POST \
  --url https://api.rolla.xyz/api/v1/external/wallet/add-funds \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "amount": 10000,
  "currency": "NGN",
  "description": "<string>",
  "externalReference": "<string>",
  "virtualAccountId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'
{
  "success": true,
  "message": "Funds addition initiated successfully",
  "data": {
    "transaction": {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "type": "deposit",
      "status": "pending",
      "amount": 123,
      "currency": "<string>",
      "description": "<string>",
      "created_at": "2023-11-07T05:31:56Z"
    },
    "paymentAccount": {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "accountName": "<string>",
      "accountNumber": "<string>",
      "bankName": "<string>",
      "currency": "<string>",
      "type": "<string>"
    }
  }
}
Initiate a deposit to add funds to your wallet. Specify the amount, currency, and optionally a specific virtual account to fund.

Example Request

curl -X POST "https://api.rolla.xyz/api/v1/external/wallet/add-funds" \
  -H "X-API-Key: your_api_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "amount": 10000,
    "currency": "NGN",
    "description": "Fund wallet for payroll",
    "externalReference": "FUND-2024-001"
  }'

Example Response

{
  "success": true,
  "message": "Funds addition initiated successfully",
  "data": {}
}
Use the externalReference field to track deposits in your system. The deposit may take a few moments to reflect in your wallet balance depending on the funding method.

Authorizations

X-API-Key
string
header
required

Your Rolla API key

Body

application/json
amount
number
required

Amount to deposit (positive number)

Example:

10000

currency
string
required

3-letter currency code

Required string length: 3
Example:

"NGN"

description
string

Optional description for the deposit

Maximum string length: 500
externalReference
string

Your unique reference

Maximum string length: 255
virtualAccountId
string<uuid>

Specific virtual account to fund

Response

Funds addition initiated successfully

success
boolean
Example:

true

message
string
Example:

"Funds addition initiated successfully"

data
object