ambrus-api
  1. inner
ambrus-api
  • inner
    • create_merchant
      POST
    • get_token
      GET
    • get_merchant_info
      GET
    • save_file
      POST
    • savemerchantgame
      POST
    • query merchant game
      GET
    • gamelist
      GET
    • merchantStatus
      GET
    • game_detail
      GET
    • query_new_merchant
      GET
    • update_single_game
      POST
    • gameRank
      GET
    • /merchant/games/history/rank
      GET
    • /merchant/games/history/test
      POST
    • addWin
      POST
    • sign_code
      POST
    • get_sign
      GET
    • suiwallet_register
      POST
    • suiwallet/token
      GET
    • ludus_pay_query
      GET
    • ludus_reward
      POST
    • ludus/signature
      GET
  • outer
    • getNonce
      GET
    • login_zk
      POST
  • withoutkey
    • query social bind
      GET
    • merchant_login
      POST
    • save_params
      POST
    • querybysocialid
      GET
    • query_zk_info
      GET
    • query_zk_info Copy
      GET
  • sui
    • query_sui_events
    • submitgamescore
    • gameCode
    • rewrad_history
  • oracle
  • badmition
  • third_pay
    • app-verify-transaction
    • app_asdn-v2-callback
    • app_trigger-test-notification
    • google_callback
  • pay
    • user/project
    • rechargeOrder
    • user/project/level
    • user/deposit
    • getDepositaddress
    • user/orderComplete
    • game/pay/coins
    • game/tickets
    • minus_tickets
    • remainBalance
    • createOrder
    • customGoods
    • traceKey
    • customGoods_query
  • openloot
    • authorize2
    • clientToken
    • clientToken_serve
    • premium-currencies-balance
    • ambrus_openloot_login
    • getOpenlootUser
    • openloot/adopt_pet
    • openloot/pet_query
    • feed_pet
    • openloot/currencies_list
    • balances_item_balance
    • authorize2-chengdu
    • clientToken_serve-chengdu
    • clientToken-chengdu
    • openloot/accept
    • userInfo
    • openloot/tokens
    • openloot_rank
    • openloot_feed_log
  • warcast
    • auth
    • heroes_list
    • bind
    • unbind
    • nft_detail
    • upgrade
  1. inner

create_merchant

Developing
POST
/merchant/create

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json

Example
{
    "merchant_name":"test",
    "logo_url":"https://pink-ultimate-dove-351.mypinata.cloud/ipfs/QmQzejcXXMHebXE1M95ieMsJSzAE5ewkXK6tiL3mGaBrcu/2.png",
    "description":"edqweqweqweqweqweqwe",
    "back_ground_image":["testr1","test2"],
    "social_links":[{
        "name":"discord",
        "url":"test1"
    }]
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.ambrus.studio/v2-testing/merchant/create' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "merchant_name":"test",
    "logo_url":"https://pink-ultimate-dove-351.mypinata.cloud/ipfs/QmQzejcXXMHebXE1M95ieMsJSzAE5ewkXK6tiL3mGaBrcu/2.png",
    "description":"edqweqweqweqweqweqwe",
    "back_ground_image":["testr1","test2"],
    "social_links":[{
        "name":"discord",
        "url":"test1"
    }]
}'

Responses

🟢200Success
application/json
Body

Example
{}
Modified at 2025-03-21 10:27:57
Next
get_token
Built with