Skip to main content

Send hoopoints​

Send hoopoints

Header Parameters
  • Accept string
    Example: application/json
Request Body
  • recipients string[]

    List of emails you want to send hoopoints.

  • amount integer

    Amount of hoopoints

Responses

Created


Schema
  • success boolean

    Check if the response is a success or not.

  • data object
  • transactions object[]
  • Array [
  • id int64

    Id of the transaction

  • organization object
  • id int64

    Id of the organization

  • name string

    Name of the organization

  • is_disabled boolean

    If organization is disabled or not.

  • is_suspended boolean

    If organization is suspended or not.

  • balance integer

    Current balance of the organization

  • last_refill integer

    Balance on the last refill

  • created_at string

    Date of the creation

  • recipient object nullable

    User with the minimum of informations

  • id int64

    Id of the user

  • first_name string

    First name of the user

  • last_name string

    Last name of the user

  • email string nullable

    Email of the user when a transaction is sent to a user that don't have any account on Hoostr.

  • amount number

    Amount of hoopoints sent.

  • debited boolean

    Check if the transaction has been debited to the organization. If the organization has not enought hoopoints credited on, it can't be debited.

  • credited boolean

    Check if the transaction has been credited. If the recipient don't have account, or if the transaction is not debited, then, the transaction is not credited.

  • allocated boolean

    Check if the transaction has been allocated. If the hoopoints is debited but the recipient don't have account. Transaction is not allocated.

  • sender object nullable

    Send of the transaction. If null, it means the transaction as been sent automatically with the API

  • id int64

    Id of the user

  • first_name string

    First name of the user

  • last_name string

    Last name of the user

  • label string nullable

    A label allow to identify the transaction. This attribute is not implemented yet.

  • sandbox boolean

    Check if the transaction is in mode "sandbox". That mean the dev api key has been used and the transaction is fake.

  • created_at string

    Date where the transaction has been sent

  • ]
  • amount integer

    Sum of of each hoopoints issued in the transaction

  • current_balance integer

    Current balance of the organization

  • errors object nullable

    Errors in the api request

  • property name* object nullable
  • Array [
  • string
  • ]
  • additional_data object nullable

    Additional data

  • property name* object nullable
  • Array [
  • string
  • ]
Loading...