Skip to main content
POST
/
incorporate
/
start-payment
Create incorporation payment
curl --request POST \
  --url https://public-api-v2.bags.fm/api/v1/incorporate/start-payment \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "payerWallet": "<string>",
  "payWithSol": true
}
'
{
  "success": true,
  "response": {
    "orderUUID": "<string>",
    "recipientWallet": "<string>",
    "priceUSDC": "<string>",
    "transaction": "<string>",
    "lastValidBlockHeight": 123
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.bags.fm/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

x-api-key
string
header
required

API key authentication. Provide your API key as the header value.

Body

application/json
payerWallet
string
required

Wallet public key that will pay the incorporation fee

payWithSol
boolean

Pay with SOL instead of USDC (defaults to false)

Response

Successfully created incorporation payment transaction

success
boolean
required
Example:

true

response
object