The Square Connect API lets developers process payments online & in-person as well as accessing different information in Square merchant accounts.
Square offers Rest APIs for accessing merchant account data (with their permission of course!) as well as e-commerce. You can also integrate with Square's hardware in your mobile devices with the Point of Sale API for Android, iOS and the web.
Learn more about Square's offerings for developers at Square.com/developers