List brands

get/v1/brands

Responses

  • 200OKobject
    Show the fields
    object"list"
    dataarray of Brand
    Fields of data
    idstring (uuid)
    object"brand"
    namestring
    display_namestring | null
    support_emailstring | null
    statusactive | archived
    is_defaultboolean

    The business itself, created at signup with the business name. Can't be archived; anything without a brand belongs to it.

    settlement_bank_accountstring (uuid) | null

    Where this brand's naira settles; null uses the business's settlement account.

    categoryretail_ecommerce | fashion_beauty | food_restaurants | supermarkets | education | healthcare_pharmacy | travel_transport | hotels_hospitality | logistics | software_saas | digital_services | media_entertainment | events_tickets | real_estate | construction | agriculture | manufacturing | professional_services | legal | accounting_audit_tax | jewellery_precious_metals | car_dealers | religious_organisation | ngo_charity | other | betting_gaming | crypto_digital_assets | forex_investment | lending_credit | money_transfer or null
    descriptionstring | null
    websitestring | null
    social_urlstring | null
    support_phonestring | null
    business_name_numberstring | null
    reviewBrandReview
    created_atstring (date-time)
    has_moreboolean
bash
curl https://sandbox.api.biftpay.com/v1/brands \
  -H "Authorization: Bearer bp_test_..."
response
{
  "object": "list",
  "data": [
    {
      "id": "…",
      "object": "brand",
      "name": "…",
      "status": "active",
      "is_default": true,
      "settlement_bank_account": "…",
      "review": {
        "status": "draft",
        "reason": "…",
        "risk": "low",
        "licence_needed": "…",
        "requirements": [
          "licence"
        ],
        "submitted_at": "…",
        "reviewed_at": "…"
      },
      "created_at": "…"
    }
  ]
}

Move available funds from one of your brands to another

post/v1/brands/move

Instant and free (no bank involved): the funds leave one brand's available balance and land in the other's, so it can be paid out in one go. Both brands' statements show the move. Only available funds move. insufficient_funds when the brand doesn't have that much; brand_suspended (live) when the brand to move from is suspended.

Parameters

Idempotency-Keystringin headerrequired

A unique key per logical request, for example a UUID. Up to 255 characters.

up to 255 characters

Body

from_brandstring (uuid)required
to_brandstring (uuid)required
amountintegerrequired

Minor units (kobo or cents).

at least 1

currencyNGN | USD

default "NGN"

notestring

Shown on both brands' statements.

up to 140 characters

Responses

  • 201Movedobject
    Show the fields
    object"brand_move"
    idstring (uuid)
    livemodeboolean
    from_brandstring (uuid)
    to_brandstring (uuid)
    amountinteger

    Minor units (kobo, cents).

    at least 0

    currencystring
    entrystring (uuid)
    created_atstring (date-time)
  • 400Invalid request
  • 409The object is in a state that doesn't allow this
bash
curl -X POST https://sandbox.api.biftpay.com/v1/brands/move \
  -H "Authorization: Bearer bp_test_..." \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
    "from_brand": "…",
    "to_brand": "…",
    "amount": 1
  }'
response
{
  "object": "brand_move",
  "id": "…",
  "livemode": true,
  "from_brand": "…",
  "to_brand": "…",
  "amount": 0,
  "currency": "…",
  "created_at": "…"
}