API
Čeština
Čeština
  • Úvod
  • Požadavky na používání rozhraní API
  • Autorizace zákazníka
  • Vytvoření faktury a provedení platby
  • API reference
    • Currency
      • Chain
      • Coin
      • Tokens
    • Api
      • Balance
        • Coin
        • Fiat
        • General
        • State
          • User
        • Available
          • Off
          • Set
        • Default
          • Off
          • Set
      • Country
        • Id
        • Sepa
      • Notification
        • Unread
      • Product
        • Favorite
        • Onboarding
      • Referral
        • Statistics
      • Subscribe
        • Info
      • Support
      • Tfa
        • Otp
        • Type
      • Timezone
        • Set
      • Transfer
        • Exchange
          • Course
        • Check
          • Recipient
      • Wallet
      • Blockchain
        • Multisigs
        • Operations
          • Types
      • Docs
        • List
          • Status
        • Profile
          • Contract
          • Questionnaire
            • Confirm
        • Show
      • Owner
        • Currency
          • Tokens
        • Info
          • Avatar
        • Subtype
        • Type
      • Pay
        • M pos
          • All
          • Statistic
          • Statistics
          • Status
            • Available
        • Pay form
          • Info
          • Statistic
          • Statistics
          • Status
            • Available
        • Pay link
          • Coins
          • Info
          • Return
          • Reusable
          • Search
          • Statistic
          • Statistics
          • Temporary
          • Status
            • Available
        • Business wallet
          • Statistic
          • Statistics
      • Personal
        • Email
          • Otp
            • Check
        • Psw
          • Otp
            • Check
      • Receive
        • Create
      • Report
        • Excel
      • User
        • Delete
        • Info
          • Avatar
        • Invite
          • List
          • Role
          • Send
        • List
      • Withdrawal
        • Sepa
          • Commission
          • Template
    • Auth
      • Log out
      • Qrcode
      • Sign in
        • Psw
          • Check
      • Recovery
        • Psw
          • Otp
            • Check
      • Sign up
        • Check
        • Email
          • Check code
          • Get code
        • Owner
          • Update
        • Pss
          • Set
        • User
          • Update
      • Token
        • Check
        • Refresh
      • Tfa
        • Otp
          • Email
    • Invoice
      • Create
      • Pay
      • Receive
    • Tfa
      • Reset
      • Otp
        • Reset
          • Id
    • External
      • Transfer
        • Info
        • Check
          • Send
    • Notify
      • Compliance
        • Identify
    • Paylink
      • External environment
        • Info
        • M pos prepay
        • Pay form prepay
  • Specification
Powered by GitBook
On this page
  1. API reference
  2. Api

Referral

PreviousOnboardingNextStatistics
  • POSTGet information about all referrals
  • GETGet information about a referral

Get information about a referral

get

Get information about a referral

Authorizations
Responses
200
OK
application/json
400
Bad Request
application/json
404
Not Found
application/json
500
Internal Server Error
application/json
default
application/json
get
GET //api/referral/{id} HTTP/1.1
Host: api.client.nbcgate.tech
Authorization: YOUR_API_KEY
Accept: */*
{
  "avatar": "text",
  "countryId": 1,
  "createdDate": "text",
  "id": 1,
  "nameOwner": "text",
  "ownerSubType": 1,
  "ownerType": 1,
  "referral_program_level_id": 1,
  "siteUrl": "text",
  "status": 1
}

Get information about all referrals

post

Get information about all referrals

Authorizations
Body
Responses
200
OK
application/json
400
Bad Request
application/json
404
Not Found
application/json
500
Internal Server Error
application/json
default
application/json
post
POST //api/referral HTTP/1.1
Host: api.client.nbcgate.tech
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 180

{
  "filters": {
    "amount": {
      "coin_id": 1,
      "currency_id": 1,
      "exclude": true,
      "max": 1,
      "min": 1,
      "token_id": 1
    },
    "owner_id": 1,
    "product": {
      "exclude": true,
      "id": [
        1
      ]
    },
    "status": {
      "exclude": true,
      "id": [
        1
      ]
    }
  }
}
[
  {
    "avatar": "text",
    "country_id": 1,
    "created_date": "text",
    "id": 1,
    "owner_name": "text",
    "owner_sub_type": 1,
    "owner_type": 1,
    "products": {
      "ANY_ADDITIONAL_PROPERTY": {
        "currency_amount": {
          "ANY_ADDITIONAL_PROPERTY": 1
        },
        "default_amount": 1,
        "id": 1,
        "name": "text"
      }
    },
    "site_url": "text",
    "status": 1,
    "today_amount": 1,
    "total_amount": 1
  }
]