Bank deposit to onchain address
POST/workflows/bank-deposit-to-onchain-address
This endpoint sets up workflow which automatically converts fiat currency from bank deposits into cryptocurrency and sends the acquired crypto to the specified wallet address on the specified network. The workflow will be triggered automatically and indefinitely whenever a bank transfer is made to the bank account described in the response. The deposited amount will be traded for the specified cryptocurrency at the current market price after application of fees. Important:
- On-chain operations are irreversible
- Market prices may fluctuate significantly, impacting the final amount of cryptocurrency sent
- Although this endpoint should return the same bank details for the same customer we can't guarantee the longevity of those details. For this reason, every time you need to present the customer with the bank deposit details, you should use this endpoint to get them. If the customer reuses the bank details after they become invalid the transfer will fail and money will NOT be lost.
Request
- application/json
Body
required
- BTC/BTC_TEST
- USDC/USDC_TEST
- Bitcoin/BitcoinTest
- Lightning/LightningTest
- Ethereum/EthereumTestSepolia
- PolygonPos/PolygonTestAmoy
- OffNetwork/OffNetwork
A unique ID which identifies the customer in the Business' internal system and in NOAH.
Possible values: non-empty
and <= 36 characters
550e8400-e29b-41d4-a716-446655440000
Supported fiat ISO_4217 3 letter currency codes.
USD
Cryptocurrency (main/sandbox):
BTC
Payments network (main/sandbox):
Bitcoin
DestinationAddressobjectrequired
The final destination address to which the crypto currency should be transferred.
Address for transfer
bc1qw508d6qejxtdg4y5r3zarvary0c5xw7kv8f3t4
Responses
- 200
- application/json
- Schema
- Example (from schema)
Schema
- BankSepa
- BankLocal
- BankFedwire
- TokenizedCard
- IdentifierPix
Existing payment method id to be used.
Possible values: non-empty
and <= 150 characters
Specific type of payment method:
BankLocal
BankAddressobject
Street: the primary name of an address's street.
Possible values: >= 2 characters
and <= 200 characters
Street2: the secondary name of an address's street.
City: name of an address's city or town.
Possible values: non-empty
and <= 100 characters
PostCode: the address's postcode
Possible values: non-empty
and <= 20 characters
State: the address's state / province / county. For USA and Canada, state code in ISO 3166-2 code (e.g. CA) is required.
Possible values: non-empty
and <= 100 characters
ISO 3166-1 alpha-2 country code.
US
{
"PaymentMethodID": "string",
"PaymentMethodType": "BankLocal",
"Reference": "string",
"AccountNumber": "string",
"AccountHolderName": "string",
"BankCode": "string",
"BankName": "string",
"BankAddress": {
"Street": "string",
"Street2": "string",
"City": "string",
"PostCode": "string",
"State": "string",
"Country": "US"
}
}