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
}

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