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": "[email protected]",
"phone": "<string>",
"address": {
"addressLine1": "<string>",
"city": "<string>",
"stateProvinceRegion": "<string>",
"postalCode": "<string>",
"country": "<string>",
"addressLine2": "<string>"
},
"idType": "CC",
"idNumber": "<string>"
},
"us": {
"transferType": "ach",
"accountType": "Checking",
"bankName": "<string>",
"currency": "usd",
"accountNumber": "<string>",
"routingNumber": "<string>",
"iban": "<string>",
"swiftCode": "<string>",
"bankAddress": {
"addressLine1": "<string>",
"city": "<string>",
"stateProvinceRegion": "<string>",
"postalCode": "<string>",
"country": "<string>",
"addressLine2": "<string>"
}
},
"africa": {
"financialInstitute": "<string>",
"accountType": "momo",
"currency": "<string>",
"country": "<string>",
"accountNumber": "<string>"
},
"fiat": {
"transferType": "ach",
"accountType": "Checking",
"bankName": "<string>",
"currency": "usd",
"accountNumber": "<string>",
"routingNumber": "<string>",
"iban": "<string>",
"swiftCode": "<string>",
"bankAddress": {
"addressLine1": "<string>",
"city": "<string>",
"stateProvinceRegion": "<string>",
"postalCode": "<string>",
"country": "<string>",
"addressLine2": "<string>"
}
},
"recipient": {
"transferType": "ach",
"accountType": "Checking",
"bankName": "<string>",
"currency": "usd",
"accountNumber": "<string>",
"routingNumber": "<string>",
"iban": "<string>",
"swiftCode": "<string>",
"bankAddress": {
"addressLine1": "<string>",
"city": "<string>",
"stateProvinceRegion": "<string>",
"postalCode": "<string>",
"country": "<string>",
"addressLine2": "<string>"
}
},
"brazilGlobalNetwork": {
"currency": "brl",
"transferType": "pix",
"email": "[email protected]",
"phone": "<string>",
"pix": "<string>"
},
"nigeriaGlobalNetwork": {
"transferType": "bank",
"currency": "ngn",
"bankName": "<string>",
"accountNumber": "<string>"
},
"mexicoGlobalNetwork": {
"transferType": "spei",
"currency": "mxn",
"speiClabe": "<string>"
},
"hongKongGlobalNetwork": {
"bankName": "<string>",
"accountNumber": "<string>",
"swiftCode": "<string>",
"currency": "hkd",
"bankCode": "<string>",
"transferType": "chats"
},
"singaporeGlobalNetwork": {
"transferType": "bank",
"currency": "usd",
"bankName": "<string>",
"accountNumber": "<string>",
"swiftCode": "<string>"
},
"italyGlobalNetwork": {
"transferType": "swift",
"currency": "usd",
"bankName": "<string>",
"iban": "<string>",
"swiftCode": "<string>"
},
"spainGlobalNetwork": {
"transferType": "swift",
"currency": "usd",
"bankName": "<string>",
"iban": "<string>",
"swiftCode": "<string>"
},
"germanyGlobalNetwork": {
"transferType": "swift",
"currency": "usd",
"bankName": "<string>",
"iban": "<string>",
"swiftCode": "<string>"
},
"unitedArabEmiratesGlobalNetwork": {
"transferType": "swift",
"currency": "usd",
"bankName": "<string>",
"iban": "<string>",
"swiftCode": "<string>"
}
}
'{
"status": "ACTIVE",
"message": "Account created successfully",
"id": "583eb259-e78b-4f0c-a4b5-a8957876fa6f"
}Create an onramp or offramp account for different account types by providing your bank account information.
Note for fiat accounts: When type is fiat and rail is offramp, this endpoint adds an offramp beneficiary to an existing fiat account. The user must have an active fiat account (created via POST /v2/users//fiat-accounts) before adding a beneficiary. Beneficiaries are used to send funds from the fiat account via the transfer endpoint.
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": "[email protected]",
"phone": "<string>",
"address": {
"addressLine1": "<string>",
"city": "<string>",
"stateProvinceRegion": "<string>",
"postalCode": "<string>",
"country": "<string>",
"addressLine2": "<string>"
},
"idType": "CC",
"idNumber": "<string>"
},
"us": {
"transferType": "ach",
"accountType": "Checking",
"bankName": "<string>",
"currency": "usd",
"accountNumber": "<string>",
"routingNumber": "<string>",
"iban": "<string>",
"swiftCode": "<string>",
"bankAddress": {
"addressLine1": "<string>",
"city": "<string>",
"stateProvinceRegion": "<string>",
"postalCode": "<string>",
"country": "<string>",
"addressLine2": "<string>"
}
},
"africa": {
"financialInstitute": "<string>",
"accountType": "momo",
"currency": "<string>",
"country": "<string>",
"accountNumber": "<string>"
},
"fiat": {
"transferType": "ach",
"accountType": "Checking",
"bankName": "<string>",
"currency": "usd",
"accountNumber": "<string>",
"routingNumber": "<string>",
"iban": "<string>",
"swiftCode": "<string>",
"bankAddress": {
"addressLine1": "<string>",
"city": "<string>",
"stateProvinceRegion": "<string>",
"postalCode": "<string>",
"country": "<string>",
"addressLine2": "<string>"
}
},
"recipient": {
"transferType": "ach",
"accountType": "Checking",
"bankName": "<string>",
"currency": "usd",
"accountNumber": "<string>",
"routingNumber": "<string>",
"iban": "<string>",
"swiftCode": "<string>",
"bankAddress": {
"addressLine1": "<string>",
"city": "<string>",
"stateProvinceRegion": "<string>",
"postalCode": "<string>",
"country": "<string>",
"addressLine2": "<string>"
}
},
"brazilGlobalNetwork": {
"currency": "brl",
"transferType": "pix",
"email": "[email protected]",
"phone": "<string>",
"pix": "<string>"
},
"nigeriaGlobalNetwork": {
"transferType": "bank",
"currency": "ngn",
"bankName": "<string>",
"accountNumber": "<string>"
},
"mexicoGlobalNetwork": {
"transferType": "spei",
"currency": "mxn",
"speiClabe": "<string>"
},
"hongKongGlobalNetwork": {
"bankName": "<string>",
"accountNumber": "<string>",
"swiftCode": "<string>",
"currency": "hkd",
"bankCode": "<string>",
"transferType": "chats"
},
"singaporeGlobalNetwork": {
"transferType": "bank",
"currency": "usd",
"bankName": "<string>",
"accountNumber": "<string>",
"swiftCode": "<string>"
},
"italyGlobalNetwork": {
"transferType": "swift",
"currency": "usd",
"bankName": "<string>",
"iban": "<string>",
"swiftCode": "<string>"
},
"spainGlobalNetwork": {
"transferType": "swift",
"currency": "usd",
"bankName": "<string>",
"iban": "<string>",
"swiftCode": "<string>"
},
"germanyGlobalNetwork": {
"transferType": "swift",
"currency": "usd",
"bankName": "<string>",
"iban": "<string>",
"swiftCode": "<string>"
},
"unitedArabEmiratesGlobalNetwork": {
"transferType": "swift",
"currency": "usd",
"bankName": "<string>",
"iban": "<string>",
"swiftCode": "<string>"
}
}
'{
"status": "ACTIVE",
"message": "Account created successfully",
"id": "583eb259-e78b-4f0c-a4b5-a8957876fa6f"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
ID of the user
Create an onramp or offramp account for different account types.
Note for fiat accounts: When type is fiat and rail is offramp, this adds an offramp beneficiary account to an existing fiat account. The user must have an active fiat account before adding a beneficiary.
onramp, offramp The type of account.
us, africa, fiat, recipient, brazilGlobalNetwork, nigeriaGlobalNetwork, mexicoGlobalNetwork, hongKongGlobalNetwork, chinaGlobalNetwork, singaporeGlobalNetwork, italyGlobalNetwork, spainGlobalNetwork, germanyGlobalNetwork, unitedArabEmiratesGlobalNetwork account holder information.
Show child attributes
US account.
Show child attributes
Africa account.
Show child attributes
Fiat account (uses us account schema).
Show child attributes
Recipient account (uses us account schema).
Show child attributes
Brazil Global Network account.
Show child attributes
Nigeria Global Network account.
Show child attributes
Mexico Global Network account.
Show child attributes
Hong Kong Global Network account.
Show child attributes
Singapore Global Network account.
Show child attributes
Italy Global Network account.
Show child attributes
Spain Global Network account.
Show child attributes
Germany Global Network account.
Show child attributes
United Arab Emirates Global Network account.
Show child attributes