Skip to main content
POST
/
v2
/
users
/
{userId}
/
accounts
Create an account
curl --request POST \
  --url https://production.hifibridge.com/v2/users/{userId}/accounts \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "rail": "onramp",
  "type": "us",
  "accountHolder": {
    "type": "individual",
    "name": "<string>",
    "email": "jsmith@example.com",
    "phone": "<string>",
    "address": {
      "addressLine1": "<string>",
      "addressLine2": "<string>",
      "city": "<string>",
      "stateProvinceRegion": "<string>",
      "postalCode": "<string>",
      "country": "<string>"
    },
    "idType": "CC",
    "idNumber": "<string>"
  },
  "us": {
    "transferType": "ach",
    "accountType": "Checking",
    "accountNumber": "<string>",
    "routingNumber": "<string>",
    "iban": "<string>",
    "swiftCode": "<string>",
    "bankName": "<string>",
    "bankAddress": {
      "addressLine1": "<string>",
      "addressLine2": "<string>",
      "city": "<string>",
      "stateProvinceRegion": "<string>",
      "postalCode": "<string>",
      "country": "<string>"
    },
    "currency": "usd"
  },
  "brazil": {
    "pixKey": "<string>",
    "currency": "brl"
  },
  "colombia": {
    "bankName": "MOVII",
    "bankCode": "<string>",
    "accountNumber": "<string>",
    "accountType": "checking",
    "currency": "cop"
  },
  "argentina": {
    "accountType": "CVU",
    "accountNumber": "<string>",
    "currency": "ars"
  },
  "mexico": {
    "speiProtocol": "clabe",
    "speiInstitutionCode": "<string>",
    "speiClabe": "<string>",
    "currency": "mxn"
  },
  "africa": {
    "financialInstitute": "<string>",
    "accountType": "momo",
    "accountNumber": "<string>",
    "currency": "<string>",
    "country": "<string>"
  },
  "brazilGlobalNetwork": {
    "email": "jsmith@example.com",
    "phone": "<string>",
    "pix": "<string>",
    "currency": "brl"
  },
  "nigeriaGlobalNetwork": {
    "bankName": "<string>",
    "accountNumber": "<string>",
    "currency": "ngn"
  },
  "mexicoGlobalNetwork": {
    "speiClabe": "<string>",
    "currency": "mxn"
  },
  "hongKongGlobalNetwork": {
    "bankName": "<string>",
    "accountNumber": "<string>",
    "swiftCode": "<string>",
    "currency": "hkd"
  }
}'
{
  "status": "ACTIVE",
  "message": "Account created successfully",
  "id": "583eb259-e78b-4f0c-a4b5-a8957876fa6f"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

userId
string
required

ID of the user

Body

application/json
  • Account
  • US Offramp Account
  • Brazil Offramp Account
  • Brazil Global Network Individual Account
  • Brazil Global Network Business Account
  • Colombia Offramp Account
  • Argentina Offramp Account
  • Mexico Offramp Account
  • Mexico Global Network Individual Account
  • Mexico Global Network Business Account
  • Nigeria Global Network Individual Account
  • Nigeria Global Network Business Account
  • Hong Kong Global Network Individual Account
  • Hong Kong Global Network Business Account
  • China Global Network Individual Account
  • China Global Network Business Account
  • Africa Onramp Account
  • Africa Offramp Account
rail
enum<string>
required
Available options:
onramp,
offramp
type
enum<string>
required

The type of account to create. The value of this field should match the acount info object field submitted. eg. if the type is us, only the us account object should be filled.

Available options:
us,
brazil,
columbia,
argentina,
mexico,
africa,
brazilGlobalNetwork,
nigeriaGlobalNetwork,
mexicoGlobalNetwork,
hongKongGlobalNetwork
accountHolder
object

account holder information.

us
object

US account.

brazil
object

Brazil account.

colombia
object

Colombia account.

argentina
object

Argentina account.

mexico
object

Mexico account.

africa
object

Africa account.

brazilGlobalNetwork
object

Brazil Global Network account.

nigeriaGlobalNetwork
object

Nigeria Global Network account.

mexicoGlobalNetwork
object

Mexico Global Network account.

hongKongGlobalNetwork
object

Hong Kong Global Network account.

Response

Success

status
string
message
string
id
string
I