Skip to main content

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 crypto currency 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

Body

required
    CustomerID CustomerID (string)required

    A unique ID which identifies the customer in the Business' internal system and in NOAH.

    Possible values: non-empty and <= 36 characters

    Example: 550e8400-e29b-41d4-a716-446655440000
    FiatCurrency FiatCurrencyCode (string)required

    Supported fiat ISO_4217 3 letter currency codes.

    Example: USD
    CryptoCurrency CryptoCurrencyCode (string)required

    Cryptocurrency code:

    • BTC
    • USDC
    Example: BTC
    Network Network (string)required

    Payments network:

    • Bitcoin
    • Lightning
    • Ethereum
    • PolygonPos
    • OffNetwork
    Example: Bitcoin
    DestinationAddressobjectrequired

    A destination address to transfer crypto currency

    Address Address (string)required

    Address for transfer

    Example: bc1qw508d6qejxtdg4y5r3zarvary0c5xw7kv8f3t4

Responses

Created rule
Schema
    PaymentMethodID FiatPaymentMethodID (string)required

    Existing payment method id to be used.

    Possible values: non-empty and <= 150 characters

    System PaymentMethodType (string)required

    Specific type of payment method:

    • BankSepa
    • BankLocal
    • BankFedwire
    • TokenizedCard
    • IdentifierPix
    Example: BankLocal
    Reference string
    AccountNumber stringrequired
    AccountHolderName string
    BankCode string
Loading...