Assign funding sources

Assigns a fund source to a user's subwallet. This endpoint links a specific funding configuration, such as a static crypto address, to the user's wallet using the provided wallet, chain, currency, and account reference. User KYC information can also be provided as part of the fund source configuration.

Request

Method: POST

Endpoint:

{{base_url}}/api/v1/user/subwallet-fund-source

Headers

HeaderTypeRequiredDescription
x-merchant-refStringYesYour unique merchant reference.

This endpoint does not require an Authorization header.

Request Body

{
  "user_ref": "{{vault:Merchant-user-ref}}",
  "wallet_id": "LBWEUSD:MOB677851297ADB454BB35E1EEE16214E9B00EJU",
  "fund_type": "STATIC_CRYPTO_ADDRESS",
  "chain": "MOB",
  "currency": "EUSD",
  "account_reference": "SEUSD0000012301-500-93",
  "user_kyc": {
    "name": "Teslim Ayantola",
    "email": "[email protected]",
    "address": "No 6 sars road",
    "phone": "2348064642044",
    "bvn": "22300671781",
    "dob": "1987-05-03"
  }
}

Request Fields

FieldTypeRequiredDescription
user_refStringYesUnique reference of the user whose wallet the fund source will be assigned to.
wallet_idStringYesUnique identifier of the user's subwallet.
fund_typeStringYesType of fund source being assigned.
chainStringYesBlockchain or network associated with the fund source.
currencyStringYesCurrency supported by the fund source.
account_referenceStringYesReference identifying the funding account.
user_kycObjectYesKYC information associated with the fund source.
user_kyc.nameStringYesUser's full name.
user_kyc.emailStringYesUser's email address.
user_kyc.addressStringYesUser's residential address.
user_kyc.phoneStringYesUser's phone number.
user_kyc.bvnStringYesUser's Bank Verification Number.
user_kyc.dobStringYesUser's date of birth.

Response

Success Response

{
  "user_ref": "{{vault:Merchant-user-ref}}",
  "wallet_id": "LBWEUSD:MOB677851297ADB454BB35E1EEE16214E9B00EJU",
  "fund_type": "STATIC_CRYPTO_ADDRESS",
  "chain": "MOB",
  "currency": "EUSD",
  "account_reference": "SEUSD0000012301-500-93",
  "user_kyc": {
    "name": "Teslim Ayantola",
    "email": "[email protected]",
    "address": "No 6 sars road",
    "phone": "2348064642044",
    "bvn": "22300671781",
    "dob": "1987-05-03"
  }
}

Response Fields

FieldTypeDescription
user_refStringUnique reference of the user associated with the fund source.
wallet_idStringUnique identifier of the wallet to which the fund source was assigned.
fund_typeStringType of fund source assigned to the wallet.
chainStringBlockchain or network associated with the fund source.
currencyStringCurrency supported by the fund source.
account_referenceStringReference identifying the funding account.
user_kycObjectKYC information associated with the fund source.
user_kyc.nameStringUser's full name.
user_kyc.emailStringUser's email address.
user_kyc.addressStringUser's residential address.
user_kyc.phoneStringUser's phone number.
user_kyc.bvnStringUser's Bank Verification Number.
user_kyc.dobStringUser's date of birth.

Did this page help you?