Developers: When using the /new_affiliate.php API we have now added in a JSON 200/success code which will also output the new affiliate ID that was created by the API. So you now have confirmation the account was create as well as the new ID of the account.

iDevAffiliate API JSON output