FOMO API (v20250702)
    FOMO API (v20250702)
    • Authorization
    • Webhook
    • API
      • Account
        • Retrieve an account
        • List accounts
      • Balance
        • Retrieve a balance
        • List balances
      • Transaction
        • Retrieve a transaction
        • List transactions
      • Virtual Account
        • Retrieve a virtual account
        • List virtual accounts
      • Beneficiary
        • Beneficiary Acocunt
          • List beneficiary accounts
          • Retrieve a beneficiary account
        • List beneficiaries
        • Retrieve a beneficiary
      • Account Holder
        • Retrieve an account holder
        • List account holders
      • Outgoing Transfer
        • List outgoing transfers
        • Retrieve an outgoing transfer
      • Webhook
        • Retrieve a webhook
        • List webhooks
      • Intent
        • Account Holder Creation
          • Create an account holder creation intent
          • Get an account holder creation intent
          • Confirm an account holder creation intent
        • Outgoing Transfer Creation
          • Create an outgoing transfer creation intent
          • Get an outgoing transfer creation intent
          • Confirm an outgoing transfer creation intent
        • Virtual Account Creation
          • Create a virtual account creation intent
          • Set account holder for virtual account creation intent
          • Get a virtual account creation intent
          • Confirm a virtual account creation intent
        • Virtual Account Update
          • Create a virtual account update intent
          • Set account holder for virtual account update intent
          • Get a virtual account update intent
          • Confirm a virtual account update intent
        • Beneficiary Creation
          • Create a beneficiary creation intent
          • Get a beneficiary creation intent
          • Confirm a beneficiary creation intent
        • Beneficiary Account Creation
          • Create a beneficiary account creation intent
          • Get a beneficiary account creation intent
          • Confirm a beneficiary account creation intent

    Webhook

    Webhooks are a way for your apps to get notified of events. Such as when:
    a new transaction has been posted to your account
    a pending transaction has been cancelled
    your account balance has changed
    a virtual account has been created
    a virtual account has been suspended due to suspicious transaction
    and much more ...
    If you would like to opt-in for webhook events, you may do so by contacting your account manager. They will assist setting up your webhooks and provide you a secret for each of the webhooks.
    You may register for more than one webhooks. Each webhook may listen for a different set of events and post to a different destination.
    Webhook events will be notified to all matching webhooks by HTTP POST.

    Webhook payload#

    WebhookEvent

    Verifying webhook notifications#

    Webhook notifications carry the following headers
    KeyValue
    x-fomo-webhook-version1
    x-fomo-webhook-signatureSignature in hexadecimal
    content-typeapplication/json
    The signature is calculated by applying HMAC-SHA256 to the webhook payload (HTTP body) using the secret for the webhook.
    If you have multiple webhooks configured, please make sure you are using the correct secret for each of the webhooks.
    If the computed signature does not match the signature provided in the webhook header, the message must be rejected, as it may indicate payload tampering.

    Webhook delivery#

    Notifications will be retried multiple times if FOMO did not get a successful acknowledgement from the webhook endpoint. The interval between each notification increases exponentially.
    You may acknowledge the webhook event by responding HTTP status 200 to the notification. By acknowledging the webhook event, the same webhook event will not be notified again. However, you must be able to handle cases where the same event is notified multiple times. You may identify if events in multiple notifications are the same by checking the event id. Each event carries an unique event id.
    Previous
    Authorization
    Next
    Retrieve an account
    Built with