Error
A valid request URL is required to generate request examples{
"ok": true,
"unsignedTxXdr": "<string>",
"nothingToDo": true
}{
"error": "build_failed"
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}Onboarding
Build onboarding transaction
Build the sponsor-funded onboarding transaction for a classic G-address: creates the account if needed and establishes the USDC trustline. The facilitator returns the unsigned transaction XDR for the user to sign and submit via POST /stellar/onboard/submit.
If the account is already fully onboarded, nothingToDo: true is returned and no XDR needs to be signed.
POST
/
stellar
/
onboard
/
build
Error
A valid request URL is required to generate request examples{
"ok": true,
"unsignedTxXdr": "<string>",
"nothingToDo": true
}{
"error": "build_failed"
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}Authorizations
Body
application/json
Response
Onboarding transaction built or account already onboarded.
Response from POST /stellar/onboard/build.

