Validate payment IDs before calling API. Improved consistency in exception messages.