Neucron Infrastructure
  1. Invoice
Neucron Infrastructure
  • Neucron
    • Admin
      • Only admin can perform this action
    • App
      • Create App
      • Delete App
      • Get App
      • Get App List
      • Update App
    • Assetyzer
      • Get AllAsset of current user
      • Update Certificate
      • Register Certificate
      • Get Certificate Details
      • Mint Certificate
      • Deleting Asset
      • Deploy Asset
      • Get Asset Details
      • Data Integrity
      • Issue Asset
      • Get AssetLedger Details
      • Get AllAssetLedgers of current user
      • Merge Asset
      • Mint Asset
      • Redeem Asset
      • Register Asset
      • Updating Security Token
      • Register Security Token
      • Get Asset stats
      • Sync MNEE token
      • Data Integrity For Text
      • Transfer Asset
      • Updating Asset
      • Get All Utility Token
    • Assetyzer Business
      • Get Assetyzer Business Profile
      • Create Assetyzer Business profile for neucron user
      • Update Bank Details
      • Get All Assetyzer Business Profiles
      • Update Assetyzer Business Profile
    • Auth
      • Verify Aadhar
      • Email Exists
      • Send Verify Email
      • Verify Email
      • Login
      • Verify OTP
      • Verify PAN
      • Forgot Password
      • Phone Exists
      • Login with phone
      • SignUp with phone
      • Signup
      • Verify UPI
      • User Info
      • Update Password
      • Update User
    • Invoice
      • Approve Invoice
        POST
      • Decline Invoice
        POST
      • Get all invoice history of current user
        GET
      • Get list of invoices created by current user
        GET
      • Get all pending invoices of current user
        GET
      • Raise Invoice to any user
        POST
      • Revoke Invoice
        POST
    • Notification
      • Old Notifications
      • Notification Settings
      • Update Notification Settings
    • Pay
      • Send BSV to paymail, address
    • Team
      • Accept Team Invite
      • Get Invite List
      • Create Invites
      • Get Pending Invites
      • Get Team List
      • Get Team Members List
      • Update Team Member Role
      • Remove Team Member
    • Templates
      • Create Templates
      • Get Templates
    • Wallet
      • Create address
      • Get Wallet Addresses
      • Get balance
      • Create Wallet
      • Update Default Wallet
      • History
      • Get Wallet
      • Get mnemonic
      • Delete Paymail
      • Create Paymail
      • Update Wallet Default Paymail
      • Paymail List
      • Get Xpub key
  1. Invoice

Raise Invoice to any user

POST
/v1/invoice/raise
Invoice
Last modified:2025-05-08 10:58:16
Raise Invoice to any user

Request

Header Params
X-Neucron-App-ID
string 
optional
app ID
X-Neucron-Key-ID
string 
optional
key ID
X-Neucron-Key-Secret
string 
optional
key secret
X-Neucron-TeamID
string 
optional
team ID
Body Params application/json
bsv_asset
object (invoicemodel.BSVAsset) 
optional
amount
integer 
optional
expires_in
integer 
optional
failure_url
string 
optional
long_description
string 
optional
memo
string 
optional
payer_address
string 
optional
receiver_address
string 
optional
security_token
object (invoicemodel.SecurityTokenAsset) 
optional
amount
integer 
optional
asset_id
string 
optional
short_description
string 
optional
success_url
string 
optional
title
string 
optional
type
enum<string> 
optional
Allowed values:
bsvsecurity_token
wallet_id
string 
optional
Example
{
  "bsv_asset": {
    "amount": 0
  },
  "expires_in": 0,
  "failure_url": "string",
  "long_description": "string",
  "memo": "string",
  "payer_address": "string",
  "receiver_address": "string",
  "security_token": {
    "amount": 0,
    "asset_id": "string"
  },
  "short_description": "string",
  "success_url": "string",
  "title": "string",
  "type": "bsv",
  "wallet_id": "string"
}

Request 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 '/v1/invoice/raise' \
--header 'Content-Type: application/json' \
--data-raw '{
    "bsv_asset": {
        "amount": 0
    },
    "expires_in": 0,
    "failure_url": "string",
    "long_description": "string",
    "memo": "string",
    "payer_address": "string",
    "receiver_address": "string",
    "security_token": {
        "amount": 0,
        "asset_id": "string"
    },
    "short_description": "string",
    "success_url": "string",
    "title": "string",
    "type": "bsv",
    "wallet_id": "string"
}'

Responses

🟢200OK
application/json
OK
Body
Additional properties
integer  | number  | string  | boolean 
optional
Example
{}
🟠400Bad Request
🟠404Record Not Found
🔴500Server Error
Modified at 2025-05-08 10:58:16
Previous
Get all pending invoices of current user
Next
Revoke Invoice
Built with