IS_SANDBOX_SERVER). Calling it against a live server fails with a 500 APPLICATION_ERROR.type: user, status: active (no email verification or welcome email is sent), and is linked back to the caller's live identity via external_reference, which must be unique — attempting to register the same external_reference twice fails with 409 DUPLICATE_RECORD. The generated master API key is always minted in the test environment with wildcard (*) ACL access, and its plaintext secret_key is returned in the response body because sandbox keys have no access to real funds or data.curl --location '/sandbox-registrations' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Acme Corp (Sandbox)",
"sandbox_email": "01hqzr9f3k2m7xcjqd5t8yabcd@sandbox.flutterwave.com",
"external_reference": "01hqzr2bkpfq8mxjvt3g7lwne"
}'{
"message": "Sandbox registration created successfully",
"status": "success",
"data": {
"identity_id": "01JBTX3F7K2Q8N5R1M9YV4H6WD",
"sandbox_email": "01hqzr9f3k2m7xcjqd5t8yabcd@sandbox.flutterwave.com",
"public_key": "pk_test_8f2a1c7d9e4b4f6a8c1d2e3f4a5b6c7d",
"secret_key": "sk_test_3a4b5c6d7e8f9012345678901234abcd5e6f7a8b9c0d1e2f3a4b5c6d7e8f9012"
}
}