Understanding the Merchant Portal: API docs