Superfiliate

Add balance

Bearer authcustomers.write

Adds balance to a customer.

A "unique identifier" needs to be sent with it, it can be any string internal to you that we can use to guarantee that the balance is only added once. If the same unique identifier is sent twice, for the same customer, the second request will fail.

POSTapi.superfiliate.com/api/v1/customers/{id}/add_balance

Path parameters1

idrequired
integer

Body parametersapplication/json

  • valuestringrequired

    Between 0.01 and 99.99

  • unique_identifierstringrequired

    To avoid duplicate rewards.

Responses

Balance added

  • idinteger
  • emailstring

    Email address for this person.

  • phonestring | null

    Phone number for this person.

  • first_namestring | null

    Person's given name.

  • last_namestring | null

    Person's family name.

  • instagram_handlestring | null

    The instagram handle for this resource.

  • tiktok_handlestring | null

    The tiktok handle for this resource.

  • balancestring

    Store credit amount in wallet. Eg. "12.3", meaning $12.30

  • codestring | null

    May be blank if customer is not enrolled yet. Public, to share with friends/followers

  • microsite_urlstring | null

    May be blank if customer is not enrolled yet. Public, to share with friends/followers

  • reward_codestring | null

    May be blank if customer is not enrolled yet. Private, to redeem their wallet balance.

  • redeem_urlstring | null

    May be blank if customer is not enrolled yet. Private, to redeem their wallet balance.

  • campaign_idinteger | null

    May be blank if customer is not enrolled yet.

  • enrolled_atstring | null

    ISO8601 timestamp when customer was enrolled. May be blank if customer is not enrolled yet.

  • tagsarray of strings

    Customer tags added via the admin app